# Core Objects

* **Run** - A single execution. Identified by `runId` (UUID). See lifecycle below. Response shape: `RunDto`.
* **Intent** - Declarative outcome. Keep it user-facing and testable (what, not how).
* **Integrations** - Tools the agent may call. Use tenant-scoped `customerIntegrationId`s when creating runs. `integrationId` is the global key.
* **Context** - Hidden execution parameters: timezone, filters, IDs, safety limits, feature flags. Do not expose to end users.
* **UserID** - Identity whose tokens/permissions apply (act-as-user). Treat as sensitive. Revoke tokens at the integration.
* **Approval Strategy** - `NONE`, `ON_START`, or `ON_TOOL_CALL` for human-in-the-loop control.
* **Plan** - Either `text` or `JSON`, included in `CreateRunResponse`. May be displayed for `ON_START` approvals.
* **Events (SSE)** - Real-time stream for status, step start/complete, approvals, errors, and final result.
* **Result** - Structured object (if produced) included in `RunDto.result`.
* **Feedback** - Thumbs-up/down and comments attached to a run for evaluation loops.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toolregistry.ai/basics/core-objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
