Skip to main content
POST
/
orgs
/
{org_id}
/
projects
/
{project_id}
/
envs
/
{env}
/
workforce
/
{workforce}
/
codegen
cURL
curl --request POST \
  --url https://api.timbal.ai/orgs/{org_id}/projects/{project_id}/envs/{env}/workforce/{workforce}/codegen \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "<string>",
  "args": {}
}
'

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required

Organization identifier

project_id
string
required

Project identifier

env
string
required

Environment id or branch name

workforce
string
required

Workforce identifier (id, uid, or name)

Body

application/json
command
string
required
args
object

Response

Codegen command output