HTTP and realtime API
Send your token as a bearer credential over HTTPS. The OpenAPI schema describes the wire contract. Your beta permissions determine which operations you can use. See the sessions and account operations below. The WebSocket event schema defines stream messages.
Resources
Section titled “Resources”List robot types. Paste a read-scoped token for the public API at the prompt:
bash -c 'read -r -s -p "API token: " api_token || exit 1 &&printf "\n" >&2 &&[[ -n $api_token ]] &&printf "Authorization: Bearer %s\n" "$api_token" | curl -fsS -H @- "https://api.baseline-robotics.com/v1/robot-types"'The OpenAPI document lists fields, ownership and scopes. Use GET /v1/robot-types and GET /v1/tasks to list station types and tasks. Start sessions with POST /v1/sessions and control scope. Read session history, reports and ZIP downloads with read. Ordinary request bodies default to a 64 KiB limit.
Built-in task status
Section titled “Built-in task status”A task can be ready, in use, locked, unavailable, or outside your tier. A task outside your tier cannot be quoted or started. SDK session access is separate. A one-session pilot request must omit the environment and supply the assigned request_id.
Requests and errors
Section titled “Requests and errors”Collection pages
Section titled “Collection pages”For collections, pass next_cursor with the same filters until the response returns a null cursor. A cursor from a different collection, owner or filter returns 422 invalid_cursor.
Creating an activity once
Section titled “Creating an activity once”To recover a lost POST /v1/sessions response, repeat the same body and body request_id under the same owner. The response gives the session’s current state. X-BSLN-Request-Replayed: true means the session already existed. Reusing a key with a changed body returns 409 idempotency_conflict. The error body’s request_id identifies an HTTP exchange for diagnostics.
Errors
Section titled “Errors”Read the HTTP status and response detail for the failure. Keep the diagnostic request_id when asking for support.
See session lifecycle and realtime streams and read-only MCP setup.