Skip to main content
POST
/
sdk
/
v1
/
runs
/
{runID}
/
checkpoint
Save a checkpoint
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.

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

runID
string
required

Body

application/json
state
any
required
source
string

Response

OK

created_at
string<date-time>
required
id
string
required
run_id
string
required
sequence
integer<int64>
required
source
string
required
state
any
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/RunCheckpoint.json"