Skip to main content
GET
/
contexts
List workspace contexts
curl --request GET \
  --url https://api.exec.com/rest/v1/contexts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "a1b2c3d4e5f6",
      "title": "Company Brief",
      "created_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": "f6e5d4c3b2a1",
      "title": "Sales Methodology",
      "created_at": "2024-01-10T09:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 50,
    "total_count": 2,
    "total_pages": 1
  }
}

Authorizations

Authorization
string
header
required

API key created in Settings > API.

Format: exec_live_ followed by 40 alphanumeric characters.

Query Parameters

page
integer
default:1

Page number (1-indexed)

Required range: x >= 1
page_size
integer
default:50

Number of results per page (max 100)

Required range: 1 <= x <= 100

Response

List of contexts

data
object[]
pagination
object