> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Palantir Foundry

> Resources, examples, configuration and evidence for Palantir Foundry.

Use the `@bijectionhq/connectors/foundry` entrypoint to declare Palantir Foundry resources.

## Availability

This page describes the pinned source package. Published availability is unestablished for this artifact. [Source build and package availability](https://docs.bijection.com/client/sdk-distribution.md).

## Resources and modes

| Resource | Mode | Description |
| - | - | - |
| Ontology objects | `actions` | Object listing with single-attempt Apply Action commands |

Declare a resource in application code, then bind deployment-specific settings and credentials. See [typed resources](https://docs.bijection.com/integrations/resources.md), [connections](https://docs.bijection.com/integrations/connections.md) and [source inspection](https://docs.bijection.com/integrations/cli.md).

## Ontology objects

### actions: Object listing with single-attempt Apply Action commands

The following example matches configuration `standard`.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { foundry } from "@bijectionhq/connectors/foundry";
import { makeFunctionReference } from "bijection/server";
import { v } from "bijection/values";

export const orders = foundry.objects.actions({
  objectType: "Order",
  primaryKey: "orderId",
  schema: { orderId: v.string(), status: v.union(v.string(), v.null()) },
  actions: {
    closeOrder: {
      action: "close-order",
      parameters: { order: v.string() },
      governingRule: makeFunctionReference<"query", any, [null]>(
        "policies:applyAction",
      ),
    },
  },
});
```

> **Inferred record types**
>
> ```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> Resource without an operational record table
> ```

The function references identify application policy queries. Implement those policies in your application; the references alone grant no authority.

#### Configuration: standard

Case: `foundry/objects/actions/standard`.

Connection and resource configuration are declared by this exact case.

Credential kind: `foundry`. Keep credential material in the private credential inventory.

| Setting | Type | Required | Owner |
| - | - | - | - |
| `baseUrl` | string | Yes | Shared connection |
| `ontology` | string | Yes | Shared connection |

> **Complete configuration contract**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "setup": [],
>   "resource": {
>     "access": {},
>     "defaults": {},
>     "connector": "foundry",
>     "collections": [
>       "objects"
>     ],
>     "credential_kind": "foundry",
>     "connection_fields": [
>       "baseUrl",
>       "ontology"
>     ],
>     "address": {
>       "kind": "setup",
>       "field": "baseUrl"
>     }
>   },
>   "connection_setup": {
>     "type": "object",
>     "value": {
>       "baseUrl": {
>         "fieldType": {
>           "type": "string"
>         },
>         "optional": false
>       },
>       "ontology": {
>         "fieldType": {
>           "type": "string"
>         },
>         "optional": false
>       }
>     }
>   },
>   "execution": null
> }
> ```

Native admission analysis is available for this exact declaration.

**Collection: objects**

| Contract | Meaning |
| - | - |
| Initial | Enumeration of observed records |
| Changes | Repeated observations of current records |
| Deletions | Reconciliation |
| Resume | Opaque cursor |
| Gap | Explicit repair required after a gap |
| Retention | Unspecified |
| Coverage | Individual record evidence |
| Consistency | Independent observations |
| Atomicity | One record |
| History | Current record observations |
| Bound: http\_response\_bytes | 524288 |

> **Complete native profile**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "movement": {
>     "exchanges": {
>       "list": {
>         "200": {
>           "placement": "retained_bytes",
>           "interpretation": "json",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "429": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         }
>       },
>       "object": {
>         "200": {
>           "placement": "retained_bytes",
>           "interpretation": "json",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "404": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "429": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         }
>       }
>     },
>     "nativeInputLimitBytes": null,
>     "steps": [
>       {
>         "id": "acquire.1",
>         "inputs": [],
>         "action": {
>           "operation": "acquire",
>           "subject": "exchange list",
>           "limitBytes": null
>         }
>       },
>       {
>         "id": "acquire.2",
>         "inputs": [],
>         "action": {
>           "operation": "acquire",
>           "subject": "exchange object",
>           "limitBytes": null
>         }
>       },
>       {
>         "id": "retain.1",
>         "inputs": [
>           "acquire.1",
>           "acquire.2"
>         ],
>         "action": {
>           "operation": "retain",
>           "subject": "acquisition evidence",
>           "reason": "recovery",
>           "release": "acquisition_custody"
>         }
>       },
>       {
>         "id": "interpret.1",
>         "inputs": [
>           "retain.1"
>         ],
>         "action": {
>           "operation": "interpret",
>           "subject": "acquired input",
>           "produces": "records"
>         }
>       },
>       {
>         "id": "materialize.1",
>         "inputs": [
>           "interpret.1"
>         ],
>         "action": {
>           "operation": "materialize",
>           "subject": "source rows",
>           "reason": "serving",
>           "release": "replacement"
>         }
>       },
>       {
>         "id": "publish.1",
>         "inputs": [
>           "materialize.1"
>         ],
>         "action": {
>           "operation": "publish",
>           "subject": "source rows",
>           "visibility": "with_acquisition"
>         }
>       }
>     ]
>   },
>   "initial": "enumeration",
>   "changes": "observations",
>   "deletions": "reconciliation",
>   "resume": "opaque_cursor",
>   "retentionMs": null,
>   "gap": "explicit_repair",
>   "limits": {
>     "http_response_bytes": "524288"
>   },
>   "restrictions": [],
>   "commands": {
>     "closeOrder": {
>       "target": "objects",
>       "delivery": "single_attempt",
>       "condition": "unconditional",
>       "replayWindowMs": null,
>       "maxDeliveryHours": "1",
>       "providerEnforcedExpiry": false
>     }
>   }
> }
> ```

**Commands**

| Command | Target | Condition | Delivery |
| - | - | - | - |
| `closeOrder` | objects | Unconditional | Single dispatch attempt |

> **Commands, occurrences and artifacts**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "records": {
>     "objects": {
>       "protocol": "record_observation",
>       "coverage": "records",
>       "consistency": "observations",
>       "atomicity": "record",
>       "history": "observations",
>       "snapshotMaxRows": null
>     }
>   },
>   "commands": {
>     "closeOrder": {
>       "args": {
>         "type": "object",
>         "value": {
>           "order": {
>             "fieldType": {
>               "type": "string"
>             },
>             "optional": false
>           }
>         }
>       },
>       "result": null,
>       "target": "objects",
>       "condition": {
>         "kind": "unconditional"
>       },
>       "delivery": {
>         "kind": "single_attempt",
>         "retention": {
>           "kind": "unknown"
>         },
>         "max_delivery_hours": 1
>       }
>     }
>   },
>   "occurrences": null,
>   "artifacts": {
>     "raw_archive": false,
>     "files": {}
>   }
> }
> ```

**Recorded checks**

| Requirement | Scope | Evidence | Result |
| - | - | - | - |
| page-publication-recovery | \{"kind":"collection","name":"objects"} | Native test: integrations/acquisition/acquisition\_windows\_preserve\_sequences\_and\_restart\_fences\_old\_work (shared\_engine) | Execution result unavailable |
| stated-cursor-empty-page-advances | \{"kind":"collection","name":"objects"} | No check exercises this packaged Palantir Foundry declaration against Palantir Foundry; it has not run or been qualified. | Execution result unavailable |
| stated-cursor-repeat-refused | \{"kind":"collection","name":"objects"} | No check exercises this packaged Palantir Foundry declaration against Palantir Foundry; it has not run or been qualified. | Execution result unavailable |
| command-response-lost | \{"kind":"command","name":"closeOrder"} | Native test: integrations/listeners/calendar\_repair\_preserves\_accepted\_responsibility (shared\_engine) | Execution result unavailable |
| identity-account | \{"kind":"connection"} | Fixture: ./src/connectors/foundry/fixtures/identity.json | Execution result unavailable |

**Verification scope**

| Evidence | Outcome | Applicability |
| - | - | - |
| packageFixtures | Not run | No applicable receipt |
| nativeContracts | Not run | No applicable receipt |
| deployedProvider | Not run | No applicable receipt |
| distributedPackage | Not run | No applicable receipt |

Each evidence category has independent scope. A matching recorded pass applies only to its exact artifacts and configuration. Installed connections report their own identity, authority and current status.

#### Configuration: readOnly

Case: `foundry/objects/actions/readOnly`.

Connection and resource configuration are declared by this exact case.

Credential kind: `foundry`. Keep credential material in the private credential inventory.

| Setting | Type | Required | Owner |
| - | - | - | - |
| `baseUrl` | string | Yes | Shared connection |
| `ontology` | string | Yes | Shared connection |

> **Complete configuration contract**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "setup": [],
>   "resource": {
>     "access": {},
>     "defaults": {},
>     "connector": "foundry",
>     "collections": [
>       "objects"
>     ],
>     "credential_kind": "foundry",
>     "connection_fields": [
>       "baseUrl",
>       "ontology"
>     ],
>     "address": {
>       "kind": "setup",
>       "field": "baseUrl"
>     }
>   },
>   "connection_setup": {
>     "type": "object",
>     "value": {
>       "baseUrl": {
>         "fieldType": {
>           "type": "string"
>         },
>         "optional": false
>       },
>       "ontology": {
>         "fieldType": {
>           "type": "string"
>         },
>         "optional": false
>       }
>     }
>   },
>   "execution": null
> }
> ```

Native admission analysis is available for this exact declaration.

**Collection: objects**

| Contract | Meaning |
| - | - |
| Initial | Enumeration of observed records |
| Changes | Repeated observations of current records |
| Deletions | Reconciliation |
| Resume | Opaque cursor |
| Gap | Explicit repair required after a gap |
| Retention | Unspecified |
| Coverage | Individual record evidence |
| Consistency | Independent observations |
| Atomicity | One record |
| History | Current record observations |
| Bound: http\_response\_bytes | 524288 |

> **Complete native profile**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "movement": {
>     "exchanges": {
>       "list": {
>         "200": {
>           "placement": "retained_bytes",
>           "interpretation": "json",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "429": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         }
>       },
>       "object": {
>         "200": {
>           "placement": "retained_bytes",
>           "interpretation": "json",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "404": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         },
>         "429": {
>           "placement": "retained_bytes",
>           "interpretation": "opaque",
>           "projectsBeforeRetention": false,
>           "retainedBodyLimitBytes": "524288",
>           "fileLimitBytes": null
>         }
>       }
>     },
>     "nativeInputLimitBytes": null,
>     "steps": [
>       {
>         "id": "acquire.1",
>         "inputs": [],
>         "action": {
>           "operation": "acquire",
>           "subject": "exchange list",
>           "limitBytes": null
>         }
>       },
>       {
>         "id": "acquire.2",
>         "inputs": [],
>         "action": {
>           "operation": "acquire",
>           "subject": "exchange object",
>           "limitBytes": null
>         }
>       },
>       {
>         "id": "retain.1",
>         "inputs": [
>           "acquire.1",
>           "acquire.2"
>         ],
>         "action": {
>           "operation": "retain",
>           "subject": "acquisition evidence",
>           "reason": "recovery",
>           "release": "acquisition_custody"
>         }
>       },
>       {
>         "id": "interpret.1",
>         "inputs": [
>           "retain.1"
>         ],
>         "action": {
>           "operation": "interpret",
>           "subject": "acquired input",
>           "produces": "records"
>         }
>       },
>       {
>         "id": "materialize.1",
>         "inputs": [
>           "interpret.1"
>         ],
>         "action": {
>           "operation": "materialize",
>           "subject": "source rows",
>           "reason": "serving",
>           "release": "replacement"
>         }
>       },
>       {
>         "id": "publish.1",
>         "inputs": [
>           "materialize.1"
>         ],
>         "action": {
>           "operation": "publish",
>           "subject": "source rows",
>           "visibility": "with_acquisition"
>         }
>       }
>     ]
>   },
>   "initial": "enumeration",
>   "changes": "observations",
>   "deletions": "reconciliation",
>   "resume": "opaque_cursor",
>   "retentionMs": null,
>   "gap": "explicit_repair",
>   "limits": {
>     "http_response_bytes": "524288"
>   },
>   "restrictions": [],
>   "commands": {}
> }
> ```

> **Commands, occurrences and artifacts**
>
> ```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> {
>   "records": {
>     "objects": {
>       "protocol": "record_observation",
>       "coverage": "records",
>       "consistency": "observations",
>       "atomicity": "record",
>       "history": "observations",
>       "snapshotMaxRows": null
>     }
>   },
>   "commands": {},
>   "occurrences": null,
>   "artifacts": {
>     "raw_archive": false,
>     "files": {}
>   }
> }
> ```

**Recorded checks**

| Requirement | Scope | Evidence | Result |
| - | - | - | - |
| page-publication-recovery | \{"kind":"collection","name":"objects"} | Native test: integrations/acquisition/acquisition\_windows\_preserve\_sequences\_and\_restart\_fences\_old\_work (shared\_engine) | Execution result unavailable |
| stated-cursor-empty-page-advances | \{"kind":"collection","name":"objects"} | No check exercises this packaged Palantir Foundry declaration against Palantir Foundry; it has not run or been qualified. | Execution result unavailable |
| stated-cursor-repeat-refused | \{"kind":"collection","name":"objects"} | No check exercises this packaged Palantir Foundry declaration against Palantir Foundry; it has not run or been qualified. | Execution result unavailable |
| identity-account | \{"kind":"connection"} | Fixture: ./src/connectors/foundry/fixtures/identity.json | Execution result unavailable |

**Verification scope**

| Evidence | Outcome | Applicability |
| - | - | - |
| packageFixtures | Not run | No applicable receipt |
| nativeContracts | Not run | No applicable receipt |
| deployedProvider | Not run | No applicable receipt |
| distributedPackage | Not run | No applicable receipt |

Each evidence category has independent scope. A matching recorded pass applies only to its exact artifacts and configuration. Installed connections report their own identity, authority and current status.

## Provider guidance

Compiled declaration examples and configuration details are published in the [connector reference](https://docs.bijection.com/integrations/connectors/index).

The connection reads the enrollment's own origin (`baseUrl`) with a `foundry`
bearer credential: a user or service token, or one minted from OAuth2 client
credentials with `api:ontologies-read api:ontologies-write`. A binding names one
ontology (`ontology`, its API name or RID); the ontology's RID is the
connection's identity.

`objects.actions` reads one object type. The listing pages by `nextPageToken`
and claims no coverage; a point read's 404 withdraws an object. Each declared
action is a collection command that posts `apply` once with
`VALIDATE_AND_EXECUTE`. HTTP 200 means only that Foundry processed the request:
`validation.result` VALID confirms the command and INVALID rejects it. Named
refusals that Foundry raises before applying edits reject it; `ApplyActionFailed`,
a timed-out Function, throttling and server errors stay unknown.

Foundry has no idempotency key and no lookup by request. The action's own
`operationId`, which edits history could search, arrives only in the response.
So a lost or undecided answer is never resent, and reconciliation stays
unknown.

Bulk dataset, view, object, link and media-set imports run on customer compute
through the `bijection-foundry` worker job, not this connector.

Nothing here has run against Foundry or been qualified.

## Provider references

Provider references and prerequisites are maintained in the connector guidance above. No separate provider-documentation review date is recorded.

## Source and evidence

[Canonical connector source](https://github.com/bijectionhq/component-support/blob/3394cc1d6ea626f20512bd4eeb6d51dd56fd138b/packages/connectors/src/connectors/foundry/README.md), [native analysis](https://github.com/bijectionhq/component-support/blob/3394cc1d6ea626f20512bd4eeb6d51dd56fd138b/packages/connectors/contract-analysis.json) and [check receipts](https://github.com/bijectionhq/component-support/blob/3394cc1d6ea626f20512bd4eeb6d51dd56fd138b/packages/connectors/evidence.json).

Connector artifact: `67ee90ebf694b6d250995a5825db38a270a591bd08c7e6412f688ce984239514`.

The resource declaration examples above are compiled and compared with exact catalog declarations. Recorded checks apply only to their source, declaration and runtime identities. Configure a connection and inspect its status to establish deployment-specific readiness.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.