Skip to main content

List the Forge functions.

GET/api/v1/forge-functionsforge:read

The company's Forge functions in forge_function_id order, each with its routes, config keys, document context, output schema and last-30-days activity. Archived functions are listed only with include_archived=true.

Scopeforge:read (sensitive)
AsynchronousNo
MCP toollist_forge_functions
Portal permissionsview_forge_functions
Pagingkeyset
Default orderforge_function_id
Sort fieldsforge_function_id
Filtersinclude_archived

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
include_archivedqueryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of ForgeFunctionRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ForgeConfigKey​

FieldTypeRequiredDescription
defaultstring or nullRequired
descriptionstring or nullRequired
is_requiredbooleanRequired
is_secretbooleanRequiredA secret key holds a keystore secret's name, never a value.
keystringRequired

ForgeFunction​

FieldTypeRequiredDescription
active_version_numberinteger or nullRequiredThe number of the version that runs.
archivedbooleanRequired
artifacts_enabledbooleanRequired
config_keysarray of ForgeConfigKeyRequiredThe settings a workflow step using the function asks for.
created_atstring (date-time) or nullRequired
default_modestringRequired
descriptionstring or nullRequired
display_namestringRequired
document_contextarray of stringRequiredThe optional document blocks the active version asked for (tags, folders, locations, review, collected_files).
entrypointarray of stringRequiredContainer packaging: the command the shim runs inside the image.
env_configobjectRequiredThe function's environment variables, as an opaque forge_env_config document (format_version 1).
forge_function_idstringRequired
forge_function_version_idstring or nullRequiredThe version that runs; null when none is active.
handlerstring or nullRequiredZip packaging: the code's entry point.
invocations_30_daysintegerRequiredRuns dispatched in the last 30 days. ≥ -2147483648; ≤ 2147483647
last_invoked_atstring (date-time) or nullRequired
latest_version_statusstring or nullRequiredThe provisioning state of the newest version, so a list shows one that is still deploying.
max_artifactsintegerRequired≥ -2147483648; ≤ 2147483647
memory_mbintegerRequired≥ -2147483648; ≤ 2147483647
namestringRequired
output_schemaobject or nullRequiredThe JSON Schema of the function's output (format forge_output_schema); null when it declares none.
packagingstringRequired
registry_repository_uristring or nullRequiredContainer packaging: where the image is pushed; null until the Portal made the repository.
routesarray of ForgeRouteRequiredThe handles a workflow edge leaves the function's step by.
runtimestringRequired
timeout_secondsintegerRequired≥ -2147483648; ≤ 2147483647

ForgeRoute​

FieldTypeRequiredDescription
descriptionstring or nullRequired
handlestringRequired
labelstringRequired