Get the policy a sandbox runs under
Get the policy a sandbox runs under
GET/v1/bindings/{sandbox_id}
A key with the permissions:read scope.
Request
curl "https://api.pod.mapier.ai/v1/bindings/example?project=example" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
sandbox_id | path | string | Yes | |
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
Answer
200. The binding.
{
"sandbox": "example",
"policy": null,
"sandbox_rules": "example",
"version": 1,
"table_hash": null,
"applied_version": null,
"parent": null,
"bound_at": "2026-11-23T12:00:00.000Z",
"updated_at": "2026-11-23T12:00:00.000Z",
"updated_by": "example",
"person": null,
"groups": [
{
"group_policy": "example",
"group": "example",
"group_name": "example",
"policy": "example"
}
],
"matter": null,
"cleared": null
}| Field | Type | Always | What it is |
|---|---|---|---|
sandbox | string | Yes | |
policy | string | null | Yes | The policy; null for the project's default, for a sandbox with no policy. |
sandbox_rules | string | Yes | The sandbox layer's rules, empty when there are none. |
version | integer | Yes | The binding's version. Only goes up. At least 1. |
table_hash | string | null | Yes | The hash of the compiled table the sandbox should run; null until compiled. |
applied_version | integer | null | Yes | The binding version the sandbox's server reports applied; null until it reports one. |
parent | string | null | Yes | The sandbox it was made from, for a child; null otherwise. |
bound_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
updated_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
updated_by | string | Yes | Who made a change. An identity account id for a person, or a key id (key_…) for an API key. |
person | string | null | No | The identity account the sandbox acts for: the person who made it, or a child's parent's person. Null for a sandbox made with a key. |
groups | AppliedGroup[] | No | The group bindings that add their policy's rules to this sandbox's table now: the person's groups, as the directory holds them, that the project binds to a policy. |
matter | string | null | No | The client matter the sandbox was opened for; null for none. Set once. |
cleared | boolean | null | No | For a sandbox on a matter, whether its person is cleared for the matter now; while false its table allows nothing. Null for a sandbox on no matter. |
Errors
The refusals this call is known for: unauthorized, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.