cURL
curl --request POST \ --url https://sandbox.deck.co/api/v1/jobs \ --header 'Content-Type: application/json' \ --header 'x-deck-client-id: <api-key>' \ --header 'x-deck-secret: <api-key>' \ --data ' { "name": "<string>", "code": "<string>", "input_schema": "<unknown>", "output_schema": "<unknown>", "prompts": null } '
{ "name": "<string>", "job_code": "<string>", "input_schema": "<unknown>", "output_schema": "<unknown>", "prompts": null, "created_at": 123, "updated_at": 123 }
Create a new job from the Deck API. Jobs can also be created in the Dashboard.
Enter your client id
Enter your secret
Job definition details including schemas
Job definition created successfully
Was this page helpful?