Create an action definition

View as Markdown

Creates a draft custom action definition (extract, generate, or fill). The slug is immutable and may not shadow a builtin or an existing custom action.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Request

This endpoint expects an object.
objectRequired
OR
objectRequired
OR
objectRequired

Response

The created definition.
definitionmap from strings to any
An arbitrary JSON object.

Errors

400
Bad Request Error
401
Unauthorized Error