Saves a checkpoint so the run can resume from this point on retry.
curl --request POST \
--url https://api.strait.dev/sdk/v1/runs/{runID}/checkpoint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state": "<unknown>",
"source": "<string>"
}
'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"run_id": "<string>",
"sequence": 123,
"source": "<string>",
"state": "<unknown>",
"$schema": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key passed as Bearer token
curl --request POST \
--url https://api.strait.dev/sdk/v1/runs/{runID}/checkpoint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state": "<unknown>",
"source": "<string>"
}
'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"run_id": "<string>",
"sequence": 123,
"source": "<string>",
"state": "<unknown>",
"$schema": "<string>"
}