Skip to main content
POST
Query records
The Clearskies API is in beta and available on request. To turn it on for your workspace, email support@clearskies.cc.

Authorizations

Authorization
string
header
required

An API key created under Context Graph → API keys in the app sidebar, sent as Authorization: Bearer csk_…. The key is checked on every request, so a revoked key fails on its next call.

Path Parameters

object
enum<string>
required

The object type. An unknown name is a 400, and the message lists the valid ones.

Available options:
account,
call,
contact,
deal

Body

application/json

Every member is optional, and a member sent as null counts as omitted. An empty body returns the first page of every record.

filters
object[] | null
Maximum array length: 100
sort
object[] | null

Applied in order. Without it, records come in a fixed default order.

Maximum array length: 100
fields
string[] | null

The fields each record carries. Without it, records carry the object's default fields.

Maximum array length: 100
pageSize
integer | null
default:25

Records per page. 0 means the default.

Required range: 0 <= x <= 100
cursor
string | null

The previous page's pagination.nextCursor. Omit it for the first page.

includeTotalCount
boolean | null
default:false

Count every matching record. Only the first page carries the count.

Response

One page of records.

ok
boolean
required
data
object
required
requestId
string
required

Identifies this call. Quote it when you contact support.

traceId
string

Present on a traced request.