Skip to content

API reference

Get record

records.GetRecordReadMember delegation

Read one record by ID, whatever its type. The response names the record's type and returns the same fields as the type's own read operation. Missing, deleted and inaccessible records all return not_found.

POST/v1/operations/records.GetRecord
On this page

Access & visibility

Allow records.GetRecord on your API key.

Acting member required. Send Brigg-Act-As with an approved member account ID. The key supplies permissions; the member selects whose data is used.

The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply.

Set up authentication · Choose permissions

Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.

idstringRequired

The record's id.

At least 1 character.

Response

Returns 200 OK with a JSON body.

typestringRequired

The qualified type the record belongs to, e.g. core:Company.

itemobjectRequired

The requested record, including its metadata and data fields.

Nested fields
idstringRequired

The record's stable ID.

created_atnumberRequired

Time the record was created, in Unix milliseconds.

updated_atnumberRequired

Time the record most recently changed, in Unix milliseconds.

created_bystring or nullRequired

Account that created the record, or null.

privatebooleanRequired

True when only the record's owner can see it.

datamap of JSON valuesRequired

The record's fields: exactly those the type's own read operation returns, under the same names.

Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. Supply Brigg-Act-As with a member authorized by the key’s delegation grant. The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply.
404 not_found The record does not exist, was deleted, or is not readable with this credential and acting member. A known ID does not grant access.
429 rate_limited Wait for Retry-After before retrying.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The record's id."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "id": "e_company_example"
    }
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The qualified type the record belongs to, e.g. `core:Company`."
    },
    "item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The record's stable ID."
        },
        "created_at": {
          "type": "number",
          "description": "Time the record was created, in Unix milliseconds."
        },
        "updated_at": {
          "type": "number",
          "description": "Time the record most recently changed, in Unix milliseconds."
        },
        "created_by": {
          "type": [
            "string",
            "null"
          ],
          "description": "Account that created the record, or null."
        },
        "private": {
          "type": "boolean",
          "description": "True when only the record's owner can see it."
        },
        "data": {
          "type": "object",
          "additionalProperties": true,
          "description": "The record's fields: exactly those the type's own read operation returns, under the same names."
        }
      },
      "required": [
        "id",
        "created_at",
        "updated_at",
        "created_by",
        "private",
        "data"
      ],
      "additionalProperties": false,
      "description": "The requested record, including its metadata and data fields."
    }
  },
  "required": [
    "type",
    "item"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "type": "core:Company",
      "item": {
        "id": "e_company_example",
        "created_at": 1794301200000,
        "updated_at": 1794301200000,
        "created_by": null,
        "private": false,
        "data": {
          "name": "Example AS",
          "city": "Oslo"
        }
      }
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.