For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList products
      • POSTCreate product
      • POSTAssemble product from FPO
      • GETGet product details
      • PUTUpdate product
      • DELDelete product
      • POSTAdd capability to product
      • PUTUpdate capability
      • DELRemove capability
      • GETPreview cleanup resources
      • GETGet product configuration summary
      • GETList surfaces
      • POSTCreate surface
      • GETGet surface details
      • PUTUpdate surface
      • DELDelete surface
      • POSTAdd item to surface
      • PUTUpdate surface item
      • DELRemove surface item
      • POSTCreate surface API key
      • DELDelete surface API key
      • GETReveal development surface key
      • GETList schedules for surface
      • POSTCreate schedule for surface
      • GETGet schedule details
      • PUTUpdate schedule
      • DELDelete schedule
      • POSTPause schedule
      • POSTResume schedule
      • POSTRun schedule immediately
Dashboard
LogoLogo
Runtype APIProducts

Run schedule immediately

POST
/v1/products/:id/surfaces/:surfaceId/schedules/:scheduleId/run-now
POST
/v1/products/:id/surfaces/:surfaceId/schedules/:scheduleId/run-now
$curl -X POST https://api.runtype.com/v1/products/id/surfaces/surfaceId/schedules/scheduleId/run-now \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "batchExecutionId": "a3f47b9e-8c2d-4f1a-9b7e-2d5f3c6a1e4b",
3 "recordCount": 125,
4 "status": "queued"
5}
Trigger an immediate batch run of a schedule, resolving its records and submitting a batch.
Was this page helpful?
Previous

List generation sessions

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
surfaceIdstringRequired
scheduleIdstringRequired

Response

Schedule run queued
batchExecutionIdstring
recordCountinteger
statusstring

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error