Create a new script job
Script Jobs
Create a new script job
Create a new script job. Requests are scoped to the authenticated API key owner; cross-owner resource IDs return 404.
POST
Create a new script job
Authorizations
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
Body
application/json
Response
Script job created successfully
Long-form script generation job.
Job identifier.
Example:
"018f9f40-7d7b-7712-9b0f-2e5d9fd5df3f"
Example:
"pending"
Example:
"draft_generation"
Example:
0.91
Example:
"low"
Example:
1284
Example:
"2026-06-20T17:24:39.000Z"
Example:
"2026-06-20T17:24:39.000Z"
Example:
"2026-06-20T17:24:39.000Z"
Example:
"2026-06-20T17:24:39.000Z"
Example:
"Why creators need stories"
Example:
"pending"