Records
Read, look up, search and inspect canonical records and their history.
List record kinds and granted capabilities
Returns the connection's read and edit capabilities for each listed kind. Access to individual records also requires a record link.
Responses
200 Capabilities of the authenticated connection.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.kindsarray of objectrequired
curl -X GET "https://api.sendtopigeon.com/v1/kinds" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/kindsLook up a record by external ID
Looks up one readable record by namespace and external ID. First-party Pigeon sessions may use list=true to browse live library saves in descending updated_at and ID order. Each page uses current visibility. Edits can move saves to an earlier page. In list mode, fields adds a selected canonical record to each row under record.
Query parameters
| Name | Type | Description |
|---|---|---|
| ns | string | Required once for lookup. Colon-separated ASCII namespace segments. |
| external_id | string | Required once for lookup. External ID within the namespace, at most 2048 UTF-8 bytes with no NUL. |
| list | boolean | Use owner-only list mode. |
| kind | string | In list mode, filter by save kind. |
| limit | integer | List page size. |
| cursor | string | Use next_cursor from the previous list page with the same kind. |
| fields | string | Comma-separated, unique top-level record field names, without spaces. Identity, revision and deletion fields are always returned. Selecting body or state returns that entire value. |
Responses
200 A record for lookup, or a page of save rows for list mode.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.RecordDetailany of 2SaveListPageSaveListPageno extra fields
curl -X GET "https://api.sendtopigeon.com/v1/records" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/recordsRead a record
Returns the current authorized canonical record, including state. Malformed IDs, missing records, other accounts’ records, and records outside the caller’s read grant return not_found. Send results include only readable targets. Tombstones may be visible to the originating connection or Pigeon. A selected response is marked selected_fields and cannot serve as a full record for replacement.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Query parameters
| Name | Type | Description |
|---|---|---|
| fields | string | Comma-separated, unique top-level record field names, without spaces. Identity, revision and deletion fields are always returned. Selecting body or state returns that entire value. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.SelectedRecordSelectedRecordRecord[email protected]
curl -X GET "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11List record history
Returns canonical snapshots and committed revision metadata for a live readable record. Revisions are ascending. Advance after to the last revision processed.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Query parameters
| Name | Type | Description |
|---|---|---|
| after | integer | Exclusive revision number. |
| limit | integer | Maximum entries to return. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.[ item ]objectno extra fields
curl -X GET "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/history" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/historyRead the original extraction
Returns the current body and its adopted extraction for a linked record.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.mineanyrequiredbaselineobjectrequiredreviewobjectrequiredoriginalobjectrequired
curl -X GET "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/original" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/originalResolve an original review
Keep the user's version or adopt the candidate extraction using the current revision and candidate version.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Headers
| Name | Type | Description |
|---|---|---|
| Idempotency-Keyrequired | string | Persist with the request payload. Replay the same key with the same payload after a transport failure. |
Request body required
choicestringrequired"keep_mine" · "take_original"baseRevisionBaserequiredno extra fieldscandidate_versionintegerrequired≥ 1
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.curl -X POST "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/original/review" \
-H "Authorization: Bearer $PIGEON_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"choice": "keep_mine",
"base": {
"revision": 1,
"revision_op": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11"
},
"candidate_version": 1
}'{
"choice": "keep_mine",
"base": {
"revision": 1,
"revision_op": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11"
},
"candidate_version": 1
}POST https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/original/reviewSubmit a correction proposal
A connection with write access can submit a proposal against the adopted extraction. Submission leaves that extraction unchanged.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Request body required
opsarray of CorrectionIntentrequiredmin items 1max items 1000notestringmax length 4096default ""
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.idstring · uuidrequiredaccountstring · uuidrequiredrecordstring · uuidrequiredsourcestring · uuidrequiredartifactstring · uuidrequiredversionintegerrequired≥ 1opsarray of objectrequirednotestringrequiredstatusconst "open"requiredcreated_atstring · date-timerequired
curl -X POST "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/corrections" \
-H "Authorization: Bearer $PIGEON_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"ops": [
{
"op": "set",
"part": "string",
"field": "string"
}
]
}'{
"ops": [
{
"op": "set",
"part": "string",
"field": "string"
}
]
}POST https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/correctionsSearch readable records
Searches current records linked to the calling connection. All words must match. The last word also matches a prefix. Each page uses current permissions, and edits can move records between pages. When fields is supplied, each hit includes the selected canonical record under record.
Query parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | |
| kind | string | |
| limit | integer | |
| cursor | string | Use next_cursor from the previous page with the same query, kind and deep flag. |
| deep | boolean | Search retained source captions, transcripts and page text. Requires a first-party Pigeon session and Pro. |
| fields | string | Comma-separated, unique top-level record field names, without spaces. Identity, revision and deletion fields are always returned. Selecting body or state returns that entire value. |
Responses
200 A page of matching records. A null cursor indicates the final page.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.resultsarray of objectrequirednext_cursorstring | nullrequired
curl -X GET "https://api.sendtopigeon.com/v1/search" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/searchRead owner-only record metadata
Requires the built-in Pigeon owner and access to the record. A live event can have calendar_sync. Other records return an empty object.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.calendar_syncCalendarSyncno extra fields
curl -X GET "https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/owner-metadata" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/records/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/owner-metadata