Skip to main content
POST
/
contexts
/
list
List Contexts
curl --request POST \
  --url http://localhost:3773/contexts/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "contexts/list",
  "params": {
    "length": 10
  },
  "id": "550e8400-e29b-41d4-a716-446655440025"
}'
{
  "jsonrpc": "2.0",
  "id": "550e8400-e29b-41d4-a716-446655440025",
  "result": [
    {
      "context_id": "550e8400-e29b-41d4-a716-446655440038",
      "task_count": 1,
      "task_ids": [
        "550e8400-e29b-41d4-a716-446655440078"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required
Available options:
contexts/list
params
object
required
id
string
required

Response

200 - application/json
jsonrpc
enum<string>
required
Available options:
2.0
result
object
required
id
string
required