diff --git a/docs/blog/entries/agenta-is-now-a-workspace-for-building-agents.mdx b/docs/blog/entries/agenta-is-now-a-workspace-for-building-agents.mdx new file mode 100644 index 0000000000..1ac060b77e --- /dev/null +++ b/docs/blog/entries/agenta-is-now-a-workspace-for-building-agents.mdx @@ -0,0 +1,81 @@ +--- +title: "Agenta Is Now a Workspace for Building Agents" +slug: agenta-is-now-a-workspace-for-building-agents +date: 2026-07-21 +tags: [v0.105.7] +description: "Agenta is now a workspace for building and running agents: assistants made of instructions, tools, skills, permissions, and files that you can chat with or run in the background." +--- + + + + + +Agenta is now a workspace for building and running agents, not only a platform for managing prompts. You build an agent by chatting with it: describe the job, connect the apps it needs, and correct it through feedback until it works the way you want. + +An agent is made of instructions, tools, skills, permissions, and files. You can work with it in chat, or run it in the background on a schedule or when something happens in an app you connected. Agenta runs agents on Claude Code or Pi, records a version every time the configuration changes, and traces every run. + + + +{/* truncate */} + +Agenta started as a platform for managing and evaluating prompts. With this release, it becomes a workspace where you build agents: assistants that plan their own steps, call tools, and get work done, rather than answer a single prompt. + + + +## What an agent is made of + +An agent starts empty. You build it for a job by chatting with it, and the agent can write its own configuration as you talk. That configuration has five parts. + +**Instructions** describe the job: what the agent does, who it serves, and how it should report back. + +**Tools** are actions the agent can take in other systems, like creating a GitHub issue or sending a Slack message. Tools come from Agenta's built-in integrations, which cover mail, chat, calendars, documents, issue trackers, and CRMs, or from MCP servers you connect. + +**Skills** are short handbooks for tasks the agent does sometimes. The agent loads a skill only when the task calls for it, so it isn't carrying instructions for every possible task on every turn. + +**Permissions** decide which actions the agent takes on its own and which wait for your approval. You set a default for the agent, such as "read on its own, ask before writing," and you can override that default for individual tools. + +**Files** live in the agent's folder: the drafts it writes, the notes it keeps, and the reference material you give it. You and the agent share this folder, so you can write documents or maintain a wiki together. + +See [Agents](/concepts/agents) for the full picture. + +## Two ways to use an agent + +You can work with an agent in chat. You give it a task, it does the work, and you review the result together. + +You can also run an agent as an automation, with nobody in the chat. An automation starts on a schedule, such as every weekday morning, or when something happens in an app you connected, such as a new row in a sheet or a new issue. The agent does the work and leaves the result somewhere you'll see it. + +## Choose your harness + +A harness is the program that drives the model: it sends the conversation to the model, runs the tool calls the model asks for, and feeds the results back. Agenta ships two harnesses, Claude Code and Pi, and you can switch harness or model without rebuilding the agent. + +If you self-host Agenta, an agent can also run against a Claude or ChatGPT subscription you already pay for, instead of moving every task to metered API billing. + +## Versions and traces + +Every change to an agent's configuration is recorded as a version. You can read back what changed, when, and why, and compare versions to understand why an agent behaves differently than it did before. + +Agenta also traces every run. You can inspect every model and tool call, and track requests, token usage, and estimated cost for each agent. + +## Open source + +Agenta is open source under the MIT license. You can inspect the code, self-host it, and run it in commercial projects. + +## Getting started + +- [Agents](/concepts/agents) explains what an agent is made of. diff --git a/docs/blog/entries/annotate-your-llm-response-preview.mdx b/docs/blog/entries/annotate-your-llm-response-preview.mdx index 51359abc1f..4dc923e9b1 100644 --- a/docs/blog/entries/annotate-your-llm-response-preview.mdx +++ b/docs/blog/entries/annotate-your-llm-response-preview.mdx @@ -20,7 +20,7 @@ This is useful to: - Run custom evaluation workflows - Measure application performance in real-time -Check out the how to [annotate traces from API](/observability/trace-with-python-sdk/annotate-traces) for more details. Or try our new tutorial (available as [jupyter notebook](https://github.com/Agenta-AI/agenta/blob/main/examples/jupyter/capture_user_feedback.ipynb)) [here](/tutorials/cookbooks/capture-user-feedback). +Check out the how to [annotate traces from API](/1.0/observability/trace-with-python-sdk/annotate-traces) for more details. Or try our new tutorial (available as [jupyter notebook](https://github.com/Agenta-AI/agenta/blob/main/examples/jupyter/capture_user_feedback.ipynb)) [here](/1.0/tutorials/cookbooks/capture-user-feedback). @@ -93,4 +93,4 @@ To use custom output schemas with LLM-as-a-Judge: 4. For advanced use, provide your JSON schema 5. Run your evaluation -Learn more in the [LLM-as-a-Judge documentation](/evaluation/configure-evaluators/llm-as-a-judge). +Learn more in the [LLM-as-a-Judge documentation](/1.0/evaluation/configure-evaluators/llm-as-a-judge). diff --git a/docs/blog/entries/deployment-webhooks-and-github-automations.mdx b/docs/blog/entries/deployment-webhooks-and-github-automations.mdx index bacbe61131..00a2584951 100644 --- a/docs/blog/entries/deployment-webhooks-and-github-automations.mdx +++ b/docs/blog/entries/deployment-webhooks-and-github-automations.mdx @@ -12,7 +12,7 @@ You can now trigger automations when a prompt deployment happens in Agenta. Send This makes it easier to connect prompt deployments to CI, repository sync jobs, and pull request workflows. If your GitHub workflow needs the latest prompt content, fetch it from Agenta during the run and commit the result back to your repo. -Learn more: [Webhooks](/prompt-engineering/integrating-prompts/webhooks) | [GitHub Automations](/prompt-engineering/integrating-prompts/github) +Learn more: [Webhooks](/1.0/prompt-engineering/integrating-prompts/webhooks) | [GitHub Automations](/1.0/prompt-engineering/integrating-prompts/github) @@ -56,6 +56,6 @@ For GitHub automations, Agenta calls the GitHub API directly. `repository_dispat Start with these guides: -- [Webhooks](/prompt-engineering/integrating-prompts/webhooks) -- [GitHub](/prompt-engineering/integrating-prompts/github) -- [Fetch Prompts via SDK/API](/prompt-engineering/integrating-prompts/fetch-prompt-programatically) +- [Webhooks](/1.0/prompt-engineering/integrating-prompts/webhooks) +- [GitHub](/1.0/prompt-engineering/integrating-prompts/github) +- [Fetch Prompts via SDK/API](/1.0/prompt-engineering/integrating-prompts/fetch-prompt-programatically) diff --git a/docs/blog/entries/documentation-architecture-overhaul.mdx b/docs/blog/entries/documentation-architecture-overhaul.mdx index cd71fc5e65..28abec1d29 100644 --- a/docs/blog/entries/documentation-architecture-overhaul.mdx +++ b/docs/blog/entries/documentation-architecture-overhaul.mdx @@ -15,8 +15,8 @@ We've completely rewritten and restructured our documentation with a new archite Key improvements include: - **[Diataxis Framework](https://diataxis.fr/)**: Organized content into Tutorials, How-to Guides, Reference, and Explanation sections for better discoverability -- **[Expanded Observability Docs](/observability/overview)**: Added missing documentation for tracing, annotations, and observability features -- **[JavaScript/TypeScript Support](/observability/quick-start-opentelemetry)**: Added code examples and documentation for JavaScript developers alongside Python +- **[Expanded Observability Docs](/1.0/observability/overview)**: Added missing documentation for tracing, annotations, and observability features +- **[JavaScript/TypeScript Support](/1.0/observability/quick-start-opentelemetry)**: Added code examples and documentation for JavaScript developers alongside Python - **Ask AI Feature**: Ask questions directly to the documentation for instant answers @@ -33,10 +33,10 @@ We've reorganized all documentation using the [Diataxis framework](https://diata One of the biggest gaps in our previous documentation was observability. We've added comprehensive documentation covering: -- [Tracing with OpenTelemetry](/observability/trace-with-opentelemetry/getting-started) -- [Tracing LLM applications with JS/TS](/observability/quick-start-opentelemetry) -- [Using the Metrics API to fetch metrics](/observability/query-data/analytics-data) -- [Using the Query API to fetch traces](/observability/query-data/query-api) +- [Tracing with OpenTelemetry](/1.0/observability/trace-with-opentelemetry/getting-started) +- [Tracing LLM applications with JS/TS](/1.0/observability/quick-start-opentelemetry) +- [Using the Metrics API to fetch metrics](/1.0/observability/query-data/analytics-data) +- [Using the Query API to fetch traces](/1.0/observability/query-data/query-api) ### JavaScript/TypeScript Support diff --git a/docs/blog/entries/documentation-overhaul-new-models-and-platform-improvements.mdx b/docs/blog/entries/documentation-overhaul-new-models-and-platform-improvements.mdx index 4057172495..fdaa273973 100644 --- a/docs/blog/entries/documentation-overhaul-new-models-and-platform-improvements.mdx +++ b/docs/blog/entries/documentation-overhaul-new-models-and-platform-improvements.mdx @@ -13,7 +13,7 @@ We've made significant improvements across Agenta with a major documentation ove We've completely rewritten our prompt management and prompt engineering documentation. -Start exploring the new documentation in our updated [Quick Start Guide](/prompt-engineering/quick-start). +Start exploring the new documentation in our updated [Quick Start Guide](/1.0/prompt-engineering/quick-start). **New Model Support**: @@ -55,7 +55,7 @@ We've made significant improvements across Agenta with a major documentation ove We've completely rewritten our prompt management and prompt engineering documentation. -Start exploring the new documentation in our updated [Quick Start Guide](/prompt-engineering/quick-start). +Start exploring the new documentation in our updated [Quick Start Guide](/1.0/prompt-engineering/quick-start). **New Model Support**: diff --git a/docs/blog/entries/dspy-integration.mdx b/docs/blog/entries/dspy-integration.mdx index 55e3abdf00..3ee2cbb46e 100644 --- a/docs/blog/entries/dspy-integration.mdx +++ b/docs/blog/entries/dspy-integration.mdx @@ -37,4 +37,4 @@ We've added DSPy integration to Agenta. You can now trace and debug your DSPy ap loading="lazy" /> -[**View the full DSPy integration →**](/integrations/frameworks/dspy/observability) +[**View the full DSPy integration →**](/1.0/integrations/frameworks/dspy/observability) diff --git a/docs/blog/entries/evaluation-sdk.mdx b/docs/blog/entries/evaluation-sdk.mdx index 63c6b815c9..352e7eb6d6 100644 --- a/docs/blog/entries/evaluation-sdk.mdx +++ b/docs/blog/entries/evaluation-sdk.mdx @@ -24,7 +24,7 @@ You can now run programmatic evaluations of complex AI agents and workflows dire The SDK lets you create test sets in code or fetch them from Agenta. You can use built-in evaluators like LLM-as-a-Judge, semantic similarity, or regex matching. You can also write custom Python evaluators. The SDK evaluates end-to-end workflows or specific spans in execution traces. Evaluations run on your own infrastructure; results display in the Agenta dashboard. -Check out the [Evaluation SDK documentation](/evaluation/evaluation-from-sdk/quick-start) to get started. +Check out the [Evaluation SDK documentation](/1.0/evaluation/evaluation-from-sdk/quick-start) to get started. @@ -122,4 +122,4 @@ Every evaluation run gets a shareable dashboard link. The dashboard shows full e ## Next Steps -Check out the [Quick Start Guide](/evaluation/evaluation-from-sdk/quick-start) to build your first evaluation. +Check out the [Quick Start Guide](/1.0/evaluation/evaluation-from-sdk/quick-start) to build your first evaluation. diff --git a/docs/blog/entries/file-attachments-in-agent-chat.mdx b/docs/blog/entries/file-attachments-in-agent-chat.mdx new file mode 100644 index 0000000000..7957e9ec9c --- /dev/null +++ b/docs/blog/entries/file-attachments-in-agent-chat.mdx @@ -0,0 +1,70 @@ +--- +title: "File Attachments in Agent Chat" +slug: file-attachments-in-agent-chat +date: 2026-08-02 +tags: [v0.107.0] +description: "Attach files and images to agent chat by pasting, dragging and dropping, or uploading a whole folder. Plus simpler built-in tool permissions for Pi agents and better-equipped sandboxes." +--- + + + +{/* TODO(Mahmoud): add a short screenshot or video showing a file being attached to an agent chat message (paste, drag and drop, or the attach button) */} + +You can now attach files and images directly to an agent chat message. Paste from your clipboard, drag and drop, click the attach button, or drop a whole folder and Agenta uploads its contents one file at a time. + +Attachments belong to the session. Open the Files drawer to see everything that has been added, and the agent can read the same files inside its sandbox. + +**Also in this release:** + +- Pi's seven built-in tools (read, bash, edit, write, grep, find, ls) are always available now. Control them from the permissions panel instead of the agent configuration. +- Agent sandboxes ship with more shell tools out of the box: ripgrep, fd, jq, unzip, zip, tree, file, process tools, and a python alias for python3. + +**Bug fixes:** + +- Approving a tool call no longer evicts a warm agent session, so resuming after an approval is fast again. +- Denying a tool call now reliably ends the turn. +- A resolved approval no longer reappears after you reload the page. +- The session Files drawer now reliably shows that session's own files. + + + +{/* truncate */} + +{/* TODO(Mahmoud): add a short screenshot or video showing a file being attached to an agent chat message (paste, drag and drop, or the attach button) */} + +Agent chat now takes files and images as attachments, not just text. Give the agent a spreadsheet, a screenshot, or a whole folder of reference material, and it can read them while it works. + +## How it works + +You can attach a file four ways: paste it from your clipboard, drag it in, click the attach button, or drop a whole folder. When you drop a folder, Agenta uploads its contents one file at a time. + +Attachments belong to the session that created them. Open the session's Files drawer to see everything you and the agent have added, and the agent can read those same files from inside its sandbox. + +Large files upload in chunks, so a slow connection does not sink the whole upload. If a file is too big, you get a clear message instead of a failed request. + +See [Files and knowledge](/concepts/files-and-knowledge) for how session files and agent files differ. + +## Simpler built-in tools for Pi agents + +Pi agents have always had seven built-in tools: read, bash, edit, write, grep, find, and ls. Until now, you managed them like any other tool, listed as entries in the agent's configuration and in the template. + +These tools are now always available. They no longer appear in the agent configuration or the template, so there is one less thing to set up when you build an agent. + +Control moves to the permissions panel instead. Every agent has a default policy (reads are allowed out of the box), plus allow, ask, and deny rule lists you can edit. These rules work the same way across harnesses, not only Pi. + +If an existing agent's configuration still lists built-in tools from before this change, it keeps working. Agenta just ignores those entries now. + +See [Permissions](/concepts/permissions) for how the default policy and rule lists work. + +## Better-equipped sandboxes + +Agent sandboxes now ship with more everyday shell tools out of the box: ripgrep, fd, jq, unzip, zip, tree, file, process tools, and a python alias for python3. An agent that reaches for one of these no longer needs you to install it first. + +See [Customize the agent runtime](/self-host/agent-execution/customize-the-agent-runtime) for the full list of what sandboxes ship with. + +## Bug fixes + +- Approving a tool call no longer evicts a warm agent session, so resuming after an approval is fast again. +- Denying a tool call now reliably ends the turn. +- A resolved approval no longer reappears after you reload the page. +- The session Files drawer now reliably shows that session's own files. diff --git a/docs/blog/entries/filtering-traces-by-annotation.mdx b/docs/blog/entries/filtering-traces-by-annotation.mdx index 806e01ac1b..0e6482430f 100644 --- a/docs/blog/entries/filtering-traces-by-annotation.mdx +++ b/docs/blog/entries/filtering-traces-by-annotation.mdx @@ -19,7 +19,7 @@ The new annotation filtering lets you find: - Spans evaluated by a specific evaluator - Spans with user feedback like `success=True` -This enables powerful workflows: [capture user feedback](/tutorials/cookbooks/capture-user-feedback) from your app, filter to find traces with bad feedback, add them to test sets, and improve your prompts based on real user data. +This enables powerful workflows: [capture user feedback](/1.0/tutorials/cookbooks/capture-user-feedback) from your app, filter to find traces with bad feedback, add them to test sets, and improve your prompts based on real user data. @@ -47,7 +47,7 @@ Filter traces based on evaluations and feedback: This feature enables powerful workflows: -1. **Capture user feedback** from your application using our API ([see tutorial](/tutorials/cookbooks/capture-user-feedback)) +1. **Capture user feedback** from your application using our API ([see tutorial](/1.0/tutorials/cookbooks/capture-user-feedback)) 2. **Filter traces** to find those with bad feedback or low scores 3. **Add them to test sets** to track problematic cases 4. **Improve your prompts** based on real user feedback diff --git a/docs/blog/entries/jinja2-template-support.mdx b/docs/blog/entries/jinja2-template-support.mdx index ed31d9b7aa..72684417ff 100644 --- a/docs/blog/entries/jinja2-template-support.mdx +++ b/docs/blog/entries/jinja2-template-support.mdx @@ -13,7 +13,7 @@ import Image from "@theme/IdealImage"; You can now use Jinja2 templates in your prompts. Jinja2 is available in both the Playground and in prompt management. -Learn more in our [blog post](https://agenta.ai/blog/launch-week-2-day-5-jinja2-prompt-templates) or check the [documentation](/prompt-engineering/playground/using-playground#switching-template-formats). +Learn more in our [blog post](https://agenta.ai/blog/launch-week-2-day-5-jinja2-prompt-templates) or check the [documentation](/1.0/prompt-engineering/playground/using-playground#switching-template-formats). @@ -23,7 +23,7 @@ We're excited to announce a powerful update to the Agenta playground. You can no This means you can add sophisticated logic directly into your prompt templates. Use conditional statements, apply filters to variables, and transform data on the fly. -Learn more in our [blog post](https://agenta.ai/blog/launch-week-2-day-5-jinja2-prompt-templates) or check the [documentation](/prompt-engineering/playground/using-playground#switching-template-formats). +Learn more in our [blog post](https://agenta.ai/blog/launch-week-2-day-5-jinja2-prompt-templates) or check the [documentation](/1.0/prompt-engineering/playground/using-playground#switching-template-formats). ## Example diff --git a/docs/blog/entries/json-multi-field-match.mdx b/docs/blog/entries/json-multi-field-match.mdx index 4f94eaafc7..a22d335bc6 100644 --- a/docs/blog/entries/json-multi-field-match.mdx +++ b/docs/blog/entries/json-multi-field-match.mdx @@ -129,4 +129,4 @@ Existing JSON Field Match configurations continue to work. We recommend migratin ## Next Steps -Learn more about configuring and using the JSON Multi-Field Match evaluator in the [Classification and Entity Extraction Evaluators](/evaluation/configure-evaluators/classification-entity-extraction#json-multi-field-match) documentation. +Learn more about configuring and using the JSON Multi-Field Match evaluator in the [Classification and Entity Extraction Evaluators](/1.0/evaluation/configure-evaluators/classification-entity-extraction#json-multi-field-match) documentation. diff --git a/docs/blog/entries/llamaindex-integration.mdx b/docs/blog/entries/llamaindex-integration.mdx index e46b8b682f..6fec17106b 100644 --- a/docs/blog/entries/llamaindex-integration.mdx +++ b/docs/blog/entries/llamaindex-integration.mdx @@ -54,4 +54,4 @@ The integration is auto-instrumentation - just add one line of code and you'll s This helps when you need to understand what's happening inside your RAG pipeline, track performance bottlenecks, or debug issues in production. -Check out the [tutorial](/integrations/frameworks/llamaindex/observability) and the [Jupyter notebook](https://github.com/Agenta-AI/agenta/blob/main/examples/jupyter/llamaindex_integration.ipynb) for more details. +Check out the [tutorial](/1.0/integrations/frameworks/llamaindex/observability) and the [Jupyter notebook](https://github.com/Agenta-AI/agenta/blob/main/examples/jupyter/llamaindex_integration.ipynb) for more details. diff --git a/docs/blog/entries/multiple-metrics-in-human-evaluation.mdx b/docs/blog/entries/multiple-metrics-in-human-evaluation.mdx index 3fd7e42bc6..bfd00c6eaa 100644 --- a/docs/blog/entries/multiple-metrics-in-human-evaluation.mdx +++ b/docs/blog/entries/multiple-metrics-in-human-evaluation.mdx @@ -11,7 +11,7 @@ We rebuilt the human evaluation workflow from scratch. Now you can set multiple This lets you evaluate the same output on different metrics like **relevance** or **completeness**. You can also create binary, numerical scores, or even use strings for **comments** or **expected answer**. -Watch the video below and read the [post](/changelog/multiple-metrics-in-human-evaluation) for more details. Or check out the [docs](/evaluation/human-evaluation/quick-start) to learn how to use the new human evaluation workflow. +Watch the video below and read the [post](/changelog/multiple-metrics-in-human-evaluation) for more details. Or check out the [docs](/1.0/evaluation/human-evaluation/quick-start) to learn how to use the new human evaluation workflow.
- - ## Features -### Prompt Engineering and Management - -Teams often struggle with prompt collaboration. They keep prompts in code where subject matter experts cannot edit them. Or they use spreadsheets in an unreliable process. +**A shared workspace for your team**. Agenta is multiplayer from the start. Your team can share agents and chat sessions, collaborate on files, and work together + in one place. Use Agenta Cloud or host it on your own infrastructure. -Agenta organizes prompts for your team. Subject matter experts can collaborate with developers without touching the codebase. Developers can version prompts and deploy them to production. +**A shared folder for every agent**. Each agent has its own folder where you can work together. Write documents, organize research, or maintain a share wiki together. -The playground lets teams experiment with prompts. You can load traces and test sets. You can test prompts side by side. +**1000+ Integrations.** Connect agents to the apps your team already uses through built-in integrations or through MCP servers. +**Reusable skills** Give agents repeatable instructions for specific tasks. Use skills from the open agent ecosystem or create your own. + +**Human approval and permissions.** Decide which actions run automatically, which need approval, and which are blocked. Set defaults for the agent and rules for + individual tools. -### Evaluation +**Background agents.** Run agents on a schedule, or start them when an event happens in a connected app. -Most teams lack a systematic evaluation process. They make random prompt changes based on vibes. Some changes improve quality but break other cases because LLMs are stochastic. +**Tracing and usage.** Inspect every model and tool call. Track requests, tokens, latency, and estimated cost. -Agenta provides one place to evaluate systematically. Teams can run three types of evaluation: +**Version history**. Every change to an agent is recorded. Compare versions to see what changed and understand why its behavior may differ. -- Automatic evaluation with LLMs at scale before production -- Human annotation where subject matter experts review results and provide feedback to AI engineers -- Online evaluation for applications already in production -Both subject matter experts and engineers can run evaluations from the UI. + ## Why Agenta -### Observability +### Use your Claude or ChatGPT subscription -Agenta helps you understand what happens in production. You can capture user feedback through an API (thumbs up or implicit signals). You can debug agents and applications with tracing to see what happens inside them. +When you self-host Agenta, you can run agents with a Claude or ChatGPT subscription you already pay for. -Track costs over time. Find edge cases where things fail. Add those cases to your test sets. Have subject matter experts annotate the results. +### No vendor lock-in +Agenta does not tie you to one harness or model. Use Claude Code, Codex, or Pi, and choose almost any model from a major provider. You can also run models +through AWS, Google Cloud, or Azure, or host them yourself. -## Why Agenta? +See [Harnesses and models](/concepts/harnesses-and-models). -### Enable collaboration between developers and product teams +### Use Agenta Cloud or self-host -Agenta empowers **non-developers** to iterate on the configuration of any custom LLM application, evaluate it, annotate it, A/B test it, and deploy it, all within the user interface. +Use Agenta Cloud or run Agenta on your own infrastructure. Agenta is open source under the MIT license, so you can modify it and use it commercially. -### Open-source and MIT licensed +### Built for teams with security in mind -Agenta is open-source and MIT licensed, so you can self-host it, modify it, and use it in commercial projects without restrictions. +Manage access with role-based controls, SSO, and separate projects. Each agent runs in its own isolated sandbox. These features are available in both the + community version and Agenta Cloud. -### Works with any LLM app workflow +## Start here -Agenta enables prompt engineering and evaluation on any LLM app architecture, such as **Chain of Prompts**, **RAG**, or **LLM agents**. It is compatible with any framework like **Langchain** or **LlamaIndex**, and works with any model provider, such as **OpenAI**, **Cohere**, or **local models**. +- [Agents](/concepts/agents) explains what an agent is made of. diff --git a/docs/docs/getting-started/_02-quick-start.mdx b/docs/docs/getting-started/_02-quick-start.mdx new file mode 100644 index 0000000000..c1c1793cfb --- /dev/null +++ b/docs/docs/getting-started/_02-quick-start.mdx @@ -0,0 +1,109 @@ +--- +title: "Quick start" +sidebar_label: "Quick start" +description: "Build a working agent in Agenta in about five minutes. Describe the job, connect a model key, and give the agent its first piece of real work." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +This page takes you from an empty Agenta project to one agent doing a real piece of work. It takes about five minutes and needs no connected apps. + +An agent in Agenta starts empty, and you tell it what job it is for by chatting with it, not by filling in forms. ChatGPT, by comparison, gives you one prebuilt agent that already works for everything. The agent you build on this page is set up for one job. + +## Before you start + +- An Agenta account. [Agenta Cloud](https://cloud.agenta.ai) is the hosted version. To run Agenta yourself, see the [self-host quick start](/self-host/quick-start). +- An API key from a model provider. This page uses OpenAI. For any other provider, see [Choose a harness and model](/guides/choose-a-harness-and-model). + +## Step 1: Describe the agent + +Open your project. The home screen asks **What do you want to build?** + +Type what you want the agent to do. For this run, use: + +```text +Turn my rough notes from a week of work into a short weekly update +I can send to my team. Plain sentences, no bullet lists. +``` + +Click `Create agent`. Agenta creates the agent, names it, and opens its playground. + +The Agenta home screen, headed What do you want to build, with the description box and the Create agent button + +That one sentence is the whole agent so far. The rest of this page fills it in. + +## Step 2: Connect a model + +The playground opens in `Build` mode. The `Configuration` column is on the left, the conversation on the right. Above the message box a banner reads `Add your model provider key to run this agent.` + +1. In the `Configuration` column, click `Model & harness`. +2. Leave the segmented control on `API key`. +3. Click the `OpenAI` tile. +4. Paste your key into `API key *` and click `Save`. + +The Model and harness section expanded, showing the API key and Subscription control, the provider tiles, and the API key field + +The section header names the two things the agent runs on: a harness and a model. The model answers messages. The harness drives it, runs the tools it asks for, and feeds the results back. See [Harnesses and models](/concepts/harnesses-and-models). + +## Step 3: Answer the agent's questions + +The conversation opens with a card holding your description and a `Start` button. Click it. + +The agent picks up your description and asks you about the job: who the update is for, what usually goes in it, how you want it to sound. Answer in plain sentences, the way you would brief a new colleague. + +As you answer, the agent writes what it learns into its own configuration. Watch the `Instructions` section in the `Configuration` column while you talk. + +## Step 4: Give it real work + +Now give the agent something to do. Paste a handful of rough notes from your week and ask for the update: + +```text +Here are my notes from this week. Draft the update and save it as +update.md. +``` + +A new agent reads on its own and asks before it writes. If a card headed `Approval needed to continue` appears, click `Approve`. See [Permissions](/concepts/permissions). + +The agent drafts the update and writes the file. Files it creates appear in the conversation as a card with a `Download` button. + +A finished run in the playground, with a file card showing the file name, a Created badge, and a download button + +## Step 5: Correct it, then keep the version + +Tell the agent what to fix, and tell it to keep the correction: + +```text +Too long, and don't open with a greeting. Keep every update under +120 words. Remember that from now on. +``` + +The agent updates its instructions. The `Instructions` section shows the new text, and the state dot next to the version pill in the header turns to `Draft`. + +Click `Commit`, keep `New version` selected, and click `Commit`. The agent is now at version 2, and the change is recorded. + +## What you have + +You now have an agent that knows one job, holds the corrections you gave it, and has a version history. You built it by describing the work and correcting the result. + +## Next + +- [Build your first agent](/learn/build-your-first-agent) is the full path: instructions, tools, a skill, permissions, and a committed version. +- [Agents](/concepts/agents) explains what an agent is made of. +- [Automations](/concepts/automations) covers running an agent on a schedule or on an event in a connected app. diff --git a/docs/docs/guides/01-write-your-agents-instructions.mdx b/docs/docs/guides/01-write-your-agents-instructions.mdx new file mode 100644 index 0000000000..48674a250a --- /dev/null +++ b/docs/docs/guides/01-write-your-agents-instructions.mdx @@ -0,0 +1,80 @@ +--- +title: "Write your agent's instructions" +sidebar_label: "Write instructions" +description: "Edit an agent's AGENTS.md instructions, write a first version, and update them as you work." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +An agent's instructions live in `AGENTS.md`. Agenta sends this file to the agent at the start of every session. This guide shows you how to edit it, write a first version, and add corrections. To learn what belongs in instructions rather than a file or skill, see [Instructions](/concepts/instructions). + +## Open the editor + +1. Go to `Agents` in the sidebar and pick your agent. +2. In the playground, set **Playground mode** to `Build`. +3. In the **Configuration** column, open **Instructions** and click the `AGENTS.md` row. + +The AGENTS.md editor dialog, with the Edit and Preview control, the formatting toolbar, and the tips rail on the right + +## Write a first version + +A first version for a marketing coworker: + +```markdown +# Role + +You are the marketing coworker at Northwind, which sells scheduling software to +independent dental practices. You draft copy, review drafts I write, and answer +questions about what we have shipped. + +## Audience + +Practice owners and office managers. Busy, not technical. They buy to save the front +desk time. + +## How to talk to me + +Answer in under 150 words unless I ask for a draft. No preamble and no restating my +question. + +## Hard limits + +Never publish or send anything. Show me the draft and wait. +``` + +Then: + +1. Click `Save`. The dialog closes and the playground header state reads `Draft`. +2. Click `Commit` in the **Configuration** header. +3. Pick `New version`, keep or edit the commit message, and click `Commit`. + +## Add a correction + +Improve the instructions as you work with the agent. When it gets something wrong, add the rule that would have prevented the mistake. + +For example, the agent drafts a LinkedIn post that opens with "In today's fast-paced world" and includes three emoji. Reopen `AGENTS.md` and add the correction to the existing tone section: + +```markdown +## How to talk to me + +Answer in under 150 words unless I ask for a draft. No preamble and no restating my +question. In social copy: no emoji, and never open with a scene-setting sentence. +Open with the claim. +``` + +Save and commit again. Each commit creates a version. You can review what changed and when on the **Registry** page. + +## Ask the agent to edit the instructions + +You can also describe the change in chat. When `Playground build kit` is on in the **Advanced** dialog, the agent can update its own configuration, including its instructions. This setting is on by default. + +## Next + +- [Control what an agent can do](/guides/control-what-an-agent-can-do) covers the limits that are settings rather than sentences. diff --git a/docs/docs/guides/02-control-what-an-agent-can-do.mdx b/docs/docs/guides/02-control-what-an-agent-can-do.mdx new file mode 100644 index 0000000000..bb60a3d04d --- /dev/null +++ b/docs/docs/guides/02-control-what-an-agent-can-do.mdx @@ -0,0 +1,111 @@ +--- +title: "Control what an agent can do" +sidebar_label: "Control what it can do" +description: "Set an agent's permission policy, override it for individual tools, and approve tool calls during a run." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +Permissions decide which tool calls an agent can make on its own and which need your approval. Set a default on the agent, override it for individual tools, and approve calls while the agent runs. For the underlying model, see [Permissions](/concepts/permissions). + +## Permissions are set on the agent and on each tool + +**The agent's policy** covers every tool at once. It lives in the **Advanced** dialog and it is the baseline. + +**A tool's own permission** covers one action and overrides the policy. It lives in the tool's detail dialog. Use it to allow or deny one action while everything else follows the policy. + +## Set the agent's default policy + +1. In the playground, set **Playground mode** to `Build`. +2. In the **Configuration** column, click **Advanced**. +3. Open the **Permissions** section. +4. Pick a `Policy`, then click `Save`. + +The Policy dropdown open, showing Allow reads, Allow all, Ask, and Deny all with their descriptions + +| `Policy` | What it does | +|---|---| +| `Allow reads` | Reads run, writes ask. This is the default. | +| `Allow all` | Every tool runs without asking. | +| `Ask` | A human approves every tool call. | +| `Deny all` | Every tool call is refused. | + +Under `Allow reads`, a connected-app action counts as a read when it has the `READ-ONLY` badge in the `Add app tools` dialog. Any action without that badge asks for approval. + +## Override the permission for one tool + +1. In the **Configuration** column, open **Tools**. +2. Click the tool's row. +3. In the `TOOL DETAILS` pane, set `Permission`, then click `Save`. + +A tool's detail dialog with the Permission dropdown open on Allow, Ask, Deny, and Inherit + +| `Permission` | What it does | +|---|---| +| `Inherit` | Follows the agent's `Policy`. This is the default. | +| `Allow` | This tool runs without asking, whatever the policy says. | +| `Ask` | This tool always waits for approval, whatever the policy says. | +| `Deny` | This tool is always refused. | + +`Permission` is available on connected-app tools under `CONNECTED APPS` and tools you write with `Tool definition`. + +Built-in tools have no per-tool permission. The agent's `Policy` governs them. Clicking one opens a read-only view with the subtitle `Provider built-in tool`. + +## Which setting wins + +When the agent calls a tool, the first of these that applies decides: + +1. The tool's own `Permission`, when it is anything other than `Inherit`. +2. An entry in `Auto-approve`. +3. The agent's `Policy`. + +## Approve or deny a call while the agent runs + +When a tool needs approval, the run pauses. The conversation shows a card titled `Approval needed to continue`. The status reads `Waiting for your input`, and the tool's row reads `Awaiting approval`. + +An approval card in the conversation, with the Details expander, the Deny and Approve buttons, and the always-allow toggle + +- Expand `Details` to read the arguments the agent wants to pass, as JSON. +- Click `Approve` to continue the run. Click `Deny` to block the action. +- Anything you type while the card is open is queued until you answer. + +## Limit what the sandbox can touch + +The **Execution environment** section of the **Advanced** dialog sets where tools and code run. + +`Sandbox` has two options. With `Local`, that is the only field. With `Daytona`, three more appear: + +| Field | Options | +|---|---| +| `Network egress` | `Allow all egress`, `Block all egress`, `Allowlist (CIDR ranges)`. The allowlist option reveals an `Allowlist` textarea for the ranges you permit, such as `10.0.0.0/8`. | +| `Filesystem` | `Read / write`, `Read-only`, `No access`. | +| `Enforcement` | `Strict (fail if unenforceable)`, `Best effort`. | + +The Execution environment section with Daytona selected, showing Network egress, Filesystem, and Enforcement + +## Next + +- [Add an MCP server](/guides/add-an-mcp-server) covers adding tools that these settings govern. +- [Create an automation](/guides/create-an-automation) covers running an agent without an active chat. diff --git a/docs/docs/guides/03-manage-skills.mdx b/docs/docs/guides/03-manage-skills.mdx new file mode 100644 index 0000000000..ef0dc34b36 --- /dev/null +++ b/docs/docs/guides/03-manage-skills.mdx @@ -0,0 +1,93 @@ +--- +title: "Manage skills" +sidebar_label: "Manage skills" +description: "Create an Agenta skill or upload a skill folder or archive. Write a clear description so the agent knows when to use it." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +A skill is a short handbook the agent loads when it needs it. Add one by writing it in the `New skill` dialog or uploading an existing skill. To learn how agents load skills, see [Skills](/concepts/skills). + +## Open the New skill dialog + +1. In the playground, set **Playground mode** to `Build`. +2. In the **Configuration** column, find **Skills**. +3. Click `Add skill`. + +The `New skill` form opens. + +The New skill dialog, with the Files column and drop target on the left and the Name, Description, and SKILL.md fields on the right + +## Write a skill in the New skill dialog + +To create a skill, fill in three fields: + +| Field | What to put in it | +|---|---| +| `Name` | Lowercase words joined by hyphens, such as `refund-request`. | +| `Description` | When the agent should reach for this skill. See the next section. | +| `SKILL.md` | The steps the agent follows. Imperative, numbered where order matters. | + +Here is a complete example: + +```markdown +# Handling a refund request + +1. Look up the account in the billing app and read the plan and the start date. +2. A refund is in scope when the request is within 30 days of the last charge and + the account has had no prior refund. +3. Up to $200 you can decide. Above that, draft the reply and tell me it needs + Dana's sign-off before it goes out. +4. Reply in the customer's own language. Lead with the decision, then the reason, + then the date the money lands. +``` + +Click `Create`, then `Commit` in the **Configuration** header to make the skill part of a version. + +### Write the description + +The agent reads the description before it loads the skill. Describe situations it can recognize, not just the subject. + +A description that tells the agent when to use the skill: + +> Use when a customer asks for a refund, a credit, or to cancel mid-term. Covers the eligibility check, the amount you can approve without a manager, and how to word the reply. + +A description that names only the subject: + +> Our refund policy. + +The second description gives the agent no situation to match, so it may not load the skill. + +Keep the description to one or two sentences. It is sent on every turn, while the body loads only when the skill fires. + +## Upload a skill + +Drop a skill folder or archive on `Drag a skill folder, .zip, or .skill here`, or click `Browse files`. Agenta uses a shared skill format, so you can also upload skills written for other tools. + +The dialog fills itself in from what you dropped: + +- `Name` and `Description` come from the YAML frontmatter at the top of `SKILL.md`. +- Everything after the frontmatter becomes the `SKILL.md` body. +- Any files sitting beside `SKILL.md` come in as supporting files, keeping their relative paths. + +The `SKILL.md` body is plain text, so you can review it before you click `Create`. Then click `Commit` in the **Configuration** header to make the skill part of a version. + +If you have the text but not the folder, paste a whole `SKILL.md`, frontmatter included, anywhere in the dialog. It fills the same fields. + +## The two settings: Hide from prompt and Allow executable files + +| Toggle | Effect | +|---|---| +| `Hide from prompt` | The skill is not listed to the agent, so it never picks the skill on its own. It runs only when invoked by name. | +| `Allow executable files` | Bundled files may be executed. The sandbox policy in **Advanced** must also allow execution. | + +## Next + +- [Write your agent's instructions](/guides/write-your-agents-instructions) covers the other place text goes, the one that is loaded every turn. diff --git a/docs/docs/guides/04-add-an-mcp-server.mdx b/docs/docs/guides/04-add-an-mcp-server.mdx new file mode 100644 index 0000000000..d565135db6 --- /dev/null +++ b/docs/docs/guides/04-add-an-mcp-server.mdx @@ -0,0 +1,71 @@ +--- +title: "Add an MCP server" +sidebar_label: "Add an MCP server" +description: "Connect an agent to an HTTP MCP server and authenticate it with an Agenta project secret." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +An MCP server gives your agent tools it can call. Connect one over HTTP and keep its key in an Agenta project secret. To learn how MCP compares with built-in integrations, see [Tools and integrations](/concepts/tools-and-integrations). + +## Before you start + +Have these ready: + +- **The server's HTTP URL**, such as `https://example.com/mcp`. Agenta supports HTTP connections, but not local processes over stdio. +- **The authentication header and key**, if the server requires them. Check the server's documentation for the header name, such as `x-api-key`. +- **An agent on the Claude Code harness.** MCP servers are available on Claude Code. If the agent runs on Pi, the **MCP servers** section does not appear in its configuration. See [Choose a harness and model](/guides/choose-a-harness-and-model). + +## Store the key as a project secret first + +Skip this if the server needs no authentication. + +The MCP form does not store the key directly. It references a project secret that Agenta resolves when the agent runs. + +1. Go to `Settings` in the sidebar, then `Secrets`. +2. Click `+ Create` and save the key. + +## Add the server + +1. In the playground, set **Playground mode** to `Build`. +2. In the **Configuration** column, find **MCP servers**, between **Tools** and **Skills**. Its summary reads `None` when the agent has no MCP servers yet. +3. Click the `+` button on that row, labelled `Add MCP server`. +4. Fill in the fields below, then click `Create`. +5. Click `Commit` in the **Configuration** header to make the server part of a version. + +The Configuration column of a Claude Code agent, with the MCP servers section between Tools and Skills and the Add MCP server tooltip on its plus button + +| Field | What to enter | +|---|---| +| `Server name` | Letters, numbers, dots, hyphens, or underscores, up to 128 characters, such as `exa`. The server's tools are labelled with this name. | +| `MCP URL` | The server's HTTP endpoint, such as `https://example.com/mcp`. | +| `Authentication` | `None` when the server is open. `Secret header` when it needs a key in a request header. `OAuth` is listed but not available yet. | +| `Header name` | Shown for `Secret header`. The header the server requires, such as `x-api-key`. | +| `Project secret` | Shown for `Secret header`. Pick the secret you created. The list reads `No project secrets found` when the project has none, so go back and create one in `Settings > Secrets`. | + +The New MCP server drawer with Server name, MCP URL, Authentication set to Secret header, Header name, and Project secret, and a Create button in the footer + +## The server's actions become tools + +The server's actions appear as tools labelled with the server name. When the agent calls one, it appears in the conversation and on any approval card. + +:::note +The agent's `Policy` in the **Advanced** dialog governs MCP tools. They do not support per-tool `Permission` or `Auto-approve`. Under the default `Allow reads` policy, every MCP call asks for approval. To run MCP tools without approval, including on a schedule, set `Policy` to `Allow all`. See [Control what an agent can do](/guides/control-what-an-agent-can-do). +::: + +## Next + +- [Control what an agent can do](/guides/control-what-an-agent-can-do) covers the policy that decides when an MCP call waits for you. +- [Choose a harness and model](/guides/choose-a-harness-and-model) covers switching an agent to Claude Code. diff --git a/docs/docs/guides/06-create-an-automation.mdx b/docs/docs/guides/06-create-an-automation.mdx new file mode 100644 index 0000000000..d32e95b35f --- /dev/null +++ b/docs/docs/guides/06-create-an-automation.mdx @@ -0,0 +1,88 @@ +--- +title: "Create an automation" +sidebar_label: "Create an automation" +description: "Prepare an agent for unattended runs, commit a version, and add a schedule or app trigger." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +An automation runs an agent without anyone in the chat. Before you add a trigger, give the agent the instructions, tools, and permissions it needs to finish on its own. For the underlying concept, see [Automations](/concepts/automations). + +## Prepare the agent + +An unattended run cannot ask you anything. Three parts of the agent have to carry what you would have carried in the chat. + +### 1. Put the answers in the instructions + +Open `Sidebar > Agents > `, set `Playground mode` to `Build`, and open `Instructions` in the `Configuration` column. Click the `AGENTS.md` row and write down the choices the agent would otherwise ask you about: which source to read, which format to produce, what to do when the data is missing, and where the result goes. Click `Save`. + +[Write your agent's instructions](/guides/write-your-agents-instructions) covers the writing itself. + +### 2. Give the agent somewhere to put the result + +Tell the agent where to leave its result. + +Open `Tools`, click `Add tool`, and choose `Third-party integration`. In the `Add app tools` dialog pick the app you want to deliver into, choose the action under `CHOOSE AN ACTION`, and click `Done`. Then name that destination in the instructions. + +If later runs need the result, tell the agent to save it in its folder. + +### 3. Settle the permissions + +Open `Advanced`, then the `Permissions` section, and set `Policy`: + +| Option | What it does | +|---|---| +| `Allow reads` | Reads run, writes ask. This is the default | +| `Allow all` | Every tool runs without asking | +| `Ask` | A human approves every tool call | +| `Deny all` | Every tool call is refused | + +The Policy dropdown in the Permissions section, open on Allow reads, Allow all, Ask, and Deny all + +:::warning +Under `Ask`, the run waits at the first tool call. Under `Allow reads`, it waits when the agent needs to write. Set permissions that let the automation finish before you attach a trigger. +::: + +The `Auto-approve` field lists tools that run without asking. A tool appears there when you select `Always allow` on its approval card during a chat. The permission applies to a trigger after you commit it. + +For the wider set of controls, see [Control what an agent can do](/guides/control-what-an-agent-can-do). + +## Commit a version + +A trigger runs one pinned variant and revision, so it runs what you committed, not your current draft. + +Click `Commit` in the `Configuration` header, keep `New version`, write a commit message, and click `Commit`. + +The commit dialog with What's changing on the left and the New version chooser and commit message on the right + +## Attach the trigger + +In `Configuration`, below `Advanced`, the `Triggers` heading holds two sections. + +- **`Schedules`** runs the agent on a clock. Click `Add schedule`. See [Schedule an automation](/guides/schedule-an-automation). +- **`Subscriptions`** runs the agent when an event fires in a connected app. Click `Add subscription`. See [Trigger an automation from an app](/guides/trigger-an-automation-from-an-app). + +Both dialogs ask `Which version runs?` and pin the variant and revision you choose. Both carry a `Run in playground` button in the footer, which runs the agent with the message you configured, and an `Active` toggle that decides whether the trigger is live when you click `Create`. + +## Where automations are listed + +`Sidebar > Settings > Triggers` lists every event trigger and scheduled run in the project. You can also create a trigger from this page with `+ Subscribe` or `+ Schedule`. + +Settings then Triggers, showing the Connections, Event triggers, and Scheduled runs sections diff --git a/docs/docs/guides/07-schedule-an-automation.mdx b/docs/docs/guides/07-schedule-an-automation.mdx new file mode 100644 index 0000000000..75d3d7376b --- /dev/null +++ b/docs/docs/guides/07-schedule-an-automation.mdx @@ -0,0 +1,78 @@ +--- +title: "Schedule an automation" +sidebar_label: "Schedule an automation" +description: "Run an agent on a recurring schedule by setting its cadence, version, and message." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +A schedule runs an agent at set times without anyone in the chat. First, [prepare the agent for automation](/guides/create-an-automation). + +## Commit before you schedule + +A schedule runs one pinned variant and revision. Commit the agent first, so the schedule can pin the version you want it to run. In the `Configuration` header, click `Commit`, keep `New version`, and confirm. + +## Open the schedule dialog + +You can open the `New schedule` dialog from two places. + +**From the agent.** `Sidebar > Agents > `, set `Playground mode` to `Build`, scroll the `Configuration` column to the `Triggers` heading, and click `Add schedule` on the `Schedules` section. + +**From project settings.** `Sidebar > Settings > Triggers`, then `+ Schedule` on the `Scheduled runs` section. + +The New schedule dialog with its Name, When should it run, Which version runs, and What should the agent do sections + +## Fill in the dialog + +### 1. Name + +Enter a `Schedule name`. This name appears in the `Scheduled runs` table. + +### 2. When should it run? + +Pick a cadence, then the days and times. + +| Cadence | Use it for | +|---|---| +| `Hourly` | Every hour | +| `Daily` | Once or several times a day | +| `Weekly` | Chosen days of the week | +| `Monthly` | A day each month | +| `Custom` | A cadence the other four do not cover | + +Set `On these days` with the `Mon` to `Sun` buttons, then `At these times (UTC)`. To run more than once a day, click `Add time` and add another time. + +:::note +Times are UTC. A daily 09:00 schedule fires at 09:00 UTC, not in your local time zone. +::: + +A green line under the fields restates the schedule it parsed and the next time it will fire, for example `Mon at 09:00 (UTC) · next 2026-08-03 09:00 UTC`. Read it before you move on. + +If the schedule should only run between two dates, expand `Active window` and set the start and end. + +### 3. Which version runs? + +Choose `Pinned`, then select the variant and revision. Future changes to the agent do not affect this schedule until you update its pinned version. + +### 4. What should the agent do? + +Write the message the agent receives on each run. Name the task and where to send the result. For example: `Summarize support tickets from the previous day and post the digest to #ops.` + +## Test it, then switch it on + +Click `Run in playground` to test the message. Then turn on `Active` and click `Create`. + +To create a schedule without starting it, leave `Active` off. + +## Related + +- [Automations](/concepts/automations) explains what an unattended run needs to be given up front. +- [Trigger an automation from an app](/guides/trigger-an-automation-from-an-app) starts a run from an event instead of a clock. +- [Control what an agent can do](/guides/control-what-an-agent-can-do) covers the permissions that decide whether a run finishes on its own. diff --git a/docs/docs/guides/08-trigger-an-automation-from-an-app.mdx b/docs/docs/guides/08-trigger-an-automation-from-an-app.mdx new file mode 100644 index 0000000000..0ff0bb8d4a --- /dev/null +++ b/docs/docs/guides/08-trigger-an-automation-from-an-app.mdx @@ -0,0 +1,90 @@ +--- +title: "Trigger an automation from an app" +sidebar_label: "Trigger from an app" +description: "Start an agent run from an event in a connected app and pass event data to the agent." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +An event trigger starts an agent when something happens in a connected app. First, [prepare the agent for automation](/guides/create-an-automation). + +## Connect the app first + +Go to `Sidebar > Settings > Triggers`, then click `+ Connect` under `Connections`. Select the app and connect an account. + +The trigger picker shows your connections in its left rail, under `YOUR CONNECTIONS`, and each app card has a `+ Connect another account` button for adding a second account. + +## Commit before you subscribe + +An event trigger runs one pinned variant and revision. Commit the agent first, so the trigger can pin the version you want it to run. In the `Configuration` header, click `Commit`, keep `New version`, and confirm. + +## Pick the app and the event + +You can open the trigger picker from two places. + +**From the agent.** `Sidebar > Agents > `, set `Playground mode` to `Build`, scroll the `Configuration` column to the `Triggers` heading, and click `Add subscription` on the `Subscriptions` section. + +**From project settings.** `Sidebar > Settings > Triggers`, then `+ Subscribe` on the `Event triggers` section. + +The `Choose a trigger` dialog shows your connections and the available apps. + +The Choose a trigger dialog with the YOUR CONNECTIONS rail and the ALL APPS grid + +Click the app, choose a connection, then select an event under `CHOOSE AN EVENT`. + +The GitHub event list under CHOOSE AN EVENT + +## Fill in the trigger + +Picking an event opens the `New trigger` dialog. + +The New trigger form with its Name, When this happens, Which version runs, and What the agent gets sections + +### 1. Name + +Type a `Trigger name`. It is what identifies this trigger in the `Event triggers` table. + +### 2. When this happens + +`Event filters` controls which events start a run. The fields depend on the event. A GitHub event asks for `Owner`, `Repo`, and an `Interval` in minutes. + +Fill in every field marked with an asterisk. + +### 3. Which version runs? + +Choose `Pinned`, then select the variant and revision. Every run uses that version until you update the trigger. + +### 4. What the agent gets + +Write the message the agent receives when the event fires. `EVENT FIELDS` lists the data the event carries. Click a field to add its live value, such as the issue, branch, or record that started the run. + +To see real values in that column, use `Test event`. + +## Test it, then switch it on + +Click `Run in playground` to test the message. Then turn on `Active` and click `Create`. + +To create the trigger without arming it, leave `Active` off. + +## Related + +- [Automations](/concepts/automations) explains what an unattended run needs to be given up front. +- [Schedule an automation](/guides/schedule-an-automation) starts a run on a clock instead of an event. +- [Tools and integrations](/concepts/tools-and-integrations) covers giving the agent actions in the same connected apps. diff --git a/docs/docs/guides/09-choose-a-harness-and-model.mdx b/docs/docs/guides/09-choose-a-harness-and-model.mdx new file mode 100644 index 0000000000..2717afda63 --- /dev/null +++ b/docs/docs/guides/09-choose-a-harness-and-model.mdx @@ -0,0 +1,105 @@ +--- +title: "Choose a harness and model" +sidebar_label: "Choose harness and model" +description: "Choose the harness, model, and provider credential that an Agenta agent uses." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +Choose the harness, model, and provider credential that your agent uses. For what each choice changes, see [Harnesses and models](/concepts/harnesses-and-models). + +## Open the settings + +Go to `Sidebar > Agents > `, set `Playground mode` to `Build`, and open the `Model & harness` section at the top of the `Configuration` column. Its header summary shows the current harness and model, for example `Pi · gpt-5.6-luna`. A `Connect key` pill means no provider credential is set yet. + +The inline Model & harness panel with the model combobox, the API key and Subscription control, and the provider tiles + +Use the inline panel to change the model or add a provider key. To change the harness or compare its available models and hosting options, click `Detailed configuration`. + +## Choose the harness + +In the `Model & harness` dialog, open the `Harness` section. It offers `Pi` and `Claude Code`. The one in use carries a `Current` pill. + +The Model & harness dialog with the Harness section open and Pi selected + +Each harness lists its supported providers under `PROVIDERS` and its hosting options under `HOSTING`. These lists reflect what is available in your deployment. + +The same dialog with Claude Code selected, showing its providers and hosting options + +Each option also says whether it works with the model you have selected: `✓ supports your model`, or `⚠ model not available`. + +:::warning +If the harness you pick shows `⚠ model not available`, the agent has no working model until you choose one in the `Model` section below. +::: + +## Choose the model + +Open the `Model` section and use the combobox. The list is filtered to the models the selected harness can reach, and choosing a model also sets its provider. + +Search for a model or select a provider to see its models. If the provider is not listed, click `+ Add custom provider`. + +The model picker showing the provider list with model counts and the Add custom provider button + +The model picker with a provider hovered and its models listed in the second column + +## Choose the credential + +The credential decides where the model runs. Open `Provider credentials`, which has two modes. + +### API key + +Pick the provider tile, or one of the tiles under `USE CUSTOM PROVIDER`: + +| Tile | Use it for | +|---|---| +| The provider tile, for example `OpenAI` | The model vendor directly. Add the key and Agenta lists its models | +| `Azure OpenAI` | Models served through Azure | +| `OpenAI-compatible endpoint` | A proxy or gateway of your own that speaks the OpenAI API | + +Paste the key into `API key *` and click `Save`. The key is encrypted in transit and at rest. + +To manage keys for the whole project instead of one agent, go to `Sidebar > Settings > LLMs`. Each unconfigured provider has a `Configure now` button, and `+ OpenAI-compatible endpoint` adds an endpoint of your own. + +Settings then LLMs, the project-wide store of model provider keys + +### Subscription + +The `Subscription` mode runs the agent against a Claude or ChatGPT subscription instead of a metered API key. It requires a self-hosted Agenta deployment, and the card is marked `Unavailable in the cloud`. See [Use your own Claude or ChatGPT subscription](/guides/use-your-own-subscription). + +## Save and commit + +Click `Save` in the dialog footer. The change is a draft on the agent configuration. + +To publish it, click `Commit` in the `Configuration` header. Deployments and triggers run a pinned revision, so commit before an automation should use the new harness or model. diff --git a/docs/docs/guides/10-use-your-own-subscription.mdx b/docs/docs/guides/10-use-your-own-subscription.mdx new file mode 100644 index 0000000000..de068d14ca --- /dev/null +++ b/docs/docs/guides/10-use-your-own-subscription.mdx @@ -0,0 +1,55 @@ +--- +title: "Use your own Claude or ChatGPT subscription" +sidebar_label: "Use your own subscription" +description: "Use a Claude or ChatGPT subscription to run agents on a self-hosted Agenta deployment." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +On a self-hosted deployment, an agent can use your existing harness login instead of a model API key. Mount the login in the runner, then select it on the agent. + +:::warning This needs a self-hosted deployment +In Agenta Cloud the `Self-managed` credential card is marked `Unavailable in the cloud`, and the option cannot be used. A subscription authenticates the harness through a login file mounted into your runner, which only exists on a deployment you run yourself. See the [self-hosting quick start](/self-host/quick-start). +::: + +## 1. Mount your login into the runner + +Log in to the harness on your machine, then mount the login into the runner container. Follow [Use your own subscription](/self-host/use-your-own-subscription) for the file paths, mount configuration, and permission check. + +Which login you need depends on the harness the agent uses: + +| Harness | Login it reads | +|---|---| +| `Claude Code` | Your Claude Code login | +| `Pi` | Your Pi login, which also covers signing in with ChatGPT | + +## 2. Match the harness on the agent + +In the agent, set `Playground mode` to `Build`, open `Model & harness` in the `Configuration` column, and click `Detailed configuration`. In the `Harness` section, select the harness whose login you mounted, and pick a model it supports in the `Model` section. See [Choose a harness and model](/guides/choose-a-harness-and-model). + +## 3. Switch the credential to Subscription + +In the same dialog, open `Provider credentials` and select `Subscription`. Choose `Self-managed`. The harness reads the credential from its environment, and Agenta does not store or inject a key. + +The Subscription credential mode showing the Self-managed card and its Unavailable in the cloud pill + +Click `Save`. + +## 4. Keep the run local + +The login lives in the runner container, so the agent has to run there. Open `Advanced`, then `Execution environment`, and set `Sandbox` to `Local`. A Daytona sandbox never receives the login and cannot authenticate with it. + +:::warning +Every local run can read the files mounted into the runner, including this login. Use a subscription only on a deployment you run for yourself. See [Sandbox isolation and security](/self-host/agent-execution/sandbox-isolation-and-security). +::: + +## 5. Commit + +Click `Commit` in the `Configuration` header so deployments and triggers run the version that uses the subscription. diff --git a/docs/docs/learn/_01-build-your-first-agent.mdx b/docs/docs/learn/_01-build-your-first-agent.mdx new file mode 100644 index 0000000000..365a703ecc --- /dev/null +++ b/docs/docs/learn/_01-build-your-first-agent.mdx @@ -0,0 +1,284 @@ +--- +title: "Build your first agent" +sidebar_label: "Build your first agent" +description: "Build one agent end to end in Agenta: describe it, write its instructions, connect a tool, add a skill, set permissions, and commit a version." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +This tutorial builds one agent from nothing to a committed version. Along the way you meet every part of an agent: its instructions, its tools, its skills, and its permissions. Each idea is explained where you first meet it, with a link to the full version. + +## What you are building + +You are building an agent that reads merged pull requests from one GitHub repository and drafts release notes in your team's format. + +An agent in Agenta starts empty, so the first decision is what the agent is for. Everything you add below follows from that answer. ChatGPT, by comparison, gives you one prebuilt agent that already works for everything. See [Agents](/concepts/agents). + +## Before you start + +- An Agenta account. [Agenta Cloud](https://cloud.agenta.ai) is the hosted version. To run Agenta yourself, see the [self-host quick start](/self-host/quick-start). +- An API key from a model provider. This tutorial uses OpenAI. For any other provider, see [Choose a harness and model](/guides/choose-a-harness-and-model). +- A GitHub account, and one repository with merged pull requests in it. + +If you have never opened Agenta before, the [quick start](/getting-started/quick-start) is a shorter run that needs no GitHub account. + +## Step 1: Describe the agent + +Open your project. The home screen asks **What do you want to build?** + +Type the job: + +```text +Read the pull requests merged into one of my GitHub repositories and +draft release notes from them in my team's format. +``` + +Click `Create agent`. Agenta creates the agent, names it, and opens its playground. + +The Agenta home screen, headed What do you want to build, with the description box and the Create agent button + +## Step 2: Connect a model + +The playground opens in `Build` mode. On the left is the `Configuration` column, which holds everything the agent is. On the right is the conversation. + +An agent runs on two pieces. A model answers messages and does nothing else. A harness drives the model: it sends the conversation, runs the tools the model asks for, feeds the results back, and manages the context as the conversation grows. See [Harnesses and models](/concepts/harnesses-and-models). + +To connect a model: + +1. In the `Configuration` column, click `Model & harness`. +2. Leave the segmented control on `API key`. +3. Click the `OpenAI` tile. +4. Paste your key into `API key *` and click `Save`. + +The Model and harness section expanded, showing the API key and Subscription control, the provider tiles, and the API key field + +With a key saved, the agent can run. + +## Step 3: Let the agent interview you + +The conversation opens with a card holding your description and a `Start` button. Click it. + +The agent asks about the job: which repository, who reads the release notes, what they need to contain. Answer in plain sentences. Tell it the repository you want to use. + +You are configuring the agent by talking to it. While you are in the playground, the agent carries a set of extra tools and skills called the **playground build kit**, which let it find tools, ask you to connect an app, and change its own configuration as you talk. + +The build kit is not part of the agent you publish. You can see it under `Advanced`, where its status reads `Removed on commit`. + +The playground in Build mode, with the Configuration column on the left listing Model and harness, Instructions, Tools, Skills, Advanced, Triggers and Files + +Watch the `Configuration` column while you answer. Sections change as the agent works. + +## Step 4: Write the instructions + +The instructions are the agent's identity. Other tools call this the system prompt. In Agenta they live in a file called `AGENTS.md`, and they are the first thing sent to the agent at the start of every session. See [Instructions](/concepts/instructions). + +They are also resent on every turn, so a long identity is a recurring cost rather than a one-time one. Keep them to what has to be true every time. + +Open them and read what the agent wrote: + +1. In the `Configuration` column, click `Instructions`. +2. Click the `AGENTS.md` row. The editor opens. +3. Use `Edit` to write, `Preview` to see the rendered markdown, and `Source` in the toolbar to work in raw markdown. + +The AGENTS.md editor with the Edit and Preview control, the formatting toolbar, and the Writing a good AGENTS.md tips panel + +Add the context only you have. For this agent, that is who reads the release notes and how they should sound. The examples below use `acme/checkout`; use your own repository throughout. + +```markdown +## Role + +You draft release notes for the acme/checkout repository. They are read +by customer support, not by engineers. + +## Style + +Write one line per user-visible change, in plain sentences. Name what +changed for the person using the product, not the code that changed. +Skip internal refactors, dependency bumps, and test changes. +``` + +Click `Save`. + +The right rail of the editor offers `+ Output format`, `+ Tone & style` and `+ Guardrails`, which insert headings for you to fill in. For more on what to put under them, see [Write your agent's instructions](/guides/write-your-agents-instructions). + +:::tip +Instructions grow one line at a time, against real failures. When the agent gets something wrong, add the line that would have prevented it. +::: + +## Step 5: Give it a tool + +A tool is one action the agent can take. Tools are defined per action rather than per product: not "GitHub", but "list pull requests", "comment on a pull request", "create an issue". Each carries its own description, and the agent picks the ones that fit the task in front of it. See [Tools and integrations](/concepts/tools-and-integrations). + +Ask the agent for what it needs: + +```text +You need to read merged pull requests from acme/checkout on GitHub. +Find the tools for that and add them. +``` + +The agent looks for matching tools and asks you to connect GitHub. Complete the connection, and the tools appear in the `Tools` section of the `Configuration` column, grouped under `CONNECTED APPS`. New ones carry a green `New` badge, and the state dot in the header turns to `Draft`. + +:::tip +You can also add a tool yourself. Click the `+` (`Add tool`) button on the `Tools` section and choose `Third-party integration`. The `Add app tools` dialog lets you search apps, pick a connected one, and choose actions from it. Actions that only read carry a `READ-ONLY` badge. +::: + +The Add tool menu on the Tools section, showing Reference a workflow, Third-party integration, and Tool definition + +The Add app tools dialog with GitHub connected, showing the action list under Choose an action, each action with its own description + +Every tool an agent has costs a little on every turn, because its name and description go to the model each time. Add the actions the job needs and leave the rest. + +## Step 6: Add a skill + +A skill is a short handbook for one kind of task. It sits outside the instructions, and the agent sees only its name and description until it decides the skill applies. Then it loads the body and follows it. That is why an agent can carry many skills and pay for almost none of them. See [Skills](/concepts/skills). + +Your release-notes format is exactly that shape: a procedure the agent needs sometimes, and too long to sit in the instructions. + +1. Click the `+` (`Add skill`) button on the `Skills` section. The `New skill` dialog opens. +2. In `Name`, type `release-notes`. +3. In `Description`, write when the agent should reach for it: + + ```text + Use when drafting release notes, a changelog entry, or a summary of what + shipped. Covers the section order, the wording, and what to leave out. + ``` + +4. In the `SKILL.md` editor, write the procedure: + + ```markdown + # Release notes + + 1. Group the merged pull requests into New, Improved, and Fixed. + 2. Write one line per change. Start with a verb. Name the feature the + customer sees. + 3. Drop anything with no user-visible effect. + 4. Put a one-sentence summary of the release at the top. + 5. Save the result as a markdown file. + ``` + +5. Click `Create`. + +The New skill dialog with the Name, Description and SKILL.md fields, and the drop target for a skill folder or zip + +The description decides whether the skill fires, because it is all the agent sees up front. Write it as a situation the agent can recognize, not as a summary of the contents. + +The same dialog takes skills written elsewhere. Drop a skill folder, a `.zip`, or a `.skill` file onto `Drag a skill folder, .zip, or .skill here`, or use `Browse files`. See [Manage skills](/guides/manage-skills). + +## Step 7: Set permissions + +Your agent can now read from GitHub and write files. Permissions decide which of those it does on its own, and which it stops to ask you about first. See [Permissions](/concepts/permissions). + +1. In the `Configuration` column, click `Advanced`. +2. Open the `Permissions` section. +3. Set `Policy` to `Allow reads`. It is the default, so it may already be selected. +4. Click `Save`. + +The Policy dropdown in the Advanced dialog, open on Allow reads, Allow all, Ask, and Deny all with their descriptions + +The four policies are: + +| Policy | What it does | +|---|---| +| `Allow reads` | Reads run, writes ask. This is the default. | +| `Allow all` | Every tool runs without asking. | +| `Ask` | A human approves every tool call. | +| `Deny all` | Every tool call is refused. | + +With `Allow reads`, the agent reads pull requests on its own and stops before it writes anything. + +## Step 8: Run it + +Start the job: + +```text +Draft release notes for the pull requests merged into acme/checkout in +the last two weeks. Save them as release-notes.md. +``` + +The agent calls the GitHub tool, loads the `release-notes` skill, and drafts the notes. When it reaches the point of writing the file, it stops. A card headed `Approval needed to continue` appears in the conversation, naming the tool it wants to use, with the arguments under `Details`. + +An Approval needed to continue card in the conversation, with the Details section, the Deny and Approve buttons, and the always allow toggle + +Click `Approve`. The run continues, and the file appears in the conversation as a card with a `Download` button. + +The card also carries a toggle to always allow that tool for this agent. Turning it on adds the tool to `Auto-approve` under `Permissions`, so it stops asking. + +Under each of the agent's replies you can see the duration, the tokens, and the cost of that turn. See [Cost and usage](/concepts/cost-and-usage). + +## Step 9: Commit a version + +Everything you changed so far is a draft. The state dot next to the version pill reads `Draft`, and `Commit` is enabled. + +1. Click `Commit`. +2. The left pane, `What's changing`, lists every section you touched. +3. Keep `New version` selected. The right pane tells you which version it saves as, and that everyone using the agent gets your changes. +4. Edit the `Commit message` if you want, then click `Commit`. + +The commit dialog, with What's changing on the left and the New version chooser and commit message on the right + +The version pill moves on and the state dot goes back to `Saved`. The playground build kit is not carried into the committed version, so what you published is the instructions, tools, skills, and permissions you gave it. + +To see the history of an agent's configuration, open `Registry` in the agent's sidebar. It lists every variant and every version with the model, who created it, and the commit notes. See [Sessions and versions](/concepts/sessions-and-versions). + +## What you built + +You now have an agent with a job, instructions that describe it, one connected tool, one skill, a permission policy, and a version history. You built almost all of it by talking to it. + +## Next + +- [Build a marketing coworker](/learn/build-a-marketing-coworker) takes an agent further and puts it on an automation. +- [Files and knowledge](/concepts/files-and-knowledge) covers the folders an agent reads and writes, and how its knowledge builds up over time. +- [Control what an agent can do](/guides/control-what-an-agent-can-do) covers permissions on a working agent. +- [Manage skills](/guides/manage-skills) covers adding, editing, and removing them. diff --git a/docs/docs/learn/_02-build-a-marketing-coworker.mdx b/docs/docs/learn/_02-build-a-marketing-coworker.mdx new file mode 100644 index 0000000000..aa88ed8710 --- /dev/null +++ b/docs/docs/learn/_02-build-a-marketing-coworker.mdx @@ -0,0 +1,277 @@ +--- +title: "Build a marketing coworker" +sidebar_label: "Marketing coworker" +description: "Build an agent that writes marketing copy in your voice, correct it in chat, then put the part that repeats on a weekly schedule that runs with nobody watching." +--- + +```mdx-code-block +import Image from "@theme/IdealImage"; +``` + +In this tutorial you build an agent that works on your marketing, teach it your company and your voice, correct it once, and then hand the recurring part of its job to a schedule. By the end, the agent produces next week's content plan every Monday morning without you opening a chat. + +## Before you start + +This tutorial assumes: + +- You finished [Build your first agent](/learn/build-your-first-agent), so you know the project home, the playground, and how an agent configures itself while you talk to it. +- Your project has a model provider key. If the chat input is read-only and asks you to connect a model, add a key under `Settings` > `LLMs` first. +- You have about thirty minutes. The example company below is fictional. Replace its facts with yours as you go, or copy it as written and swap them later. + +Times in the scheduling dialog are UTC. + +## Step 1. Describe the coworker + +Open `Sidebar` > `Home`. Under **What do you want to build?**, type the description of the agent you want and press `Create agent`. + +Use this description: + +```text +A marketing coworker for a small B2B software company. It drafts and reviews +marketing copy, keeps our product facts straight, and plans what we publish each +week. It should work from a written brief about the company rather than guessing. +``` + +The project home with the composer under the heading What do you want to build, and the Create agent button + +Agenta creates the agent, names it, and opens its playground. The conversation opens with a card summarizing what it is about to set up and a `Start →` button. + +Leave `Playground mode` on `Build`. The left column is `Configuration` and the right column is the conversation, so you can watch the configuration change while you talk. + +The agent works, but it knows nothing about you. Giving it that context is the next step. + +## Step 2. Give it your context + +An agent's instructions are its identity. They live in a file called `AGENTS.md` and they are sent at the start of every session, so whatever is in them is guaranteed to be there every time the agent thinks. See [Instructions](/concepts/instructions) for the full picture. + +In the `Configuration` column, open the `Instructions` section and click the `AGENTS.md` row. The editor opens with an `Edit` and `Preview` control at the top. Click `Source` in the toolbar to edit the raw markdown. + +The AGENTS.md editor dialog with its toolbar and the writing tips rail + +Replace what is there with this, then press `Save`: + +```markdown +# Role + +You are the marketing coworker for Kettleworks. You draft copy, review copy I +write, and help me decide what to publish next. + +# The company + +Kettleworks sells inventory software to independent coffee roasters. It tracks +green coffee, roast batches, and wholesale orders in one place. We are six +people. The product is self-serve at $79 a month and there are no sales calls. + +# Who we write for + +Owner-operators who roast in the morning and do the books at night. They are not +software buyers. Most of them are moving off a spreadsheet, and that spreadsheet +is what we get compared against. + +# How to write + +- Short sentences. No adjective a competitor could also use about themselves. +- Open with the concrete thing the reader gets, not with the problem. +- Say "roaster", not "customer" or "user". +- No exclamation marks. + +# How to talk to me + +- Answer first, explain after. Do not restate my question back to me. +- When you draft something, give me one version, not three, unless I ask for + options. +``` + +The file has four sections, all of them facts. Everything in it is resent on every turn, which is why it holds only what has to be present every time. + +Reference material the agent can look up when it needs it goes in a file instead, and you add that in the next step. + +You can also ask the agent to make this edit for you in the chat. Writing it yourself here means you see exactly what the agent will read. + +## Step 3. Work with it, then fold the correction back in + +Ask it for something real. In the conversation on the right, send: + +```text +Draft the announcement email for batch scheduling. It lets a roaster plan a +week of roasts in advance and see green coffee shortfalls before they happen. +``` + +Read the draft. The tone should already be close, because you wrote the tone rules down. + +What the agent cannot get right yet is anything factual: it does not know your prices, which integrations exist, or which features have shipped, so if the draft needs one it will make it up. + +Say the draft claims a Shopify integration and "over a thousand roasters". Both are wrong. There are two ways to answer that, and this tutorial uses both. + +**Put the facts in a file.** Send this in the conversation: + +```text +Write our product facts to agent-files/product-facts.md: + +Pricing: $79 a month, one plan, billed monthly. 14-day trial, no card. +Integrations that exist: Cropster import, QuickBooks Online export, CSV import +and export. +Not built, never mention: Shopify, Square, WooCommerce, mobile app, +multi-roastery accounts. +Public numbers: 400+ roasters on the product; first roast batch logged in +under 10 minutes. +``` + +`agent-files/` is the agent folder. Every session of this agent sees it and it survives after a chat ends, so a fact you write there today is still there next month. The other folder in the file browser belongs to the current chat and disappears with it. See [Files and knowledge](/concepts/files-and-knowledge). + +The agent stops before it writes and shows a card titled `Approval needed to continue`. By default an agent reads on its own and asks before it writes. Press `Approve`. + +An approval card in the conversation showing the tool the agent wants to use, with Deny and Approve buttons + +The card also offers to always allow that one tool for this agent. Its note reads `Applies when you approve; commit to use it in triggers.` Leave it alone for now. Step 4 handles permissions in one place. + +**Point at the file from the instructions.** A file only helps if the agent knows to open it. Open `AGENTS.md` again and add one line to `# How to write`: + +```diff + # How to write + + - Short sentences. No adjective a competitor could also use about themselves. + - Open with the concrete thing the reader gets, not with the problem. + - Say "roaster", not "customer" or "user". + - No exclamation marks. ++- Every product fact (price, integration, number, shipped feature) comes from ++ `agent-files/product-facts.md`. Read it before you draft. If a fact is not in ++ that file, ask me instead of writing it. +``` + +Save, then send `Redo that email` in the conversation. The agent reads the file first and the invented Shopify line is gone. + +That is the loop for the rest of this agent's life: one line of instructions per correction, with the detail behind it in a file. The instructions stay short and turn into a map of where things are. [Write your agent's instructions](/guides/write-your-agents-instructions) covers the writing, and [Build a knowledge base for your agent](/guides/build-a-knowledge-base) covers the files. + +## Step 4. Hand the recurring part to a schedule + +Some of this work repeats on a clock. Planning what to publish next week is a Monday job, and there is no reason for you to be in the chat while it happens. An agent that runs on a schedule is an [automation](/concepts/automations): same instructions, same files, same tools, different starter. + +Three things change when nobody is watching. + +- **The agent cannot ask you anything.** A question mid-run has no one to answer it, so the answer has to be in the instructions before the run starts. +- **Permissions have to be settled in advance.** A run that stops for approval waits for an approval that is not coming. +- **The output has to land somewhere you will look.** Here that is a file in the agent folder. + +### 4a. Write the job into the instructions + +Open `AGENTS.md` and add this section at the end, then press `Save`: + +```markdown +# Weekly content plan + +Every Monday you produce next week's content plan without me. + +- Read `agent-files/product-facts.md`, then the four most recent plans in + `agent-files/plans/`. +- Propose five items: two blog posts, two emails, one changelog note. For each + one give a title, the roaster problem it answers, and two sentences of angle. +- Do not repeat anything that appears in the last four plans. +- Write the result to `agent-files/plans/-content-plan.md`, where the + date is the Monday of the coming week. +- If something you need is missing, do not ask me. Write the plan anyway and list + what was missing under a final heading called "Gaps". +``` + +The last two bullets are the ones that matter for an unattended run. One says where the output goes, so you can find it. The other tells the agent what to do instead of asking, so a missing fact ends up as a note in the file rather than as a run that never finishes. + +### 4b. Settle the permissions + +In `Configuration`, open the `Advanced` section and go to `Permissions`. Set `Policy` to `Allow all`, then press `Save`. + +The Permissions section of the Advanced dialog, showing Policy, the harness built-in tools, and Auto-approve + +This agent's tools read and write files in its own folders and nothing else, so `Allow all` lets the Monday run finish on its own. The `Auto-approve` field in the same section lists any single tool you granted from an approval card, which is the narrower way to reach the same result. + +:::warning +`Allow all` means every tool call runs without asking. Check the tool list before you set it on an agent that can send messages or change records in a connected app. See [Control what an agent can do](/guides/control-what-an-agent-can-do). +::: + +### 4c. Commit the version + +A schedule runs one exact version of the configuration, so the work from the last three steps has to be committed before a schedule can point at it. + +At the top of the `Configuration` column, press `Commit`. The left pane lists what changed. On the right, keep `New version`, edit the commit message if you want, and press `Commit`. + +The commit dialog listing what is changing, with the New version choice and the commit message + +Every commit is kept, so you can see what the agent looked like at any point and compare. See [Sessions and versions](/concepts/sessions-and-versions). + +### 4d. Create the schedule + +In `Configuration`, scroll to the `Triggers` heading and its `Schedules` section. Press `Add schedule`. The `New schedule` dialog has four parts. + +The New schedule dialog with its cadence list, day and time pickers, version selector, and message box + +1. **`Name`.** Type `Weekly content plan` in `Schedule name`. +2. **`When should it run?`** Choose `Weekly`. Under `On these days` pick `Mon`. Under `At these times (UTC)` set `09:00`. A green line confirms the schedule it parsed and the next time it fires. +3. **`Which version runs?`** Leave it on `Pinned` and pick the variant you just committed. Pinned runs one exact variant and revision, so a later draft in the playground cannot change what Monday does. +4. **`What should the agent do?`** This text is sent to the agent as the user message on every run. Write: + + ```text + Produce next week's content plan, following the "Weekly content plan" section + of your instructions. + ``` + +The message is short because the instructions carry the job. That is the trade: work you would have explained in a chat has to be written down once, in a place the agent reads every time. + +### 4e. Watch it run once, then create it + +You do not have to wait until Monday to see the result. Before you save the dialog, press `Run in playground` in its footer. That runs the message once in the playground, so you can watch the whole job end to end. + +Once the run has finished, leave `Active` on and press `Create`. The schedule is live from the next Monday at 09:00 UTC. + +Now go and find the output where you told the agent to put it. Switch `Playground mode` to `Chat`, open the files panel on the right, and press `Open the files drawer`. Browse into `agent-files/` and open `plans/`. + +The file drawer open inside the agent-files folder, listing the files that persist across sessions + +The plan is there, written by a run you did not type into. Every Monday at 09:00 UTC another one appears next to it, and each run reads the four before it. + +## What you built + +- An agent that knows your company, your audience, and how you want it to write, because you put that in `AGENTS.md`. +- A fact file in the agent folder that the instructions point at, so corrections do not make the instructions longer. +- A committed version, so this configuration has a history. +- A weekly run that starts on a clock, finishes on its own, and leaves its output in a folder you can open. + +## Next + +- [Trigger an automation from an app](/guides/trigger-an-automation-from-an-app) starts a run when something happens in a connected app instead of on a clock. +- [Tools and integrations](/concepts/tools-and-integrations) covers giving the agent actions in other systems, including sending the plan somewhere instead of writing it to a file. +- [Skills](/concepts/skills) covers packaging a repeated procedure so the agent loads it only when it is relevant. +- [Cost and usage](/concepts/cost-and-usage) covers what these runs cost. diff --git a/docs/docs/misc/01-opensource.mdx b/docs/docs/misc/01-opensource.mdx index 689c8a78fc..0197aad964 100644 --- a/docs/docs/misc/01-opensource.mdx +++ b/docs/docs/misc/01-opensource.mdx @@ -4,79 +4,88 @@ sidebar_label: "OSS vs. Commercial" description: Agenta, the open-source workspace for your agents, offers both MIT-licensed open source features and commercial features. Compare self-hosting options, feature availability, and licensing details. --- -## Our Approach +Agenta follows an open-core model. The core product is open source under the MIT license: prompt management, the playground, observability, evaluation, agents, custom workflows, team workspaces, and role-based access control. Commercial features cover enterprise governance (single sign-on managed per organization, audit logs, custom roles) and professional support. -Agenta follows an open-core model. All functional features (including prompt management, observability, evaluations, and custom workflows) are fully open source under the MIT license. Commercial features focus on enterprise needs like team management, support, and enterprise-specific capabilities. +This page tells you exactly what is in each edition, so you can decide whether the self-hosted open-source version gives you what you need. -We believe this approach offers the best balance. You get freedom to use all functional features without restrictions. We maintain a sustainable business model through enterprise services and support. +## Licensing -### Why Open Source? +The repository at [github.com/Agenta-AI/agenta](https://github.com/Agenta-AI/agenta) contains two kinds of code: -Open source matters for a workspace like Agenta because it gives you: +- Everything outside the `ee/` directories is licensed under the **MIT license**. You can self-host it, modify it, and use it in commercial products without restrictions. This includes all SDKs and client libraries. +- Code inside the `ee/` directories is source-available under the **Agenta Enterprise License**. You can read it and modify it for development and testing, but production use requires a commercial agreement. -1. **Flexibility**: Modify and customize the software to fit your needs. -2. **Independence**: Avoid vendor lock-in, ensuring long-term project continuity. -3. **Community Support**: Benefit from contributions and shared improvements from the community. +The open-source build does not include any Enterprise-licensed code. The open-source Docker images are built only from the MIT-licensed directories, and the application never loads `ee/` code when it runs with the open-source license. Running the open-source version cannot execute enterprise-restricted code. -### License Information +## Feature availability -The Agenta open-core is licensed under the MIT license. Everything in our public repositories is open source, with no closed-source components included. All SDKs, client libraries, and APIs are fully open source under MIT. You can self-host it, modify it, and use it in commercial projects without restrictions. +| Feature | Open Source | Commercial | +|---------|------------|------------| +| Prompt management and playground | ✅ | ✅ | +| Observability and tracing | ✅ | ✅ | +| Automatic and human evaluation | ✅ | ✅ | +| Agents, agent runner, and sandboxed execution | ✅ | ✅ | +| Custom workflows | ✅ | ✅ | +| API access, API keys, and SDKs | ✅ | ✅ | +| Provider keys and secrets management | ✅ | ✅ | +| Multiple organizations and workspaces | ✅ | ✅ | +| Team invitations and user management | ✅ | ✅ | +| Role-based access control (built-in roles) | ✅ | ✅ | +| Authentication, including OAuth/OIDC providers configured at deployment | ✅ | ✅ | +| Organization-managed SSO with domain verification | ❌ | ✅ | +| Custom roles | ❌ | ✅ | +| Audit logs | ❌ | ✅ | +| Professional support with SLAs | ❌ | ✅ | -Enterprise features (like team management, support, and custom SSO) are available through our [free and paid plans](https://agenta.ai/pricing), either in our cloud service or as an enterprise self-hosted solution. +Some commercial features are tied to specific plans. See the [pricing page](https://agenta.ai/pricing) for which plan includes what. +### Role-based access control -## Feature Availability +The open-source version includes full role-based access control. It ships six built-in roles (owner, admin, developer, editor, annotator, and viewer), and you can assign and change member roles from the workspace settings or through the API. Permission checks are always enforced. -Here's what's available in each version: +The commercial version adds **custom roles**: defining your own roles or changing what the built-in roles can do. -| Feature | Open Source | Commercial | -|---------|------------|------------| -| Prompt Management | ✅ | ✅ | -| Playground | ✅ | ✅ | -| Basic Authentication | ✅ | ✅ | -| Observability & Analytics | ✅ | ✅ | -| API Access | ✅ | ✅ | -| Human Evaluation | ✅ | ✅ | -| Automatic Evaluation | ✅ | ✅ | -| Custom Workflows | ✅ | ✅ | -| Multiple Organizations | ✅ | ✅ | -| Role-Based Access Control | ❌ | ✅ | -| Custom SSO | ❌ | ✅ | -| Support | ❌ | ✅ | +### Authentication and single sign-on + +The open-source version supports email/password login, email one-time codes, and third-party login providers that you configure at deployment time through environment variables. The built-in providers include Google, GitHub, Okta, Azure AD, GitLab, and others, plus SAML through BoxyHQ. If your team signs in through one identity provider that you as the operator configure once, the open-source version covers that. + +The commercial version adds **organization-managed SSO**: each organization configures its own OIDC provider from the app (SAML support is planned), verifies ownership of its email domain through DNS, and can enforce which sign-in methods its members may use. This is what teams usually mean by "enterprise SSO". + +### Audit logs -## Self-Hosting Agenta +Audit logs are commercial only. The commercial version records who did what across the workspace and provides a screen and an API to search those events. The open-source version has neither the screen nor the API. -- Open Source: Follow the [self-hosting guide](/self-host/quick-start). +## Self-hosting -- Enterprise: [Contact our team](mailto:team@agenta.ai) or [book a call](https://cal.com/mahmoud-mabrouk-ogzgey/demo). +- Open source: follow the [self-hosting guide](/self-host/quick-start). The self-hosted stack includes the full platform, including the agent runner and sandboxed code execution. There are no user limits or usage limits. -## Frequently Asked Questions +- Enterprise: the commercial features are also available self-hosted, including Bring Your Own Cloud deployments. [Contact our team](mailto:team@agenta.ai) or [book a call](https://cal.com/mahmoud-mabrouk-ogzgey/demo). + +## Frequently asked questions ### Can I use the open-source version in a commercial product? -Yes, the MIT license allows for commercial use without restrictions. + +Yes. The MIT license allows commercial use without restrictions. ### Is there a limit to how many users or applications I can create with the open-source version? -No, there are no artificial limits imposed on the open-source version. -### If I contribute code to Agenta, what license will it be under? -All contributions to the open-source repositories will be licensed under MIT. +No. Seat limits and usage quotas exist only on the cloud plans. The open-source version has no limits on users, applications, traces, or evaluations. ### Is it safe to use the open-source version in an enterprise environment? -Yes, there is no risk of executing any enterprise-restricted code when using the open-source version, as everything in our public repositories is MIT-licensed. -### What features remain commercial-only? +Yes. The open-source build contains only MIT-licensed code. The Enterprise-licensed code lives in separate `ee/` directories that are excluded from the open-source images and never loaded by the open-source build. -All functional features for building and evaluating LLM applications are now open source. The commercial version focuses on enterprise and team needs: -- Team Management: Role-based access control, SSO, and domain verification -- Support: Professional support with SLAs -- Enterprise Features: Custom SSO and other enterprise-specific capabilities +### If I contribute code to Agenta, what license will it be under? -The open-source version includes evaluations, observability, custom workflows, and prompt management. +Contributions outside the `ee/` directories are licensed under MIT. ### Can I get professional support for the open-source version? -Community support is available via GitHub and Discord. Professional support requires the commercial version. -### How do I upgrade from self-hosted open source to commercial features? +Community support is available through [GitHub](https://github.com/Agenta-AI/agenta) and [Slack](https://join.slack.com/t/agenta-hq/shared_invite/zt-37pnbp5s6-mbBrPL863d_oLB61GSNFjw). Professional support with SLAs requires a commercial plan. + +### How do I upgrade from self-hosted open source to the commercial features? + You have two options: -1. Switch to our cloud offering by [creating an account](https://app.agenta.ai) -2. [Contact our team](mailto:team@agenta.ai) or [book a call](https://cal.com/mahmoud-mabrouk-ogzgey/demo) for enterprise self-hosting + +1. Switch to the cloud offering by [creating an account](https://app.agenta.ai). +2. [Contact our team](mailto:team@agenta.ai) or [book a call](https://cal.com/mahmoud-mabrouk-ogzgey/demo) for enterprise self-hosting. diff --git a/docs/docs/misc/faq/index.mdx b/docs/docs/misc/faq/index.mdx index 9dfb09966f..c119bc52bc 100644 --- a/docs/docs/misc/faq/index.mdx +++ b/docs/docs/misc/faq/index.mdx @@ -26,10 +26,6 @@ These FAQs cover common questions about Agenta. ## Integrations
- - Does Agenta work with TypeScript? - How to use Agenta from TypeScript and other languages - What LLM providers does Agenta support? Supported model providers and custom endpoints diff --git a/docs/docs/misc/faq/integrations/llm-providers.mdx b/docs/docs/misc/faq/integrations/llm-providers.mdx index 43250a0596..d9b383831a 100644 --- a/docs/docs/misc/faq/integrations/llm-providers.mdx +++ b/docs/docs/misc/faq/integrations/llm-providers.mdx @@ -4,12 +4,12 @@ description: "Supported model providers and custom endpoints" slug: /faq/integrations/llm-providers --- -Agenta works with almost any provider. +Agenta has built-in support for OpenAI, Anthropic, Google Gemini, Mistral AI, Cohere, Groq, Together AI, OpenRouter, Perplexity AI, DeepInfra, and MiniMax. For these providers you add your API key under **Settings > Model Hub** and pick from a maintained model list. -Common providers include OpenAI, Anthropic, Cohere, OpenRouter, Perplexity AI, TogetherAI, DeepInfra, Groq, Gemini, Mistral AI, and Ollama. +Agenta also supports Azure OpenAI, AWS Bedrock, and Google Vertex AI. These are added as custom providers because they need more than an API key (for example a deployment URL, an AWS region, or service account credentials). -Agenta also supports AWS Bedrock, Azure OpenAI, and Vertex AI. +You can add any OpenAI-compatible endpoint as a custom provider. This covers self-hosted models (for example through Ollama), fine-tuned models, and custom deployments. -You can add any OpenAI compatible endpoint, including self hosted models and custom deployments. +You can also add models that are missing from a built-in provider's list, for example a newly released model on OpenRouter. -See [custom providers](/prompt-engineering/playground/custom-providers). +See [custom providers](/1.0/prompt-engineering/playground/custom-providers) for setup instructions. diff --git a/docs/docs/misc/faq/integrations/typescript.mdx b/docs/docs/misc/faq/integrations/typescript.mdx deleted file mode 100644 index 106e49bb09..0000000000 --- a/docs/docs/misc/faq/integrations/typescript.mdx +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: "Does Agenta work with TypeScript?" -description: "How to use Agenta from TypeScript and other languages" -slug: /faq/integrations/typescript ---- - -:::info -The same described here applies to other languages like JavaScript, Java, and Go. Agenta's API first approach enables integration with virtually any programming language. -::: - -Yes, Agenta can be used with TypeScript, though with varying levels of native support. - -## Prompt management - -We do not currently provide a native TypeScript SDK for prompt management. You can use the API directly — see the [Fetch Prompts via SDK/API](/prompt-engineering/integrating-prompts/fetch-prompt-programatically) guide for JS/TS examples, or browse the [Applications API Reference](/reference/api/applications) for the full list of prompt management endpoints. - -## Observability - -Agenta is OpenTelemetry compliant. You can auto instrument your TypeScript application using OpenTelemetry integrations such as [OpenLLMetry](https://github.com/traceloop/openllmetry-js). - -See [setting up OpenTelemetry](/observability/trace-with-opentelemetry/distributed-tracing#opentelemetry-tracing-without-agenta-sdk). - -## Evaluation - -You can evaluate prompts created in the UI. For custom workflows (agentic applications), we currently support Python in the playground. - -A practical workaround is to create a small Python wrapper that calls your TypeScript endpoint and then run evaluations against that wrapper from Agenta. - -:::tip -If you need help integrating, [create an issue on GitHub](https://github.com/agenta-ai/agenta/issues). -::: diff --git a/docs/docs/misc/faq/platform/api-rate-limits.mdx b/docs/docs/misc/faq/platform/api-rate-limits.mdx index a022177fcd..37b34329df 100644 --- a/docs/docs/misc/faq/platform/api-rate-limits.mdx +++ b/docs/docs/misc/faq/platform/api-rate-limits.mdx @@ -4,16 +4,20 @@ description: "Rate limits by endpoint type and plan" slug: /faq/platform/api-rate-limits --- -Agenta applies rate limits per organization to ensure fair usage and system stability. Limits vary by plan and endpoint type. +Rate limits apply to Agenta Cloud. If you self-host the open-source edition, Agenta does not enforce any rate limits; capacity is set by your own infrastructure. In self-hosted Enterprise deployments, limits are configured per deployment. -Each limit has two values. Burst is the maximum number of requests that can be served at once. Rate is the sustained number of requests per minute. +Agenta Cloud limits requests per organization. Limits vary by plan and endpoint type. -| Endpoint Type | Example | Free | Pro | Business | Enterprise | -|---------------|---------|------|-----|----------|------------| -| Data retrieval | `POST */retrieve` | 1,200 / 1,200 per min | 3,600 / 3,600 per min | 36,000 / 36,000 per min | Custom | -| Trace ingestion | `POST /otlp/v1/traces` | 1,200 / 1,200 per min | 3,600 / 3,600 per min | 36,000 / 36,000 per min | Custom | -| Queries and analytics | `POST /spans/*/query`, `POST /traces/query` | 120 / 1 per min | 180 / 1 per min | 1,800 / 1 per min | Custom | -| Other endpoints | General API calls | 120 / 120 per min | 360 / 360 per min | 3,600 / 3,600 per min | Custom | +Each limit has two values. Burst is the number of requests you can send back to back when you have not made requests recently. Refill is the number of requests added back to your budget per minute, which sets the sustained rate. Each endpoint type has its own budget, so using up one does not affect the others. + +Cells show burst / refill per minute. + +| Endpoint type | Example | Hobby | Pro | Business | Enterprise | +|---------------|---------|-------|-----|----------|------------| +| Configuration fetching and trace ingestion | `POST */retrieve`, `POST /otlp/v1/traces` | 1,200 / 1,200 | 3,600 / 3,600 | 36,000 / 36,000 | Custom | +| Trace queries and analytics | `POST /tracing/spans/query`, `POST /tracing/spans/analytics` | 120 / 1 | 180 / 1 | 1,800 / 1 | Custom | +| AI services | `POST /ai/services/tools/call` | 10 / 30 | 30 / 90 | 300 / 900 | Custom | +| All other endpoints | General API calls | 480 / 480 | 1,440 / 1,440 | 3,600 / 3,600 | Custom | ## Rate limit response diff --git a/docs/docs/misc/faq/platform/data-retention.mdx b/docs/docs/misc/faq/platform/data-retention.mdx index 78a655133c..51313458d8 100644 --- a/docs/docs/misc/faq/platform/data-retention.mdx +++ b/docs/docs/misc/faq/platform/data-retention.mdx @@ -4,13 +4,29 @@ description: "Data retention by plan" slug: /faq/platform/data-retention --- -Data retention varies by plan. +Retention applies to trace data. A trace is the record of one run: the model calls, the tool calls, timing, inputs and outputs, errors, and the evaluations and annotations attached to that run. -| Plan | Retention Period | -|------|------------------| -| Free | 30 days | -| Pro | 90 days | -| Business | 1 year | +## Agenta Cloud + +How long Agenta Cloud keeps trace data depends on your plan. + +| Plan | Trace data retention | +|------|----------------------| +| Hobby | 1 week | +| Pro | 1 month | +| Business | 3 months | | Enterprise | Custom | -After the retention period, traces and associated data are automatically deleted. +Agenta deletes trace data once it passes the limit for your plan. A cleanup job runs every 30 minutes, so data disappears shortly after it ages out. Deletion is permanent and there is no restore. + +If you need a trace for longer than your plan keeps it, export it or fetch it through the API before it ages out. + +Retention does not apply to the rest of your workspace. Your prompts, configurations, test sets, and evaluator definitions stay for as long as your account exists. + +To raise your retention period, move to a higher plan on the [pricing page](https://agenta.ai/pricing), or contact us about an Enterprise plan if you need a custom period. + +## Self-hosted + +Self-hosted deployments have no retention limit. Trace data lives in your own database and Agenta never removes it. The cleanup job that enforces retention on Agenta Cloud does not run against self-hosted deployments, and self-hosted plans do not set a retention period. + +If you want to cap how much history you keep, you control that yourself in your own database. diff --git a/docs/docs/reference/agents/01-agent-configuration.mdx b/docs/docs/reference/agents/01-agent-configuration.mdx new file mode 100644 index 0000000000..d9aca59209 --- /dev/null +++ b/docs/docs/reference/agents/01-agent-configuration.mdx @@ -0,0 +1,307 @@ +--- +title: "Agent configuration" +sidebar_label: "Agent configuration" +description: "Every field of the Agenta agent template: type, default, and allowed values." +--- + +An agent's configuration is one JSON object, the **agent template**. It is stored on a workflow revision and travels on the wire at `data.parameters.agent`. + +The schema is published as the catalog type `agent-template`. Fetch the live JSON Schema with: + +``` +GET /api/workflows/catalog/types/agent-template +``` + +The template rejects unknown keys. The `harness`, `runner`, and `sandbox` sub-objects also reject unknown keys at parse time and return HTTP `400`. + +For what these parts mean, see [Agents](/concepts/agents), [Instructions](/concepts/instructions), [Harnesses and models](/concepts/harnesses-and-models), and [Permissions](/concepts/permissions). + +## Top-level fields + +Every field is optional. An omitted field falls back to the default in the table. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `instructions` | object | No | `{"agents_md": ""}` | The agent's instruction documents. | +| `llm` | object | No | see [llm](#llm) | The model the agent runs on, its provider, and its credential connection. | +| `tools` | array | No | `[]` | Tools the agent can call. Each entry is one of the tool objects below. | +| `mcps` | array | No | `[]` | MCP servers exposed to the agent. | +| `skills` | array | No | `[]` | Skills the agent ships with. | +| `harness` | object | No | see [harness](#harness) | The coding agent to drive, plus its gating posture. | +| `runner` | object | No | see [runner](#runner) | The engine that drives the harness loop, plus the tool execution policy. | +| `sandbox` | object | No | see [sandbox](#sandbox) | Where the agent runs, plus its security boundary. | + +## instructions + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `agents_md` | string | No | A built-in hello-world text | The agent's system prompt. The harness receives it as `AGENTS.md`. | + +## llm + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `model` | string | No | `"gpt-5.6-luna"` | Model id in the provider's namespace. A `provider/model` string also parses, split on the first `/`. | +| `provider` | string or `null` | No | `null` | Model provider. When unset, resolution infers it from a matching stored connection, and fails with an error when it cannot. | +| `connection` | object or `null` | No | `null` | Where the model credential comes from. Omit for the project default. | +| `extras` | object | No | `{}` | Model knobs passed through unchanged, for example `reasoning_effort`. | + +### llm.connection + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `mode` | `"agenta"` \| `"self_managed"` | No | `"agenta"` | `agenta` uses a connection stored in the project. `self_managed` injects no credential; the harness signs itself in. | +| `slug` | string or `null` | No | `null` | The named stored connection. Valid only with `mode: "agenta"`. Omit for the project default. Setting it with `self_managed` is rejected. | + +Which providers, deployments, and connection modes each harness can reach is served per harness: + +``` +GET /api/workflows/catalog/harnesses/{harness} +``` + +In the shipped table, `pi_core` and `pi_agenta` reach `openai`, `anthropic`, `gemini`, `mistral`, `groq`, `minimax`, `together_ai`, and `openrouter`, with deployments `direct` and `custom`. `claude` reaches `anthropic` only, with deployments `direct`, `custom`, `bedrock`, and `vertex_ai`, and selects its model by alias rather than by a `provider/model` string. + +## tools + +Each entry in `tools` is an object discriminated by `type`. Every entry also accepts the two shared fields below. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `permission` | `"allow"` \| `"ask"` \| `"deny"` \| `null` | No | `null` | Per-tool override of the runner policy. Absent means inherit `runner.permissions.default`. On a `builtin` entry it is not enforceable, so it is dropped and logged. | +| `render` | object or `null` | No | `null` | Display hint carried through to the client. | + +### type: builtin + +A tool the harness itself provides. Present means the agent has it. Absent means it does not exist for that agent. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"builtin"` | Yes | | | +| `name` | string | Yes | | Built-in tool name. | + +Pi built-in names are `read`, `bash`, `edit`, `write`, `grep`, `find`, and `ls`. `read`, `grep`, `find`, and `ls` are read-only for permission purposes. Claude Code has no Pi built-ins; its Agenta tools are delivered over MCP. + +### type: gateway + +One action from a built-in integration. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"gateway"` | Yes | | | +| `provider` | string | No | The built-in integrations gateway | Which gateway serves the action. | +| `integration` | string | Yes | | The connected app. | +| `action` | string | Yes | | The single action to expose. | +| `connection` | string | Yes | | The account connection the action runs as. | +| `name` | string or `null` | No | `null` | Model-visible tool name. | + +### type: code + +A script the runner executes. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"code"` | Yes | | | +| `name` | string | Yes | | Model-visible tool name. | +| `description` | string or `null` | No | `null` | What the tool does. | +| `runtime` | `"python"` \| `"node"` | No | `"python"` | Script runtime. | +| `script` | string | Yes | | The script source. | +| `input_schema` | object | No | `{"type": "object", "properties": {}}` | JSON Schema for the tool's arguments. | +| `secrets` | array of string | No | `[]` | Names of secrets injected into the script's environment. | + +### type: client + +A tool the calling client fulfils instead of the server. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"client"` | Yes | | | +| `name` | string | Yes | | Model-visible tool name. | +| `description` | string or `null` | No | `null` | What the tool does. | +| `input_schema` | object | No | `{"type": "object", "properties": {}}` | JSON Schema for the tool's arguments. | + +### type: reference + +Another workflow exposed to the agent as a tool. Agenta runs it server-side. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"reference"` | Yes | | | +| `ref_by` | `"variant"` \| `"environment"` | No | `"variant"` | Which axis selects the workflow revision. | +| `slug` | string | Yes | | The workflow slug to reference. | +| `environment` | string or `null` | No | `null` | Environment slug. Required when `ref_by` is `"environment"`, rejected otherwise. | +| `version` | string or `null` | No | `null` | Pin a revision. Valid only with `ref_by: "variant"`. Absent means the latest revision. | +| `name` | string or `null` | No | `null` | Model-visible tool name. Defaults to `slug`. | +| `description` | string or `null` | No | `null` | What the tool does. | +| `input_schema` | object | No | `{"type": "object", "properties": {}}` | JSON Schema for the tool's arguments. | + +### type: platform + +An existing Agenta endpoint exposed as a tool. The catalog owns its description, endpoint, and request schema. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"platform"` | Yes | | | +| `op` | string | Yes | | Which catalog operation to expose, for example `discover_tools`. | + +## mcps + +Each entry declares one MCP server. See [Tools and integrations](/concepts/tools-and-integrations). + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `name` | string | Yes | | 1 to 128 characters matching `^[A-Za-z0-9._-]+$`. The name `agenta-tools` is reserved and rejected. | +| `connection` | object | Yes | | How Agenta reaches the server. | +| `policy` | object | No | `{"tools": {"mode": "all", "names": []}}` | Which of the server's tools are exposed, and at what permission. | + +### mcps[].connection + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `type` | `"http"` | No | `"http"` | Transport. `http` is the only value. | +| `url` | string | Yes | | The server URL. | +| `headers` | object of string | No | `{}` | Static request headers. | +| `credentials` | object | No | `{"type": "none"}` | Either `{"type": "none"}` or `{"type": "header_secret_refs", "headers": {"
": ""}}`. Secret values resolve at run time and are never stored in the configuration. | + +### mcps[].policy + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `tools.mode` | `"all"` \| `"include"` | No | `"all"` | `all` exposes every tool the server advertises. `include` exposes only `tools.names`. | +| `tools.names` | array of string | No | `[]` | Tool names to expose. Required with `include`, rejected with `all`. | +| `permission` | `"allow"` \| `"ask"` \| `"deny"` \| `null` | No | `null` | Permission applied to this server's tools. Absent means inherit `runner.permissions.default`. | + +## skills + +Each entry is an inline skill package. See [Skills](/concepts/skills). + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `name` | string | Yes | | 1 to 64 characters matching `^[a-z0-9]+(-[a-z0-9]+)*$`. | +| `description` | string | Yes | | 1 to 1024 characters. This is what the agent sees at the start of a session, and what decides when the skill loads. | +| `body` | string | Yes | | 1 to 50,000 characters. The skill's `SKILL.md` content after the frontmatter. | +| `files` | array | No | `[]` | Files laid beside `SKILL.md`. | +| `disable_model_invocation` | boolean | No | `false` | Hide the skill from the prompt so it loads only when invoked by name. | +| `allow_executable_files` | boolean | No | `false` | Allow bundled files to be marked executable. Sandbox policy must also allow it. | + +### skills[].files[] + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `path` | string | Yes | | 1 to 255 characters. Relative POSIX path. A leading `/`, a backslash, a `..` segment, or a root-level `SKILL.md` is rejected. | +| `content` | string | Yes | | UTF-8 text, up to 200,000 characters. | +| `executable` | boolean | No | `false` | Mark the file executable when it is written out. | + +## harness + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `kind` | `"pi_core"` \| `"pi_agenta"` \| `"claude"` | No | `"pi_core"` | Which coding agent to drive. | +| `permissions` | object | No | see [harness.permissions](#harnesspermissions) | Tool-use gating posture, applied by harnesses that gate. | +| `extras` | object | No | `{}` | Per-harness knobs passed through unchanged. For Pi, `system` replaces the base system prompt and `append_system` adds to it. Both are independent of `instructions.agents_md`. | + +| `kind` | Display name | Versioned slug | +|---|---|---| +| `pi_core` | Pi | `agenta:harness:pi_core:v0` | +| `pi_agenta` | Pi (Agenta) | `agenta:harness:pi_agenta:v0` | +| `claude` | Claude Code | `agenta:harness:claude:v0` | + +`pi_agenta` runs the same engine as `pi_core` with Agenta's own skills, tools, and base instructions forced on. + +### harness.permissions + +Applied by harnesses that gate tool use. Claude Code renders it into `.claude/settings.json` in the session working directory. Pi does not gate and leaves it empty. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `default_mode` | `"default"` \| `"acceptEdits"` \| `"plan"` \| `"bypassPermissions"` \| `null` | No | `null` | The harness's own default permission mode. | +| `allow` | array of string | No | `[]` | Per-tool rules approved without prompting. | +| `ask` | array of string | No | `[]` | Per-tool rules that raise a prompt. | +| `deny` | array of string | No | `[]` | Per-tool rules always rejected. | + +## runner + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `kind` | `"sidecar"` | No | `"sidecar"` | The engine that drives the harness loop. `sidecar` is the only value. | +| `permissions` | object | No | `{"default": "allow_reads"}` | The runner-enforced tool execution policy. | +| `extras` | object | No | `{}` | Per-runner knobs passed through unchanged. | + +### runner.permissions + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `default` | `"allow"` \| `"ask"` \| `"deny"` \| `"allow_reads"` | No | `"allow_reads"` | `allow` runs every tool without asking. `ask` requires approval for every tool. `deny` refuses every tool. `allow_reads` runs read-hinted tools and asks for everything else. | + +A value outside that set is rejected. A `permission` set on a single tool entry overrides this default for that tool. + +## sandbox + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `kind` | `"local"` \| `"daytona"` | No | `"local"` | Where the agent runs. | +| `permissions` | object or `null` | No | `null` | The declared security boundary. Unset means no declared boundary, and the field never reaches the wire. | +| `extras` | object | No | `{}` | Per-sandbox knobs passed through unchanged, for example a Daytona snapshot. | + +A deployment restricts which sandbox providers it accepts. A request naming a provider the deployment has not enabled is refused before the run starts. + +### sandbox.permissions + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `network.mode` | `"on"` \| `"off"` \| `"allowlist"` | No | `"on"` | Outbound network policy. | +| `network.allowlist` | array of string | No | `[]` | CIDR ranges allowed when `network.mode` is `"allowlist"`. | +| `filesystem` | `"on"` \| `"readonly"` \| `"off"` \| `null` | No | `null` | Declared only. Not enforced. | +| `enforcement` | `"strict"` \| `"best_effort"` | No | `"strict"` | `strict` fails the run when the boundary cannot be applied. | + +## The default template + +This is the value a new agent starts with. It is also the `default` on the agent workflow's `/inspect` parameters schema. + +```json +{ + "instructions": { + "agents_md": "You are a friendly hello-world agent running on the Agenta agent service.\n\n- Greet the user warmly.\n- Answer the user's message in one or two short sentences." + }, + "llm": { + "provider": "openai", + "model": "gpt-5.6-luna" + }, + "tools": [ + {"type": "builtin", "name": "read"}, + {"type": "builtin", "name": "bash"}, + {"type": "builtin", "name": "edit"}, + {"type": "builtin", "name": "write"} + ], + "mcps": [], + "harness": {"kind": "pi_core"}, + "runner": {"kind": "sidecar", "permissions": {"default": "allow_reads"}}, + "sandbox": {"kind": "local"} +} +``` + +An empty `tools` array grants no built-ins at all. The four entries above are what a new agent ships with. + +## Rejected shapes + +The parser returns HTTP `400` instead of falling back to a default when: + +| Sent | Error | Use instead | +|---|---|---| +| A flat `model` key on the template | Pre-migration flat key | `llm.model` | +| A flat `agents_md` key on the template | Pre-migration flat key | `instructions.agents_md` | +| `harness` or `sandbox` as a bare string | Pre-migration flat selector | `{"kind": "..."}` | +| A key other than `kind`, `permissions`, or `extras` inside `harness`, `runner`, or `sandbox` | Unknown selector key | One of the three allowed keys | +| A `runner.permissions.default` outside the four modes | Invalid permission default | `allow`, `ask`, `deny`, or `allow_reads` | + +## Embed references + +A `tools` or `skills` entry can be an `@ag.embed` reference instead of an inline object. Agenta resolves it into the inline shape server-side, before the runner sees it. + +```json +{ + "@ag.embed": { + "@ag.references": {"workflow": {"slug": "pdf-report"}}, + "@ag.selector": {"path": "parameters.skill"} + } +} +``` diff --git a/docs/docs/reference/agents/02-invoke-an-agent.mdx b/docs/docs/reference/agents/02-invoke-an-agent.mdx new file mode 100644 index 0000000000..5abec0165a --- /dev/null +++ b/docs/docs/reference/agents/02-invoke-an-agent.mdx @@ -0,0 +1,242 @@ +--- +title: "Invoke an agent" +sidebar_label: "Invoke an agent" +description: "The endpoint, request body, headers, and response shapes for running one agent turn over HTTP." +--- + +One turn of an agent conversation is one HTTP request. + +``` +POST {AGENTA_HOST}/services/agent/v0/invoke?project_id={PROJECT_ID} +``` + +This is the endpoint the playground drives. It is served by the agent workflow service, not by the `/api` surface, so it is not in the [API Reference](/reference/api/category). + +| Deployment | Host | +|---|---| +| Cloud (US) | `https://us.cloud.agenta.ai` | +| Cloud (EU) | `https://eu.cloud.agenta.ai` | +| Self-hosted | your Agenta origin | + +The same service also serves `POST /services/agent/v0/inspect`, which returns the agent workflow's resolved revision plus a ready-made invoke request. + +## Authentication + +| Item | Value | +|---|---| +| Header | `Authorization: ApiKey {API_KEY}` | +| Query parameter | `project_id={PROJECT_ID}` | + +The project is not read from the request body. The service checks the credential against the Agenta API before the run starts, and returns `401` for an invalid credential or `403` when the key may not run services in that project. + +## Request headers + +| Header | Values | Effect | +|---|---|---| +| `Content-Type` | `application/json` | Required. | +| `Accept` | `application/json` | One JSON response after the turn finishes. | +| | `text/event-stream` | Server-sent events. | +| | `application/x-ndjson`, `application/jsonl` | Newline-delimited JSON. | +| | absent or `*/*` | The server picks the format that matches what the handler produced. | +| `x-ag-messages-format` | `vercel` | Messages and frames use the Vercel AI SDK representation. Absent means the Agenta representation. | +| `x-ag-messages-transcript` | `last` \| `full` | `last` trims the output to the trailing unit of the turn. `full` returns the whole message list. | +| `x-ag-session-control` | `force` | Take over or attach to an existing run on the session. | +| `x-ag-workflow-embeds` | `resolve` | Resolve `@ag.embed` references in the configuration. | +| `x-ag-session-id` | a session id | Used when the body carries no `session_id`. | + +Each of the last four headers maps onto a field in the body's `flags` object (`stream`, `trim`, `force`, `resolve`). A value in `flags` wins over the header. + +See [Chat message format](/reference/agents/chat-message-format) for what each representation looks like. + +## Request body + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `data` | object | No | `null` | The turn's payload. See below. | +| `session_id` | string | No | server-minted | 1 to 128 characters matching `^[A-Za-z0-9._:-]{1,128}$`. When absent, the server mints one and returns it. An invalid value returns `400`. | +| `references` | object | No | `null` | Points the run at a stored configuration. See [Running a stored agent](#running-a-stored-agent). | +| `flags` | object | No | `null` | `stream`, `trim`, `force`, `resolve`. Each is a boolean. | +| `tags` | object | No | `null` | Free-form key-value pairs recorded on the trace. | +| `meta` | object | No | `null` | Free-form key-value pairs recorded on the trace. | +| `links` | object | No | `null` | `{trace_id, span_id}` pairs linking this run to another trace. | +| `selector` | object | No | `null` | `{key, path}`, used when resolving a reference through an environment. | +| `secrets` | object | No | `null` | Per-request secret values. | +| `credentials` | string | No | `null` | Credential passed to the run. | +| `version` | string | No | `"2025.07.14"` | Request contract version. | + +### data + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `inputs` | object | No | `null` | For an agent, `{"messages": [...]}`. | +| `parameters` | object | No | `null` | For an agent, `{"agent": {...}}`, the [agent template](/reference/agents/agent-configuration). | +| `revision` | object | No | `null` | An inline workflow revision. | +| `testcase` | object | No | `null` | A test case supplying the inputs. | +| `trace` | object | No | `null` | Trace context for the run. | +| `outputs` | any | No | `null` | Reserved. | + +## Running an inline configuration + +Send the whole agent template in `data.parameters.agent`. Nothing has to be stored first. + +```bash +curl -N -X POST \ + "https://eu.cloud.agenta.ai/services/agent/v0/invoke?project_id=019d952f-0000-0000-0000-000000000000" \ + -H "Authorization: ApiKey $AGENTA_API_KEY" \ + -H "Content-Type: application/json" \ + -H "Accept: text/event-stream" \ + -d '{ + "session_id": "019d952f-0000-0000-0000-000000000001", + "data": { + "inputs": { + "messages": [ + {"role": "user", "content": "List the files in the working directory."} + ] + }, + "parameters": { + "agent": { + "instructions": {"agents_md": "Be terse. Report only what you observed."}, + "llm": { + "provider": "openai", + "model": "gpt-5.6-luna", + "connection": {"mode": "agenta"} + }, + "tools": [ + {"type": "builtin", "name": "bash"}, + {"type": "builtin", "name": "read"} + ], + "mcps": [], + "skills": [], + "harness": {"kind": "pi_core"}, + "runner": {"kind": "sidecar", "permissions": {"default": "allow_reads"}}, + "sandbox": {"kind": "local"} + } + } + } + }' +``` + +## Running a stored agent + +Send `references` instead of `data.parameters`. Agenta fetches the stored revision and runs it. + +```json +{ + "session_id": "019d952f-0000-0000-0000-000000000001", + "references": { + "workflow_revision": {"id": "019d952f-0000-0000-0000-000000000002"} + }, + "data": { + "inputs": { + "messages": [{"role": "user", "content": "Draft this week's changelog."}] + } + } +} +``` + +A reference is `{id, slug, version}`; supply whichever you have. `id` is always sufficient. + +| Family | Keys | +|---|---| +| Workflow | `workflow`, `workflow_variant`, `workflow_revision` | +| Application | `application`, `application_variant`, `application_revision` | +| Evaluator | `evaluator`, `evaluator_variant`, `evaluator_revision` | +| Environment | `environment`, `environment_variant`, `environment_revision` | + +Two rules govern this object: + +- Populate exactly one of the workflow, application, and evaluator families. Two of them together returns `400`. The environment keys combine with any of the three. +- The stored configuration is fetched only when `data.parameters` is absent. Sending both means the inline parameters run and the reference identifies the run. + +## JSON response + +With `Accept: application/json` the response arrives once, after the turn finishes. + +```json +{ + "version": "2025.07.14", + "status": {"code": 200, "message": "Success"}, + "trace_id": "019d952f000000000000000000000003", + "span_id": "019d952f00000004", + "session_id": "019d952f-0000-0000-0000-000000000001", + "data": { + "outputs": { + "messages": [ + {"role": "tool", "content": "", "tool_call_id": "call_019d952f", "tool_name": "bash", "input": {"command": "ls"}}, + {"role": "tool", "content": "AGENTS.md\nREADME.md\n", "tool_call_id": "call_019d952f", "is_error": false}, + {"role": "assistant", "content": "Two files: AGENTS.md and README.md."} + ], + "stop_reason": "end_turn" + } + } +} +``` + +| Field | Type | Description | +|---|---|---| +| `version` | string | Response contract version. | +| `status.code` | integer | Repeated as the HTTP status code. | +| `status.message` | string | Status text. | +| `status.type` | string or `null` | Error type, when the run failed. | +| `status.stacktrace` | string, array of string, or `null` | Present on some failures. | +| `trace_id` | string or `null` | The run's trace. | +| `span_id` | string or `null` | The run's span. | +| `session_id` | string or `null` | The resolved session id. | +| `data.outputs.messages` | array | The folded turn. | +| `data.outputs.stop_reason` | string | Present when the turn produced one. `paused` means the run stopped for an approval. | +| `data.outputs.pending_interaction` | object | Present when `stop_reason` is `paused`. Carries the interaction `id`, `kind`, `payload`, and the derived `tool` name. | + +Fields that are `null` are omitted from the response. + +## Streaming response + +With `Accept: text/event-stream`, frames arrive as server-sent events for the length of the turn. With `application/x-ndjson` or `application/jsonl` the same objects arrive as newline-delimited JSON. + +Add `x-ag-messages-format: vercel` for the Vercel AI SDK UI Message Stream, which terminates with `data: [DONE]`. Without it, each frame is a raw Agenta event and there is no terminator. Frame vocabularies for both are in [Chat message format](/reference/agents/chat-message-format). + +## Response headers + +| Header | Present when | +|---|---| +| `x-ag-version` | always | +| `x-ag-trace-id` | the run produced a trace | +| `x-ag-span-id` | the run produced a span | +| `x-ag-session-id` | a session is in play | +| `baggage` | a session is in play, carrying `ag.session.id=` | +| `traceparent` | both a trace id and a span id exist | +| `x-vercel-ai-ui-message-stream: v1`, `x-ag-messages-format: vercel`, `x-ag-messages-version: v1` | the Vercel UI Message Stream was requested | + +## Continuing a conversation + +Reuse the same `session_id` across turns and send the conversation so far in `data.inputs.messages`. + +A turn that stops for an approval ends with `stop_reason: "paused"`. Two ways to answer it exist. + +**In band.** Re-post the paused assistant message with the decision recorded on its tool part, in the same `session_id`. This is what the playground does. The shape is in [Chat message format](/reference/agents/chat-message-format#answering-an-approval). + +**Out of band.** Answer the interaction record through the API: + +``` +POST /api/sessions/interactions/{interaction_id}/respond +``` + +with a body of `{"answer": {...}}`. Related endpoints: + +| Method and path | Purpose | +|---|---| +| `POST /api/sessions/interactions/query` | List interactions for a session. | +| `GET /api/sessions/interactions/{interaction_id}` | Fetch one interaction. | +| `POST /api/sessions/interactions/{interaction_id}/respond` | Answer a pending interaction. | +| `POST /api/sessions/interactions/transition` | Move an interaction to another status. | + +An interaction has a `kind` of `user_approval`, `user_input`, or `client_tool`, and a `status` of `pending`, `responded`, `resolved`, or `cancelled`. Responding to an interaction that is not `pending` returns `409`. + +## Errors + +| Status | Cause | +|---|---| +| `400` | The agent template uses a pre-migration flat key, or an unknown key inside `harness`, `runner`, or `sandbox`. The `runner.permissions.default` value is not one of the four modes. The `session_id` does not match the allowed pattern. Two execution reference families are populated at once. | +| `401` | Missing or invalid credential. | +| `403` | The credential may not run services in that project. | +| `406` | `Accept` asked for a stream but the handler produced a batch response, or the reverse. | +| `4xx` / `5xx` in `status.code` | A run that fails returns a JSON body with the real status, even when a stream was requested. | diff --git a/docs/docs/reference/agents/03-batch-runs.mdx b/docs/docs/reference/agents/03-batch-runs.mdx new file mode 100644 index 0000000000..c82dab27b9 --- /dev/null +++ b/docs/docs/reference/agents/03-batch-runs.mdx @@ -0,0 +1,132 @@ +--- +title: "Batch runs" +sidebar_label: "Batch runs" +description: "Agenta has no batch endpoint for agents. Run an agent over many inputs by sending one invoke request per input." +--- + +Agenta has no endpoint that accepts a list of inputs and runs an agent once per entry. `POST /services/agent/v0/invoke` takes one message list and produces one turn. The request body carries `data.inputs` as a single object, not an array. + +To run an agent over many inputs, send one request per input and manage the fan-out in your own code. + +## One request per input + +```python +# /// script +# requires-python = ">=3.10" +# dependencies = ["httpx>=0.27"] +# /// +import asyncio +import os +import uuid + +import httpx + +BASE = "https://eu.cloud.agenta.ai" +PROJECT_ID = "019d952f-0000-0000-0000-000000000000" +REVISION_ID = "019d952f-0000-0000-0000-000000000002" +API_KEY = os.environ["AGENTA_API_KEY"] + +INPUTS = [ + "Summarize ticket 4821.", + "Summarize ticket 4822.", + "Summarize ticket 4823.", +] + +CONCURRENCY = 4 + + +async def run_one(client: httpx.AsyncClient, gate: asyncio.Semaphore, text: str) -> dict: + async with gate: + response = await client.post( + f"{BASE}/services/agent/v0/invoke", + params={"project_id": PROJECT_ID}, + headers={ + "Authorization": f"ApiKey {API_KEY}", + "Accept": "application/json", + "Content-Type": "application/json", + }, + json={ + "session_id": uuid.uuid4().hex, + "references": {"workflow_revision": {"id": REVISION_ID}}, + "data": {"inputs": {"messages": [{"role": "user", "content": text}]}}, + }, + timeout=300.0, + ) + return response.json() + + +async def main() -> None: + gate = asyncio.Semaphore(CONCURRENCY) + async with httpx.AsyncClient() as client: + results = await asyncio.gather( + *(run_one(client, gate, text) for text in INPUTS) + ) + for text, result in zip(INPUTS, results): + outputs = (result.get("data") or {}).get("outputs") or {} + messages = outputs.get("messages") or [] + reply = messages[-1].get("content") if messages else "" + print(text, "->", reply) + + +asyncio.run(main()) +``` + +Field-by-field detail for the request and the response is in [Invoke an agent](/reference/agents/invoke-an-agent). + +## Choosing session ids + +The `session_id` decides whether the runs share a conversation. + +| Pattern | Effect | +|---|---| +| A fresh `session_id` per input | Each input runs as its own conversation, with its own session folder. Nothing carries over. | +| One `session_id` for every input, with the growing history in `data.inputs.messages` | One conversation. Each turn sees the previous ones, and the session folder persists across them. | +| No `session_id` | The server mints one per request and returns it in `session_id` and in the `x-ag-session-id` response header. | + + +## What the client handles + +| Concern | Behaviour | +|---|---| +| Concurrency | There is no server-side queue for these requests. Bound the fan-out in your own code. | +| Failures | Each run reports its own outcome in `status.code`. A failed run does not affect the others. | +| Approvals | Under a `runner.permissions.default` of `ask` or `allow_reads`, a run can stop with `stop_reason: "paused"` and wait for an approval. A default of `allow` never pauses. See [Permissions](/concepts/permissions). | +| Ordering | Concurrent runs complete in any order. | + +## Evaluation runs + +Agenta has a separate fan-out engine for evaluations. An evaluation run takes a testset revision and a workflow revision, and invokes the workflow once per testcase, bounded by `data.concurrency.batch_size`. It stores each result and computes metrics. + +| Method and path | Purpose | +|---|---| +| `POST /api/simple/testsets/` | Create a testset and its rows in one call. The response carries the `revision_id`. | +| `POST /api/simple/evaluations/` | Create an evaluation run. This also starts it. | +| `GET /api/simple/evaluations/{evaluation_id}` | Read the run's status at `data.status`. | +| `POST /api/simple/evaluations/{evaluation_id}/stop` | Stop a running evaluation. | +| `POST /api/evaluations/results/query` | Read the per-testcase results. | +| `POST /api/evaluations/metrics/query` | Read the run's metrics. | + +The run's steps are revision ids: + +```json +{ + "evaluation": { + "name": "Ticket summaries", + "data": { + "testset_steps": {"019d952f-0000-0000-0000-000000000010": "auto"}, + "application_steps": {"019d952f-0000-0000-0000-000000000002": "auto"}, + "repeats": 1, + "concurrency": {"batch_size": 10, "max_retries": 0, "retry_delay": 0} + } + } +} +``` + +Two constraints apply: + +- A run carries exactly one entry in `application_steps`. A run with more than one is never dispatched and stays in its running state. +- Each testcase is filtered against the target workflow's declared input schema before the call. The agent workflow declares one input, `messages`, so a testset column with any other name does not reach the agent. + +:::note +The playground's run-all control does not apply to agents. An agent runs from the chat composer, one turn at a time, so there are no testcase rows to fan out in the playground. +::: diff --git a/docs/docs/reference/agents/04-chat-message-format.mdx b/docs/docs/reference/agents/04-chat-message-format.mdx new file mode 100644 index 0000000000..b41345b3a3 --- /dev/null +++ b/docs/docs/reference/agents/04-chat-message-format.mdx @@ -0,0 +1,212 @@ +--- +title: "Chat message format" +sidebar_label: "Chat message format" +description: "Message roles, content blocks, tool calls, and the streamed frame types an Agenta agent produces." +--- + +Messages travel in and out of an agent at `data.inputs.messages` and `data.outputs.messages`. Two wire representations exist, selected by a request header. + +| `x-ag-messages-format` | Representation | +|---|---| +| absent, or `agenta` | Agenta messages and Agenta event frames | +| `vercel` | Vercel AI SDK `UIMessage` objects and UI Message Stream parts | + +The header is independent of `Accept`, which selects the transport. See [Invoke an agent](/reference/agents/invoke-an-agent). + +## Agenta message + +The agent runtime reads two fields from every inbound message. + +| Field | Type | Required | Default | Description | +|---|---|---|---|---| +| `role` | string | Yes | | The message author. A message with no `role` is dropped. | +| `content` | string or array of content blocks | No | `""` | The message body. A bare string is treated as a single `text` block. | + +```json +{"role": "user", "content": "Summarize the release notes for 0.106."} +``` + +The agent workflow's inputs schema declares `messages` as the `messages` catalog type, whose roles are `developer`, `system`, `user`, `assistant`, `tool`, and `function`. Fetch it with `GET /api/workflows/catalog/types/messages`. + +### Content blocks + +A content block is an object with a `type` and the fields that type uses. Keys are camelCase on the wire; the parser also accepts the snake_case spellings. + +| Field | Type | Used by | Description | +|---|---|---|---| +| `type` | string | all | `text`, `image`, `resource`, `tool_call`, or `tool_result`. | +| `text` | string | `text` | The text. | +| `data` | string | `image`, `resource` | Base64 payload. | +| `mimeType` | string | `image`, `resource` | Media type. | +| `uri` | string | `image`, `resource` | Location of the payload. | +| `toolCallId` | string | `tool_call`, `tool_result` | Ties a call to its result. | +| `toolName` | string | `tool_call`, `tool_result` | The tool's name. | +| `input` | any | `tool_call` | The arguments the model produced. | +| `output` | any | `tool_result` | What the tool returned. | +| `isError` | boolean | `tool_result` | `true` when the call failed. | + +Unset fields are omitted rather than sent as `null`. + +```json +{ + "role": "assistant", + "content": [ + {"type": "tool_call", "toolCallId": "call_019d952f", "toolName": "bash", "input": {"command": "ls docs"}}, + {"type": "tool_result", "toolCallId": "call_019d952f", "toolName": "bash", "output": "index.md\n", "isError": false} + ] +} +``` + +A `tool_call` block followed by its `tool_result` block is how a completed tool turn is replayed on a later turn, so the model resumes from the result instead of calling the tool again. + +## Vercel UIMessage + +With `x-ag-messages-format: vercel`, inbound messages are Vercel AI SDK `UIMessage` objects. + +| Field | Type | Required | Description | +|---|---|---|---| +| `id` | string | No | Message id. When the last message is an `assistant` message, its `id` is reused as the reply's `messageId`. | +| `role` | string | Yes | The message author. | +| `parts` | array | Yes | The message body. A message with no `parts` falls back to the Agenta message shape. | + +Agenta converts each part to content blocks before the run: + +| Inbound part `type` | Becomes | +|---|---| +| `text` | a `text` block | +| `file` | an `image` block when `mediaType` starts with `image/`, otherwise a `resource` block | +| `tool-`, `dynamic-tool` | a `tool_call` block, plus a `tool_result` block when the part carries `output`, `errorText`, or an approval decision | +| `tool-output-available`, `tool-output-error`, `tool-output-denied` | a `tool_result` block | +| `tool-approval-response` | a `tool_result` block keyed by `toolCallId` | +| `tool-approval-request` | dropped | +| anything else, including `reasoning` | dropped | + +A tool part's `state` decides the result block: + +| `state` | Result | +|---|---| +| `output-available` | `tool_result` with `output`, `isError: false` | +| `output-error` | `tool_result` with `output` set to `errorText`, `isError: true` | +| `output-denied` | `tool_result` carrying `{"approved": false}` | +| `approval-responded` | `tool_result` carrying `{"approved": }` and, when present, `interactionToken` | +| `input-available` | `tool_call` only, no result | + +## Answering an approval + +When a tool call needs approval the turn ends and the stream carries a `tool-approval-request` frame. To resume, send the paused assistant message back with the decision recorded inline on the gated tool part. + +```json +{ + "id": "019d952f-0000-0000-0000-000000000000", + "role": "assistant", + "parts": [ + { + "type": "tool-bash", + "toolCallId": "call_019d952f", + "input": {"command": "rm -rf build"}, + "state": "approval-responded", + "approval": {"id": "019d952f-0000-0000-0000-000000000001", "approved": true} + } + ] +} +``` + +Replay every part of the paused message, not only the gated one. The runner fingerprints the ordered tool-call ids in the history; a missing id evicts the warm session and the next turn starts cold. + +## Batch response messages + +With `Accept: application/json`, `data.outputs.messages` is the folded turn. Every message carries a `role` and a `content`. + +| Produced by | Shape | +|---|---| +| assistant text | `{"role": "assistant", "content": ""}` | +| a tool call | `{"role": "tool", "content": "", "tool_call_id": "...", "tool_name": "...", "input": {...}}` | +| a tool result | `{"role": "tool", "content": "", "tool_call_id": "...", "is_error": false}` | + +Reasoning, usage, file, and data events produce no message. + +`data.outputs` also carries `stop_reason` when the turn produced one, and `pending_interaction` when `stop_reason` is `paused`. + +With `x-ag-messages-format: vercel`, the same message list is projected into `UIMessage` objects before the response is returned. + +## Streamed frames: Agenta format + +With `Accept: text/event-stream` and no `x-ag-messages-format`, each frame is one SSE `data:` line holding `{"type": ..., "data": {...}}`. There is no terminating sentinel. + +``` +data: {"type": "message_delta", "data": {"id": "m1", "delta": "Here are "}} + +data: {"type": "done", "data": {"stopReason": "end_turn"}} + +``` + +With `Accept: application/x-ndjson` or `application/jsonl` the same objects are newline-delimited JSON instead. + +| `type` | `data` fields | +|---|---| +| `message` | `text` | +| `message_start` | `id` | +| `message_delta` | `id`, `delta` | +| `message_end` | `id` | +| `thought` | `text` | +| `thought_start` | `id` | +| `thought_delta` | `id`, `delta` | +| `thought_end` | `id` | +| `tool_call` | `id`, `name`, `input`, `rawInput`, `render` | +| `tool_result` | `id`, `output`, `data`, `isError`, `denied`, `render` | +| `interaction_request` | `id`, `kind` (`user_approval`, `user_input`, or `client_tool`), `payload` | +| `interaction_response` | `id`, `kind`, `payload` | +| `data` | `name`, `data`, `transient` | +| `file` | `url`, `mediaType` | +| `usage` | `input`, `output`, `total`, `cost` | +| `error` | `message` | +| `done` | `stopReason`, `traceId` | + +A `tool_call` may be emitted more than once for the same `id`. The first carries the announcement; a later one refreshes the arguments. Prefer `rawInput` over `input` when it is present. + +## Streamed frames: Vercel format + +With `Accept: text/event-stream` and `x-ag-messages-format: vercel`, each frame is one SSE `data:` line holding a UI Message Stream part, and the stream ends with `data: [DONE]`. Lines starting with `:` are keepalive comments and carry no data. + +Response headers on this path include `x-vercel-ai-ui-message-stream: v1`, `x-ag-messages-format: vercel`, and `x-ag-messages-version: v1`. + +| Part `type` | Fields | +|---|---| +| `start` | `messageId`, `messageMetadata.sessionId` | +| `start-step` | | +| `text-start` / `text-delta` / `text-end` | `id`; `delta` on the delta part | +| `reasoning-start` / `reasoning-delta` / `reasoning-end` | `id`; `delta` on the delta part | +| `tool-input-start` | `toolCallId`, `toolName` | +| `tool-input-available` | `toolCallId`, `toolName`, `input` | +| `tool-output-available` | `toolCallId`, `output` | +| `tool-output-error` | `toolCallId`, `errorText` | +| `tool-output-denied` | `toolCallId` | +| `tool-approval-request` | `approvalId`, `toolCallId` | +| `data-input-request` | `id`, `data` | +| `data-interaction` | `id`, `data.kind`, `data.payload` | +| `data-render` | `data.toolCallId`, `data.render` | +| `data-committed-revision` | `data.variantId`, `data.revisionId`, `data.version` | +| `data-` | `data`, `transient` | +| `file` | `url`, `mediaType` | +| `error` | `errorText` | +| `finish-step` | | +| `finish` | `finishReason`, `messageMetadata.usage`, `messageMetadata.traceId` | + +A turn always opens with `start` and `start-step` and always closes with `finish-step` and `finish`, including when it fails. A turn that produced no content parts emits an `error` part reading `The agent produced no output.` + +`tool-input-available` is emitted more than once for one tool call while its arguments stream in, and `toolName` can change case between frames. Only the last frame for a given `toolCallId` holds the final arguments. + +### finishReason + +The model's raw stop reason is mapped onto the AI SDK set before it is sent. + +| Raw stop reason | `finishReason` | +|---|---| +| `end_turn`, `stop_sequence` | `stop` | +| `max_tokens` | `length` | +| `tool_use`, `tool_calls`, `function_call` | `tool-calls` | +| `refusal`, `content_filter` | `content-filter` | +| `paused`, `cancelled` | `other` | +| anything else | `unknown` | + +Values already in the set (`stop`, `length`, `content-filter`, `tool-calls`, `error`, `other`, `unknown`) pass through unchanged. A turn paused for an approval finishes with `other`. diff --git a/docs/docs/reference/api-guide/04-versioning.mdx b/docs/docs/reference/api-guide/04-versioning.mdx index 66940dde99..8e375eb203 100644 --- a/docs/docs/reference/api-guide/04-versioning.mdx +++ b/docs/docs/reference/api-guide/04-versioning.mdx @@ -6,7 +6,7 @@ sidebar_position: 4 Applications, workflows, evaluators, testsets, and environments share a single versioning model. Each resource is stored as an **artifact** with one or more **variants**, and each variant accumulates **revisions**. The model is modelled on git: an artifact is a repository, a variant is a branch, a revision is a commit. The payload you care about (the prompt, the workflow configuration, the testset rows, the evaluator settings, the environment pointer) lives on the revision. -This page documents the pattern. The per-resource pages ([applications](/reference/api-guide/applications), [workflows](/reference/api-guide/workflows), [evaluators](/reference/api-guide/evaluators), [testsets](/reference/api-guide/testsets)) describe the payloads that differ per domain. For a higher-level overview that ties versioning to environments and deployment, see [Core Concepts](/concepts/concepts). +This page documents the pattern. The per-resource pages ([applications](/reference/api-guide/applications), [workflows](/reference/api-guide/workflows), [evaluators](/reference/api-guide/evaluators), [testsets](/reference/api-guide/testsets)) describe the payloads that differ per domain. For a higher-level overview that ties versioning to environments and deployment, see [Core Concepts](/1.0/concepts/concepts). ## The three entities @@ -18,7 +18,7 @@ This page documents the pattern. The per-resource pages ([applications](/referen IDs are stable across the entire lifecycle. A deployment or trace that references a revision ID continues to resolve to the same snapshot forever. -Environments sit alongside this model. An environment (`development`, `staging`, `production`) is a named pointer to a specific revision. Deploying updates the pointer; it does not modify the revision. See [Core Concepts](/concepts/concepts#environments) for the full picture. +Environments sit alongside this model. An environment (`development`, `staging`, `production`) is a named pointer to a specific revision. Deploying updates the pointer; it does not modify the revision. See [Core Concepts](/1.0/concepts/concepts#environments) for the full picture. ## Committing a revision diff --git a/docs/docs/reference/api-guide/05-applications.mdx b/docs/docs/reference/api-guide/05-applications.mdx index ad4ff18b65..15a0dbbb9c 100644 --- a/docs/docs/reference/api-guide/05-applications.mdx +++ b/docs/docs/reference/api-guide/05-applications.mdx @@ -13,7 +13,7 @@ Agenta ships two built-in application types: | `completion` | Single-turn prompt completion. Takes inputs, returns a structured output. | | `chat` | Multi-turn chat. Takes a message history, returns the next message. | -[Custom workflows](/custom-workflows/overview) are also applications. They let you point Agenta at your own HTTP handler or code, so the prompt, model parameters, and runtime behaviour live in your service while versioning, deployment, and invocation stay in Agenta. +[Custom workflows](/1.0/custom-workflows/overview) are also applications. They let you point Agenta at your own HTTP handler or code, so the prompt, model parameters, and runtime behaviour live in your service while versioning, deployment, and invocation stay in Agenta. Each revision can be used in two ways: invoked directly through Agenta's hosted runtime, or read for its configuration so your own runtime picks up the latest prompt and parameters. diff --git a/docs/docs/reference/api-guide/10-tracing.mdx b/docs/docs/reference/api-guide/10-tracing.mdx index 53b10a8400..a85ecf4864 100644 --- a/docs/docs/reference/api-guide/10-tracing.mdx +++ b/docs/docs/reference/api-guide/10-tracing.mdx @@ -106,7 +106,7 @@ So a single evaluation run leaves behind one invocation trace per (testcase × s :::info Most callers don't need this directly -The Agenta SDK and OTel auto-instrumentation handle ingestion for you in the common cases. See [Observability](/observability/overview) for the SDK setup. Use the endpoints below only when you have a custom integration that bypasses the SDK. +The Agenta SDK and OTel auto-instrumentation handle ingestion for you in the common cases. See [Observability](/1.0/observability/overview) for the SDK setup. Use the endpoints below only when you have a custom integration that bypasses the SDK. ::: @@ -203,7 +203,7 @@ The legacy `/tracing/traces/query` and `/tracing/spans/query` paths are deprecat ### Ingest spans from your runtime -For programmatic ingestion of nested traces, point any OTel exporter at `POST /otlp/v1/traces`. The Agenta SDK and the OTel auto-instrumentation set this up for you; see [Observability](/observability/overview) for SDK setup, or the [OpenTelemetry exporter documentation](https://opentelemetry.io/docs/specs/otlp/#otlphttp) if you're configuring a raw OTel collector. +For programmatic ingestion of nested traces, point any OTel exporter at `POST /otlp/v1/traces`. The Agenta SDK and the OTel auto-instrumentation set this up for you; see [Observability](/1.0/observability/overview) for SDK setup, or the [OpenTelemetry exporter documentation](https://opentelemetry.io/docs/specs/otlp/#otlphttp) if you're configuring a raw OTel collector. ### Record a single annotation diff --git a/docs/docs/reference/api/add-scenarios.ParamsDetails.json b/docs/docs/reference/api/add-scenarios.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/add-scenarios.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/add-scenarios.RequestSchema.json b/docs/docs/reference/api/add-scenarios.RequestSchema.json new file mode 100644 index 0000000000..dd9543976b --- /dev/null +++ b/docs/docs/reference/api/add-scenarios.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","required":["count"],"title":"AddScenariosRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/add-scenarios.StatusCodes.json b/docs/docs/reference/api/add-scenarios.StatusCodes.json new file mode 100644 index 0000000000..f2d1c0c6cf --- /dev/null +++ b/docs/docs/reference/api/add-scenarios.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/add-scenarios.api.mdx b/docs/docs/reference/api/add-scenarios.api.mdx new file mode 100644 index 0000000000..ee2e424be7 --- /dev/null +++ b/docs/docs/reference/api/add-scenarios.api.mdx @@ -0,0 +1,69 @@ +--- +id: add-scenarios +title: "Add Evaluation Scenarios" +description: "Add Evaluation Scenarios" +sidebar_label: "Add Evaluation Scenarios" +hide_title: true +hide_table_of_contents: true +api: eJy9WG1vGzcM/isGP7XAJXaCFt3u09w0RbJmTZa4HbDACOgTE6vTvVQvST3j/vtA6e589vmtRbp+Sa0jH1KPKIrkHCw+GIhv4fQRlUMr88zAOIK8IO1/nQuIAYW4MwllqGVuIIICNaZkSbPqHDJMCWKgBuJOCohAZhBDgXYKEWj66qQmAbHVjiIwyZRShHgOdlawsrFaZg8QwX2uU7QQg3MexUqrWGDhYO9cQFmOAygZ+zYXM0ZatZHkmaXM8icsCiUTr93/YvKM1xYuFJq3ayUZ/pXkLihVnsnM0gPplisnXqLkhZSMxbTwNrLZ5b3nY+OWBFo6YCUoo0Ysc0oBb6eGHzWoJdsIUvnkCyV2icnbytWW6lCIm/qc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38i0UNRfjMpMf740Nyv7zQykj4JfAEP6sZ60Oa0YBQvpQyD8nFpbmLjfJ3eYqNyJQ3ygzOIhyiA4ZozEaWlnHmR4df6BZmeEPq/cjtsCNxy5IRaXxZrzw0J+IGa0mvoNnZ3mWv4bAqya+k2DFlPGd+J6Mag7/YbMQGtGNFh6ceF4cPzqYPDm4PjX0dHr+PVRfPzL4eDN0d8hxu7zdogN/UZ7w6tz6JxN+xNfV0x8dNZe+88QrVC4YI6zauovK1jC9Lfmy1K1BYPDo8MBL/E5V21zbWJzdCy52jDLt6BfKJT+nnrH5lXg3EIIHPaqNaiNIF4durbHtBw/4wimHILxLcznEzT0Sauy5GUezHBAjCN4RC1xwpTezkFIw/8XVUPe8bbJffDiurqeL3uLDm15F3XQZBwx7Cr/ggj+oVlnYuwz2LQOy3klcxLMHfg8s8DopF2+D0FjmCRU2K2y49YNvbq8GUEEk2qKnOaCdTQ+cf7Bp+BvXgTGeczMa3NQmD04zpQxBEz+9x8WjPJC +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Add Evaluation Scenarios + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/add-steps.ParamsDetails.json b/docs/docs/reference/api/add-steps.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/add-steps.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/add-steps.RequestSchema.json b/docs/docs/reference/api/add-steps.RequestSchema.json new file mode 100644 index 0000000000..3d833a0856 --- /dev/null +++ b/docs/docs/reference/api/add-steps.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"steps":{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array","title":"Steps"}},"type":"object","required":["steps"],"title":"AddStepsRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/add-steps.StatusCodes.json b/docs/docs/reference/api/add-steps.StatusCodes.json new file mode 100644 index 0000000000..43fbfeddf9 --- /dev/null +++ b/docs/docs/reference/api/add-steps.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/add-steps.api.mdx b/docs/docs/reference/api/add-steps.api.mdx new file mode 100644 index 0000000000..64c5de21d0 --- /dev/null +++ b/docs/docs/reference/api/add-steps.api.mdx @@ -0,0 +1,69 @@ +--- +id: add-steps +title: "Add Evaluation Steps" +description: "Add Evaluation Steps" +sidebar_label: "Add Evaluation Steps" +hide_title: true +hide_table_of_contents: true +api: eJztWktz2kgQ/itUn5IqxTipPXFagp2yN/HaCyQXF0U1mgEmO3pkHl4TSv99q2ckkEASmDgHVzkXB6nn657unn5p1mBwoaF3D5cPKC0akcQaJgEkKVfu1zWDHiBjU214qiGAFBVG3HBFy9YQY8ShB3yzfCoYBCBi6EGKZgkBKP7DCsUZ9IyyPAAdLnmE0FuDWaW0WBsl4gUEME9UhAZ6YK1DMcJIItgK17lmkGUTD8q1+ZiwFSHt8giT2PDY0CtMUylCt7r7XScxPduKkCraqhFcu+duk701CMMjvf/+X76qk7uQ8zNfQRbkr/fJeGwj0rWIU2uckh4SLxgEgHGcGP9jskUcE0QWQKLEQsRtoKHVJokggKWN0AFak5Shbj1ERrqbc8Xj0O8JGRPEFuVdZa/VnT9wpYVXHsar27kzflWWLNg8ia2UkJWYf8uXZwFoaRenwoxobRaAYG0Iu47Uhuj8qTAZJLPvPDQliw4LVcExRNrJRtbVVfl+wZ1q+G6d/d5BTOpOytDGF2hwZHh6TRJVfBNQKVy1K8ZvIyvO686OqhspB4UyVZNvHWF7ERu+4KoqYzSrPpklieQ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8ffEMpmL8OcUld1ekfDxg3KGTLhQeZhJW3T0mSk+YPLl+K1ogOr160OeUN1xoXvK312iiSlNEpuirfiBF5uS5wMwvzWILZs8eAdPloDrot6caLn9OVW6KNibyFmlVx4U3Q5iBX4/HdHqD3j6pj9BnrlO7KjPIrOxE3y4Tu8aSJNsXh7UFXiyiVvLu9u6O768pFnqzruucuMgpWmquH4tqPVZIQMBXO9P7n0phU97pdbs9CmVh2hgseGzxD4QknhBFaJczKgfTvrj/z1RVHxhX07idlAldCeB+skm3shqn47GJRfgWpb80yUeJn0XO7K0hLv4pURWdhuL01dPmItPvSiOA+j6Mlxyo82rf0RZ++bccrzXapkt+FcjvbdlqVjqrcAFRq1ixzR0jE86Tsxn2n1E7/7hr27F9+RSEBQ3cCCg251xDsmGtrJZo4RC4ggOEY/bl5U5kzwfnZ+7Nzl1ASbfLPGAWLeg/cGdPmeqVT1k0l+sGFE2qdO+c9eOckiUo30wLo7d40K+6lkY9OAliSi/fuYb2eoeZflcwyekwfyMjpJgE8oBI4I1Xer4EJTf9n+YeRPUk3cRXeDPOj/7az9YzqDgrHjMkrSUz6BUHuClXBnWmXhesX7jLw7N6NfQFcYOyFdDpzfkU/DHlqWmknpQhwdzsaQwCz/NpclDBao/A/cmb8z8ubpF7bdK+Onq1BYrywFIV74DHp3//XSNEG +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Add Evaluation Steps + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/archive-application-revision.StatusCodes.json b/docs/docs/reference/api/archive-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/archive-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/archive-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-application-revision.api.mdx b/docs/docs/reference/api/archive-application-revision.api.mdx index 9e0fe23dc8..57b91b2d86 100644 --- a/docs/docs/reference/api/archive-application-revision.api.mdx +++ b/docs/docs/reference/api/archive-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Soft-delete a revision." sidebar_label: "Archive Application Revision" hide_title: true hide_table_of_contents: true -api: eJztWs1z27YS/1cwuDSZR0tupiednmsnY7fJi8cf7cH2SBC5EhGDAAuAcvU0/N87C4AUKVKS7SiXjk+2pMVvsZ9YYHdFLZsbOrqjJ3kueMwsV9LQh4gmYGLNc/xMR/RazexRAgIsEEY0LLjhSg7u5b080XHKF5DU3xrCNJCUJwlIMtMqI5PhXwXo5YQwmZDJUKj5hGgwuZIGzL0spABjyITLWBQJjFlAHBGrC5gQbogBOyA3KZCLM6IhY1waRFBiwaYCyEzpe2k1i8E4HgnkQ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/wD+HSUe sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/archive-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/archive-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/archive-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/archive-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-evaluator-revision.api.mdx b/docs/docs/reference/api/archive-evaluator-revision.api.mdx index 71b843e38e..a1e3711c89 100644 --- a/docs/docs/reference/api/archive-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/archive-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Soft-delete an evaluator revision." sidebar_label: "Archive Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztWltv2zoS/isEX/YcrGLnFPtk4ACbTVoke9ptkMvZhzRwaGlssaFIlaSceg3998WQlCxZkp2k7sMu8pTYnvnmztvMmlq2MHRyR98vmSiYVd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riBuutN/c0L8V0n07Zd7/rT3NvVGX2BCb1/4jh/jzYTgeBFDx5hRuRS5YVw50M3ex6CPv94Tp4Yvt9+K8DYejZZzXESvmAyvU2f10+fvuni/AMBsd1+bxpieSiVn7FgXFeKdjsQssIl5Hb6NSY6i23BhFgRzHpiFQn5BI2mAdcx8kFpknANsSV1ypkI87PCeiAx064DxKZAqvc9MibhKZGMa8Qv0qbMumyeg18ZCCoAueRayQykPcJHAdegslHGLdkQKlaVPkSD5ljy1+an6o1669u6JaLyXCj16KEs0wuwpMgj19jyUMX2Adsn1ijxCKsJwUaTkmQsJ1wangDZMuMvBttkaqpR0Lnt4VBprWv0jKLRiFonWA5J5UcCliA2gduZI50Vv9GnslWu5BKEyoHMlSaMGC4Xom/lR32o8W/v3nUbYv5kgifuDZG4Av36bpgELOOitTS0BYSK21uFF2xD74fXlY8qvIHizbxZ9LUS9bzFepFhUUcGucFfq/OkE2+eiNyNp/3egOlE8xS5/G57I95c6JAbb36Qa73QVyHyERqm4syHYFd6nd/cXHYAfX5kYFOFrV+5MtY1edmUTui4zigzrvvSxuveZq9yHNrGKJZevawaxNwtHR2znLvo+o+ptbmZjMdQjGKhimTkXhXZiHEveI8YcaG5XTmQk8uLP2Dl74nc5qEh4M5HPs3aYnVoWM7/ACQrNKv5zgH+n+r93DWp+btAR2C1btedBs44cnJ50ZmIrZ9w9rDYJUulyf1Moy23N966bYybO9QCy/5e/9K6IKbHo99Gx/gVxidjsqnCs066vXHbxq430/t/oikxRA8n0TgXjMvGpa9P0LtNE5JxsypYSSM6GepIrLL0PqIpJvvkjq7XM2bgVouyxK/RQky7+9BzM8MkuFvThBv8P6lPf4Ps/nIV5vevZMiPKjUl5iWaip9oRB9hNdhO6UphWk2CdZA9iWNwF58VSqdy42ypZ/jl5+sbWpb/Bcwnz0A= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/archive-mount.ParamsDetails.json b/docs/docs/reference/api/archive-mount.ParamsDetails.json new file mode 100644 index 0000000000..63809830b6 --- /dev/null +++ b/docs/docs/reference/api/archive-mount.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/close-run-with-status.RequestSchema.json b/docs/docs/reference/api/archive-mount.RequestSchema.json similarity index 100% rename from docs/docs/reference/api/close-run-with-status.RequestSchema.json rename to docs/docs/reference/api/archive-mount.RequestSchema.json diff --git a/docs/docs/reference/api/archive-mount.StatusCodes.json b/docs/docs/reference/api/archive-mount.StatusCodes.json new file mode 100644 index 0000000000..eee3b3bbcb --- /dev/null +++ b/docs/docs/reference/api/archive-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-mount.api.mdx b/docs/docs/reference/api/archive-mount.api.mdx new file mode 100644 index 0000000000..003d76978b --- /dev/null +++ b/docs/docs/reference/api/archive-mount.api.mdx @@ -0,0 +1,69 @@ +--- +id: archive-mount +title: "Archive Mount" +description: "Archive Mount" +sidebar_label: "Archive Mount" +hide_title: true +hide_table_of_contents: true +api: eJy1VttuGzkM/RWDT1tAtb3BPs1Tvc0uGrTZGo27L4YRMDO0R61mRtUlqHegf19QmrHHl6RpkD75IvKQPIei2ILDjYVsCdeNr52FlYBGk0Enm/qqgAzQ5KW8p9uKz0GARoMVOTLs1UKNFUEG8fRWFiBA1pCBRleCAEPfvDRUQOaMJwE2L6lCyFpwW81+1hlZb0DAujEVOsjA+4jipFNsENMaXRUQworxrG5qS5YhLqZT/ijI5kZqThgyuPF5TtauvRp96oxBQN7UjmrH5qi1knmsb/LFsk87SEsbrt7JFCGPNe+zlbWjDZlBem87Vgpao1cOsmkQiYwYq95+XEeajnANoaPiFo+sHiSlQEevnawIgtiZ1V4pYFZ2ySTY0cxBEOB18SuCfE6wXZCCFP2CIJcJtgvS03W35Q57WpzYRk8h689t7K49Xy8apWdrF6Un7EWj9HTtoqRb+TD4Y2D/YBTn8F49D+pyABEEWOU3z4W6Yd8g4OVIS0xp03yh3HViPHUqzZNXx7Yla2VT/0DQR6tLCH2PoDsdRkH03s0dxz6ekZfsFASsVRzoP+n9d/Riq857XwUWhWQFUc0HiGmeH2I+VuGiw68o1fbS+NeMG86UuX+ClkOxV0cEnAE/h3bgs3tgQmDbPy4uTt+jf1HJIr42o7+MaczzH6OCHErF36Sj6lRiUE1+cPqERuwftLDa14rG4HZQ6ocmJRjVs5tz12QvgrW4idMjmTxsGskYLfiUb3WtfXpo+8sZ/+DZ774PYE50eMtcfnc/VJ65Sel3dgP99xIlhR6m4jJJ8FhjvFss5ieAqT8OG2OW9qrRdbdBVOTKhhcu3di0Z7kSMpjEZcJO2n7DCpNuIwMePOa+X8S8UWyOWkaB08/SOW2zyYT8OFeNL8a4odrhGGUyXDFG7o102wgym1+9p+07woIMZMvV0OCG+zJ12qHZTh3U8j0xX91SOPOubIz8L7VPtxmWyStE1dfNUPRZTG40m1/BCVvDI75AmMd+6SPFYxBHZe+rBQFUxesDjrB6szthtZnDFGY6/n08jc9CY12F9TDEkV5Hz2NHATfjRCuU8brEbNpOymXaCy0IyAbrcq/mSkDJymdLaNs7tPTZqBD472+eDMuzEnCPRuIdk7VsoZCWvxeQrVFZOklpN2fgt0/dVXg1AnE+1V7CmvW7R+X5Fwj4Stvheh8HRdn3R9sdz/KctBs4nsw1bqRdh88/3iwghP8BJZs7Rw== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Archive Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/archive-simple-application.StatusCodes.json b/docs/docs/reference/api/archive-simple-application.StatusCodes.json index e62734f03b..7fe983aa98 100644 --- a/docs/docs/reference/api/archive-simple-application.StatusCodes.json +++ b/docs/docs/reference/api/archive-simple-application.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"properties":{"playground_build_kit":{"anyOf":[{"properties":{"agent_template_overlay":{"anyOf":[{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-simple-application.api.mdx b/docs/docs/reference/api/archive-simple-application.api.mdx index 016ed54809..06ca8883d1 100644 --- a/docs/docs/reference/api/archive-simple-application.api.mdx +++ b/docs/docs/reference/api/archive-simple-application.api.mdx @@ -5,7 +5,7 @@ description: "Archive an application through the simple endpoint layer." sidebar_label: "Archive Simple Application" hide_title: true hide_table_of_contents: true -api: eJztWUtv2zgQ/isEL9sCqp0We/Je1pu0SLbdTZBHL4kR09LYYkuRKh9OvYb++2JIypb8TFIXWGBzsiXNfDPzDTkkh3Nq2cTQ3i3tl6XgKbNcSUMHCc3ApJqX+Ex7tK/TnE+BMEnYUpDYXCs3yYnNgRhelAIIyKxUXFoi2Ax0507eyfffHJ8yAdISq8jw4vzqmnQbMKY7bzzd86zqsmBv+BvRYJ2W5k6ijfg6aznBZdO+yVkJ5NUDtznh1hDBjCVfpXqQd3LKNGfSJkTDlBuuZEKYzMgwY5YNX3doQlUJ2qOeZbRHo7n7AH3fMEo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J9YejDh8o4Hz5x8AXv8+M4Ux73yQbPuEM7bT6LCC1IfgyVDFGNj4X3lesfH2Pdy5WpRSyS0AMZBe8II6+t9LMAcnpx/gFnsQnG+zd3bYFw+Ivp1RVbhgQq+QGJpPSJxmlctv7XXOmHLzRiozMQJ/XYtCMdVhtgpxfnm7uK9k80ayAPSdJoCj/zbM3tlbfUqivDnOEeofx9+QuFeNkk5Se9V70TekVxKUG3VaQPc2JF2PhYoXNRs5zW/5jPeVIG0AQ8rhRI3eqKx+S+4VER73xeQhvr/sanPE2G32W8oAnSv+Hz+QgcfrZqsaDX32q0lLJ36dQ6ogS6mXMhHf0vlsfinZF5cZlqwku2y/4mrTXlNH1RQk884/c42/wAKdTNopk58yR0mucYWsHN8I0yT1NsWQ4oxHyx+D++ek0x sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/archive-simple-evaluator.StatusCodes.json b/docs/docs/reference/api/archive-simple-evaluator.StatusCodes.json index 08c2b6a232..d50b7d8e32 100644 --- a/docs/docs/reference/api/archive-simple-evaluator.StatusCodes.json +++ b/docs/docs/reference/api/archive-simple-evaluator.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-simple-evaluator.api.mdx b/docs/docs/reference/api/archive-simple-evaluator.api.mdx index 9b70f1db69..538c463c15 100644 --- a/docs/docs/reference/api/archive-simple-evaluator.api.mdx +++ b/docs/docs/reference/api/archive-simple-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Soft-delete an evaluator via the simple surface." sidebar_label: "Archive Simple Evaluator" hide_title: true hide_table_of_contents: true -api: eJztWVlv2zgQ/isEn7aAaqfFPvlpvUmKZNtughx9SY10LI0sthSp8nDrNfTfFyQlWZKv1HWBXSBPbaw5vznIGS6pgZmmowd6PgduwUil6SSiCepYscIwKeiI3srUvEyQo0ECgmBNSuYMiMmQaJYXHIm2KoUYBx/FRzFWccbmqP13KxJUfMHEjIAyLIXYDMgF00YqFgMnRkHsScF8FApTVChiJLrAmKUsJgrnTDMpCEs0UZgDE0ShlnwOU44DGlFZoAJn7mVCRxSC8sdg12NjMI1oAQpyNKic10sqIEc6og3FI0toRJnzugCT0Ygq/GqZwoSOjLIYUR1nmAMdLalZFI5XG8XEjEY0lSoHQ0fUWi/FMMMdQQMtuUxoWU6cTF1IoVE7Ma9PTtw/PchtHKPWqeXkpiKmEY2lMCiMI4ei4Cz2Lg8/a8ezbJlWKAeIYUFDLG1gqixmwuAMVcvEU0/Rj/sr8i1D0Q05cwEwVglMInJCpMlQfWPaByHBFCw3dHRSRitIvbVicZV6wLuWpdyn33YCph9bnrZ8mErJEUTLh0tNxi3SljkpcI1l5IR1rNol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RyF2ywgiYF5xZjDBXzKwcyPT68i2u/BGcTh5mTQG39fjSaovV6YCMvUVLUPkmNM1NIhX7p3pOcI9CfsxypDERy2aW3eUukOn15dbSa32yKwZCVyCVJfeZBp2wN9HaQSF164UahPSP+otNbz2i0ZPRq9GJ/cnmJAXRNOFZJ75ZdF43WpdE9YL+Pzz7lamzq2accWCiMUz7inyg3kvaeJHSNKCTzpNfVZazgCa2oicPdL2eg8Z7xYvC/vw1R2XrbFZudXOb9Yc1jZi2/4/qnbSX0N9uykX8gvT5XtWisIVoPbR/0YB+wVX3mdK1uaQq9nUpMg1DdLNjpbzVle2qqFfv9dXtHS2KfwEw4FjU sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/archive-simple-workflow.StatusCodes.json b/docs/docs/reference/api/archive-simple-workflow.StatusCodes.json index dbfc15cc3b..7a2b42e02a 100644 --- a/docs/docs/reference/api/archive-simple-workflow.StatusCodes.json +++ b/docs/docs/reference/api/archive-simple-workflow.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-simple-workflow.api.mdx b/docs/docs/reference/api/archive-simple-workflow.api.mdx index 8c9f22cafd..a20a21617d 100644 --- a/docs/docs/reference/api/archive-simple-workflow.api.mdx +++ b/docs/docs/reference/api/archive-simple-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Archive Simple Workflow" sidebar_label: "Archive Simple Workflow" hide_title: true hide_table_of_contents: true -api: eJztWUtz2zgM/isanNoZNU47e/JpvUk7ybbdZPJoDxlPSkuwxZaiVD6cej367zsgKVnyu647s4ecEtvAB+ADCJLgHAybaOg/wOdCfRuL4knDMIaiRMUML+RlCn1gKsn4FB81z0uBj09BEmIomWI5GlQEMQfJcoQ+1AKPPIUYuIQ+lMxkEIPC75YrTKFvlMUYdJJhzqA/BzMrSVUbxeUEYhgXKmcG+mCtQzHcCBKo3YwuU6iqIUHqspAaNaG8OT2lPynqRPGSAoA+3NokQa3HVkQ3QRhiSAppUBoSZ2UpeOLi7X3VpDNveVYqYsNwbyEprFcKDnNpcIKq5eGZk4iXnPjy+kv0lKGMWORpjGqWIq4jhcYqiWkcfTkNcrKQGOXMJBmmJw5uzKww0D+t4oZh572cXY0d/V1Px8JldrMA14+tyFsxjYpCIJOtmC51NGiJtrwZM6GxigkMp0xYZgq1C+ptI7geSEtelmh2wdwGsfUgOZNsQpW2HeRjEFsPklhtinwXxpmXWg8hxE79D2KTclYU33ZpX5DMBveLFHc6TzKbKDRJtptAEloPMEZMRyzZGcK7Wm5DGBnbWQxnJLNGPWP60SqxVf2C6eheiU3qfhnvRLj1YhtAMiZTgduXBqFcBLkVmCquFYvRV0xMS+/WNZS6M75z676KG0PSCgHVkABWOgJLU05LmonrTm9YSCx528INvZq+WQ8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Zfo7jNx62GAkJUm/wciphw1GGrpGM95mPs6O20s+hqy/Zm5/ueTroFYathZWGsIOaqWha2HFyGry1Fq9Zl1eAQ7mXogc1/vb6h610uKpLt9q4TLol96nIUhGyAhTN+H8ahteDW1K2vxC9/gU1P+Xid2zzl/RmDSphMJq/ujufRbSUMegK+W6xV6PSVU5D7blzGZuZmEB02yRvuIUw4/hPqtXwRTTvNiFPYlor103Q+/e0aw9Vz8v/gdZ/C+XlHK5q7Kyz+QeitxzT2cdQ+G0n5k9FLMXgc99LZXBr0NT2ToyPbeT39pO6nhHdG7ofezIe4puOtmSvilqgcoecG/4ySOGjaGmqeC9xAENXAXIqGM3sErBVsjVc9TF+S9qK8aY2Oi7sFkkLB+imkJOKY0CXxGqNGpii3LSEz5Jfbw3i8PiumalP9682Txb/oRSpO5QNHqrtTvRfOLBckoWhduqhiJfF5BFsvL2Zz7S1k7Lfxetc4oiHOryaYOZbDuLX87PxuCElh/KblFHRnTDb5vV1om31ws3xdkfLZiNhJwwlz/s1qQt7xLuHDfe/SC3UutNinyGdlNx6lOwr0LObm4uNwB9fawWxsDfmUS+pKLPyzuTnGxW8LVKWRjr7lBsBn3o+WuBXnO0b3rz1j1K3QuXMBCDIT1tblzcdAM9LIXLu/+ZWVuafq9H1VEiiyo9cgeoeITCCw4ZI6m0sDMHMrg8f08zv7+G/t2wLeDWFV+Aq2KLpGEp3hPTGG5/BpXNCi3+ba4K3P2Pn6EctUKNi3YtuINbjAaX5xuXJiuv+LvCxJVRY8m9hngt7GW0PAXk7qsCS5j/uXjDRbCYv+D46PXRMT/ijOSo2iZ2pnHtACiQwdXaKyUK1Zo9fYbvwGcYltc3BmLor96WNWkexpBxffTvYD4foaFbLeuaH3+rSHPehmFhGDGLd3NIheH/08Wys+bhoi/Bi6vw6byMluvlqudNbhUnlq9r+BfE8ECztQs+11uypnbmQWKQJOTmrEZ3oxVykS0+hcuL6xuo6/8A1IXMtA== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/archive-workflow-revision.StatusCodes.json b/docs/docs/reference/api/archive-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/archive-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/archive-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/archive-workflow-revision.api.mdx b/docs/docs/reference/api/archive-workflow-revision.api.mdx index 9219bb8590..84a0f6987e 100644 --- a/docs/docs/reference/api/archive-workflow-revision.api.mdx +++ b/docs/docs/reference/api/archive-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Archive Workflow Revision" sidebar_label: "Archive Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztWktv4zgS/isELzuDVexMY08eLLDZpBvJTvd2kMfsIR04tFS22KFJDUm5x2vovy+KD0WyZDlJuy+LnBLbVV+xvioWH8UNtWxh6OSO/kfpx7lQ3wy9T6gqQDPLlbzI6IQyneZ8BdNvQWSqYcUNV5ImtGCaLcGCRpANlWwJdEI7klOe0YRySSe0YDanCdXwR8k1ZHRidQkJNWkOS0YnG2rXBWIYq7lc0ITOlV4ySye0LB2K5VagQBwxuQpGyEVGq+oesU2hpAGDcO+Oj/FPBibVvECn6IRel2kKxsxLQa6CME1oqqQFaVGcFYXgqeNg/NWgzqYxxEIjQ5Z7C6kqvVIYOZcWFqAbQz11EsnWIB5+eSDfcpCEkcgT4YZosKWWkCXk4TgISCWBLJlNc8hGDmfOSmHp5LhKumS78cv157kLSXustfCKac6knRpRLtoKbf6rpP5GlkJQ5LcTgd89GLlGsCqhhwDfxqxHfpARR1SmLZ+z9PuGehJAumONRPBsCHs7x1/EOSb9E+OHM9TGrz36AZ54C3UkDmehjkuwUNpc6YOBe7QqoRmz8ExUFD2yfAmD0GcIWCV0CcawxSD2EMynoF4ldC5cmd9dF7iZNkpeo5jNlBLAZKOYXRhy0hBtVKM5EwaqBMFgxUTJrKd7COp9LdgPZCQv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zj/0l9Otqxts5Z9Kcrv6x+Jk/HuvYsgqcluhlfKOAnGtFH2Aw9b7MJKA0htfWiJ3EM9l4wgHTyJcZevVouP1/f0Kr6H0ZtrWc= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/assign-role-to-user.api.mdx b/docs/docs/reference/api/assign-role-to-user.api.mdx index d349804a0e..c02f1f5664 100644 --- a/docs/docs/reference/api/assign-role-to-user.api.mdx +++ b/docs/docs/reference/api/assign-role-to-user.api.mdx @@ -1,11 +1,11 @@ --- id: assign-role-to-user title: "Assign Role To User" -description: "Assigns a role to a user in a workspace." +description: "Assign a role to a user in a workspace." sidebar_label: "Assign Role To User" hide_title: true hide_table_of_contents: true -api: eJztVk1z2zYQ/SuYPTkzrOR6euKpauJMNGnHHlluD7LGsyZXJBISYADQtsrhf+8swC9JjZqcU18sAvv59uEBDTjMLMQb+Eubz7bChCxsI0jJJkZWTmoFMSyslZmyAoXRBQmnBYrakhFSCRQvvefsQT2ohcls/KCEEKLCfaExFRf3lsxKF/QmFuuchvVEK4dSSZUJl5PQJkMl/0ZOKmQahRRUoiwigSodk/tyZiHJkP1RpuLCOtMlWb4TeufjTutjD0NfarJOXKzCj87hPVq3uF0O2/rpEyXO97QiVxvVt/WkdRGLtalJyJDBF/aCVtg6ScjaXV0U+65MSiPxHgtLQruczIu0AacVSkt9yA/r9e31a0Ie8FgsQ1jff6rJCqWdyPGZREWmlNYyQk7z106bUrhcWoEJO8/OBDQk2E4JMkabrr4e/R7cPvEMItAVGT+OZQoxBPtHNnx0+pGNIIIKDZbkyDCLGlBYEsQwnQpEIJlFFbocImB8paEUYmdqisAmOZUIcQNuX7GvdUaqDCJw0hW8MFBTLFNo222IQdb9ptM9Ox6HZGKRcryFVVXIxDcx/2SZzc0kY2W4RSfJ8pen2rlCrr1BGwFj4KOr/c3O933o0kbDiqqLArjmPggfBI4xpTujdCbvzfRkeAyi3jaw9ADWTdfIaYpJFf2RhLblaI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6ZGe9Ket7CuS5WGS8w/O25EO8lYW76iV+T4K7B3rpDrENBJYA4Cut7dbMO9D490cr+im7IErnkA4SYyxrSDzNKZvDfTZgcO5BBrnj9T6g9oXfcXOU0xqWKQE3Qdo1lytdEu8nB1ecm/DuV736QpObdtSnHXB8OPMx2z/HJ1dQr8J5Yqi1e7ttbY/4B61L+MfN9A5alypwGlSQ92f6B9SnvKyUK3GTlHa3E3ac/vJhbIXa1cfq6Tf5BzmIf+x5AzYmMyxIp3O56gugmEDNvLsNBJSP3bBGavhyHuPXP55v9VM8xNLL+Pm4hlbFHs0Pep+BBb8E/JhpCPq9XtCWDUR0W+MGw1tXE+eIsvIIH53k3cvJ06SzfnQXQgwZF9GSyosSUfwlqFRsbPwvvaJfM5NbO0NE02w5y0xxmqGLhhjLSxyu8CyOJ2+Yl2HwkzspCsN9OAe9ZfVNRh2L4LWKtPxLz0drhofGFsP4mDHxbxFF+clX03etr1G1Z1dJjek0Z5ROsZv09sZBQxKL01U80swp3F4nYJJ6/TdIvnD9Mgt+ECYRvkEZsjiSD3pXrC6tf9DtfBrYlpLmc/zy55iTtcoZ6miO8jm5JYGfEQn5eDKtvRGf6Pz2kvDh7HeV2iCoYRCG17qa/Hh5NVnRw9o1HtGwkFz0eyhrZ9RkcPtuw6Xv7akGX5biS8oFX4zF1ft5Apx39nkGyxdHSG1Yu73hLeie8VPEhcs75fsGz4CyR8od3xwx9MsxhmqO1D3sdsPwVrGyFOnJ6HN55YpCnV/mzsZuIetzf3K5Dw3P93UJmMz1h8ZQrxNZZrwu3DEIe1FkrUecPmnEDE5J9ve+dfPg== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -37,19 +37,11 @@ import Translate from "@docusaurus/Translate"; -Assigns a role to a user in a workspace. +Assign a role to a user in a workspace. Args: - payload (UserRole): The payload containing the organization id, user email, and role to assign. + payload (UserRole): The organization id, user email, and role to assign. workspace_id (str): The ID of the workspace. - request (Request): The FastAPI request object. - -Returns: - bool: True if the role was successfully assigned, False otherwise. - -Raises: - HTTPException: If the user does not have permission to perform this action. - HTTPException: If there is an error assigning the role to the user. + + + + + + + + +Cancel Stale Interactions + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/verify-permissions.ParamsDetails.json b/docs/docs/reference/api/check-permissions.ParamsDetails.json similarity index 100% rename from docs/docs/reference/api/verify-permissions.ParamsDetails.json rename to docs/docs/reference/api/check-permissions.ParamsDetails.json diff --git a/docs/docs/reference/api/verify-permissions.RequestSchema.json b/docs/docs/reference/api/check-permissions.RequestSchema.json similarity index 100% rename from docs/docs/reference/api/verify-permissions.RequestSchema.json rename to docs/docs/reference/api/check-permissions.RequestSchema.json diff --git a/docs/docs/reference/api/verify-permissions.StatusCodes.json b/docs/docs/reference/api/check-permissions.StatusCodes.json similarity index 100% rename from docs/docs/reference/api/verify-permissions.StatusCodes.json rename to docs/docs/reference/api/check-permissions.StatusCodes.json diff --git a/docs/docs/reference/api/check-permissions.api.mdx b/docs/docs/reference/api/check-permissions.api.mdx new file mode 100644 index 0000000000..0cd0fbc087 --- /dev/null +++ b/docs/docs/reference/api/check-permissions.api.mdx @@ -0,0 +1,69 @@ +--- +id: check-permissions +title: "Check Permissions" +description: "Check Permissions" +sidebar_label: "Check Permissions" +hide_title: true +hide_table_of_contents: true +api: eJy9Vl1P2zAU/SvVfbbaDu0pT6sYGhWbVkG3FxQh49w2hiQ2/kB0lf/7dO0mTVqQirTx1MY+9yPnHF9nC46vLWS3MBMCrYWcgdJouJOqmReQgShRPN5pNLW0VqrGAgPNDa/RoaHILTS8RsiACwoCBrKBDJ48mg0wMPjkpcECshWvLDKwosSaQ7YF3mx+rmIGt9GUwTojmzUE1q00vqog5AycdBUtzFKRQJhdXSuUxrsY8H9r31Ch0ZJ2j+vL4h9UZ7BSpuYOMvBeFid0My8GvRi0yhvxIXRc72odM9J18eGkdD1FXnKqZ7VqLFqqcDad0k+BVhipo5EyuPHR+Stfja53YGAgVOOwcbEvrSsp4omYPFiK2e67DiEEBp/Pzo4T/+aVLGLY6MIYZd6RFbShU+hk6rtAx2VF/6TD2h4DKiUGuyfIKRuHazQQ8sDaNW4MJ5FaNr+r1CAEBrVdU+ZDaVroD7SWrxG6ZG9DIxk705A7tI+EtNvzuBAYCPfSS6PuH1C4Xppz4vLFkfGOMHuX3UZuUvs7XM8ue4mSQm9T8TVJ8FqxFnK5XC6OEiZ/DI1xTiN1tBiM1BpdqWjertHFCetKyGDCozcnvfE7iQMZGFg0z+0E9qaKaC2jxOmxdE7bbDJBPxaV8sWYr7FxfMxlAuaUQ3gj3SYmmS3mV7i5RF6ggew27wNuyJnJa0NYpw/X8gqJsd0MmHlXKiP/8P6lUKaoEHVfqb7ss9jcaLaYwyFfgy06QlxEx7SV4jawg9fevy0wwDoeIHDI6y/dDulNHKYy0/Gn8ZSWtLKu5k2vxGuKDXrsaCBLTnTFZTw0saPtTs1bSGqSvINMSdGcQamsI9x2e88t/jJVCLScZidJVEjL76ve9HzETf/mfeaVpy6iC94AD67L0wPiKD8FfngFvSvmoEpOD0ZSSHQkax1EZKRQ+m7Rrhd1NFgpS3e8vl0sIYS/1pgJ4Q== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Check Permissions + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/close-run-with-status.ParamsDetails.json b/docs/docs/reference/api/close-run-with-status.ParamsDetails.json deleted file mode 100644 index 4caa75d978..0000000000 --- a/docs/docs/reference/api/close-run-with-status.ParamsDetails.json +++ /dev/null @@ -1 +0,0 @@ -{"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"status","in":"path","required":true,"schema":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"title":"Status"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/close-run-with-status.StatusCodes.json b/docs/docs/reference/api/close-run-with-status.StatusCodes.json deleted file mode 100644 index af6f5e9ecc..0000000000 --- a/docs/docs/reference/api/close-run-with-status.StatusCodes.json +++ /dev/null @@ -1 +0,0 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/close-run-with-status.api.mdx b/docs/docs/reference/api/close-run-with-status.api.mdx deleted file mode 100644 index 80b77ee25a..0000000000 --- a/docs/docs/reference/api/close-run-with-status.api.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -id: close-run-with-status -title: "Close Run" -description: "Close Run" -sidebar_label: "Close Run" -hide_title: true -hide_table_of_contents: true -api: eJzNWUtv20YQ/ivCnBKAsRyjJ52q2g6sJq5dycnFMIwVOZI2XS2ZfbhRBf73YnaXFEmJIu04RU8yyZlvnjszO96CYUsNo3u4fGLCMsNTqeEhgjRD5Z4mCYwgFqnGR2Xl49/crB61YcZqiCBjiq3RoCKILUi2RhgB0fEEIuASRpAxs4IIFH6zXGECI6MsRqDjFa4ZjLZgNhlxaaO4XEIEi1StmYERWOtQDDeCCKZWDiYJ5HlUSioV6SeJyc3NwmnalInSrskLGcrEv/lm0S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4S33NHkOfH8cna2v9L5wgRPHMPgkhrvy/c5CRrGhVuxHD4sIo1rX59zA3poRqlycSu6Jx1evTyWlNeoNVvise5cOpKcMSgar+/VRF4tjW6sNd8rMHvxOCdffjedaUu+8eoHumrXLEPkI9TuigsfgmMJcnV3d7sH6POjnhhu+TSgDHS32lVKO9ks1aY4sSMY4m5/O1RW6uHWr2HzoVtwDbd+UMzpOKJ6Kla2VgniZhl3sfaPK2MyPRoO0Z7EIrXJCVuiNOyEcU/4QBixVdxsHMj4dvIRN1fIElQwun+oEswoRX3S1cnKQLGMf3TFJyx1x9asUsX/KeYwt9tdea7cJcAircZ/7JQbjG8n0HRc7ROdJRa71Ckkuc8QNczeWUvT3NqdJDDI1r+WX2ozPJyevD85dZU41SasiIKIauga995gPuXkMBPMT4JOk22I6j1UouqHdfoZlQt2F1p6E24BDxGsKC1G97DdzpnGz0rkOb2m5R4F6yGCJ6Y4m5Pr7reQcE1/J2HJtKdkWYDgzTSckbeD3dahrnwRUEnRJM3pCSLfxop/C1Ca/YdSg2dc1VoVGRo6K4zjGDNTYdsrspTK5ZG7vZndQZ7/C8SklVY= -sidebar_class_name: "post api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Close Run - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/close-run.StatusCodes.json b/docs/docs/reference/api/close-run.StatusCodes.json index af6f5e9ecc..43fbfeddf9 100644 --- a/docs/docs/reference/api/close-run.StatusCodes.json +++ b/docs/docs/reference/api/close-run.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/close-run.api.mdx b/docs/docs/reference/api/close-run.api.mdx index c03d2df85f..3f10437fe8 100644 --- a/docs/docs/reference/api/close-run.api.mdx +++ b/docs/docs/reference/api/close-run.api.mdx @@ -5,7 +5,7 @@ description: "Close Run" sidebar_label: "Close Run" hide_title: true hide_table_of_contents: true -api: eJzNWEtv20YQ/ivCnhKAsRyjJ56q2g6sOq5dycnFMIwROZI2XS6ZfRhRBf73YnZJiqRIUXYcoCdB5Mw37wdnywysNAsf2OUzCAuGp1Kzx4ClGSr3bxqzkEUi1fikrGQBy0BBggYVsW2ZhARZyJSVTzxmAeOShSwDs2YBU/jdcoUxC42yGDAdrTEBFm6Z2WTEpY3icsUCtkxVAoaFzFqHYrgRRDCzcjSNWZ4HlSRtwFhdSvpuUW0aopYgdEMWyM3t0unalorSJmR7hjL2T75btEgKKCulf6RtFKEmgUvgwiokRqVSRY8ikBEKgTH5rFR658q515W0L2RLKwTLa8QlCT1TqLNUatSk9tnpKf3EqCPFM0Ijaq/M0orRrCAmLVJpUBpnbJYJHjnh42+aeLY1V2SK4mq4lxCl1jMVunFpcIWq5v5zRxGwGJdghWHhae5c03RrE3UpXEb1E3D9JPgz1gQv0lQgyJrgqR59JpqaaBfXPCB2iMwRABNP1Q3hMjoegjj3VN0QLleGEP52RD06QLQ+QgdP1Q2hM8HNEMLcEXUArMFZoYrA9GJcgTPE0fXAGNRGoxnGuS8Je4DQFw+V1xDU5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mQcPsnbU0oW/cBmIGYfNn+aV2L8NOT96enLoCHGuTX/vnIqoRa9xl5uZTKo4TAX66d5ps82DesUow/QUM/UzKZ1wf0fuArSkHJndsu12Axi9KZBkt+3dXClHENSxE5eXVnSi7Z1qSQ9q44D6C4kTdztkwo6xM7NUs3zyvR7uOtW5eEXKZVmUW2uR2ucKyLrIpP/zYNAwxMRW2vTpIqpe74uZ6fsuy7D/St68K sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/close-runs.StatusCodes.json b/docs/docs/reference/api/close-runs.StatusCodes.json index c33d986a40..4c295cd97f 100644 --- a/docs/docs/reference/api/close-runs.StatusCodes.json +++ b/docs/docs/reference/api/close-runs.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/close-runs.api.mdx b/docs/docs/reference/api/close-runs.api.mdx index e1a7ecc962..99c5b8fc8c 100644 --- a/docs/docs/reference/api/close-runs.api.mdx +++ b/docs/docs/reference/api/close-runs.api.mdx @@ -5,7 +5,7 @@ description: "Close Runs" sidebar_label: "Close Runs" hide_title: true hide_table_of_contents: true -api: eJy1Wd1T20YQ/1c8+9TOiI+QhLR+KgEyuAmBYpI+MB5mLa3tS88n9T4gLuP/vbN3ki3ZlmSIwwvWafe3n7e7d3oCi2MD3Ts4f0Dp0IpUGRhEkGak/VMvgS7EMjV0r50yEIGmfx0Z+z5NZtB9gjhVlpTln5hlUsSe7eCbSRWvmXhCU+RfmWZQK8jwk3bqXiT+p7A09T/sLCPogrFaqDFEMEr1FC10wTmRwDwqCFBrnEEEVljJzzdOdXqJgfmSJB1+o9jm2gpNCdtYyBwsWZdm3zjVS8xNMA7mjLXktdqRXzBZqkyw4OjwkP8lZGItMoaALvRdHJMxIyc7NzkxRC/1UZy6wJQbJZSlMemS5aeeIoKERuikhe4ha8lxKvu1ijqSPuRPgGp2NYLu3SqBMPdSPFBJ8DBNJaEqCe6ZziemKYkeoTTsJGHuMbZbAJwEqs0QPuWSNojTQLUZ4l9HrlWJ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9xVqd98C1HKEvcUvo9cRskj+dWQJCQ+0p3DPnfynz0kFUoR7Rv82kPSgsGnrtCtHf1nwloGTPCYV4N2yW2fnLbbeUWoum14QYerLS+dOmUPo0YOHLzr8AyqBxA7WzzIASgVg6kuFF1yMOk2BfLfq1j8jgWgV9daS3dH9ubkZPsW7AsIHjmN3iWdDex+BRahAS4abrNEEpa+vqTVG9Uv5k/5Bp9KkJ41pdYr1Bpm2HSAsGKSyOjlZwP+OIHEi92tO3kzTwWYrQk5Jy5psbQkX+LGm5/JFTf2qynyM1RPxYWfgqYI+XB3d7MF6OOjHBjuvq6XZcoYzTyh6+U00SYvPH12hOur6CO6yzxyd4FUQ1A9uK3q/TOzSpAspNxNrX+cG5Pq/tER2sNQJDY6hBlKA4fAveCIMEKruFk4kLObwUdcfEBwqeJ+VBRwja6PsbLYal4g5R9dxfRtAzuzZp4o/m9+MkTnPmzutYgKivXb9eX55RPEqcDSZfg9ez2FX95OT98cvH336t3Bm7enJweT19Pw4CT89fT19PQUpnBKmYlxOU2KwXPmXO2d3QzYJuulT7QQIXRxl9vtPrNgg8Q1d5QqY7cMmUGIf1t9KZ1RsuPDV4fHrhlJtMmuwLIhSvO+cbCfsUkRfZQK8EddzpTnLCTuWSEkWHbBHfi/SqCYnlP89O/Z8/MENP6lxHJJr+nmlOZ5FLAHUBwmxJOryvN8xrP2yq8oaQ7u/O6ERvMzvJGpKNS8xlkYYmoaZUeFEL+5Ht6xgE2yP5qIk4h0FDySO/DI+ow2Ran3kCKC3j0zAXJmKbn0mcekf/8B4p6HIg== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/close-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/close-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/close-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/close-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/close-simple-evaluation.api.mdx b/docs/docs/reference/api/close-simple-evaluation.api.mdx index 167d740dc8..ce935bb969 100644 --- a/docs/docs/reference/api/close-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/close-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Close Evaluation" sidebar_label: "Close Evaluation" hide_title: true hide_table_of_contents: true -api: eJzlWEtv20gM/isGTy2gxtlgTzqtN0mRbLvbbOz2YhjBeERH0x09Oo+gXkP/veCMZL1jJ01POSWWyI/kR4rD4Q4Mu9cQLuHygUnLjMhSDasAshyV+3UdQQhcZhrvtEhyiXe4l4QAcqZYggYVgewgZQlCCLXInYggAJFCCDkzMQSg8JsVCiMIjbIYgOYxJgzCHZhtTsraKJHeQwCbTCXMQAjWOhQjjCSB2tXJdQRFsSJQnWepRk04Z6en9CdCzZXInaMhzC3nqPXGysltKQwB8Cw1mBoSZ3kuBXew06+adHYN33JFjBjhLfDMeqXSZZEavEfV8PHcSQQQ4YZZaSA8LYIGLc5guv20cay1wTfSpWRcQOg7KR6wYX+dZRJZ2rB/rScfSabhwYZJjUVA6oybIwBmXmoYwpVEdAji3EsNQ3yzaA868a8TGvGB8fgIH7zUMITOpTCHEOZOaAAgZi4KVSZmFOOKuUCc3AiMQW00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oo12ahkcmzMEcLErlNM9WpHW4cwWmgpSiGGZdt9IkONF5J/EYVMyNpXzHy6r5HSd7vwX2Nfq+wEV97a+qu9tf0+xdRWbBvSsM2T3GT+ihPMgVg4mPlBXDPPZbhF7Nnk3wrY+m34KAcRNvQ8Jmwv0tKNgM6Q0BmnJC292dOieuHci7Sr/0H+TCaU2pKA61wwVasZob+a17ijnF6BuGGEwYgqdMfJprsrpvlDwF8QM+De4qDM+K1cU8JoVFJ+T+4NlBjNXF4NJDnPzhcIkWL1o0drTrA1ATv+RpABntmRDPVN+sa8qS1f58/Xp/u/MZlYzDsbziy+zHVzsxWZTKr1nqk7stoDKx9fZ7vjpmu8e89bGUiZosSMxD1zlvhnhj8IGaY9sv6skYTPktjz8pfzCweD3FpNUXhLBPLZi9lFwwl0+2swabfd695ya4X8m1h51NikKG+qm4DCk4VCPX0+ntHmCoj+3C8AuowVV7ZZmQXWW81cwzY/0K065gBMOw3hw2SzozXG8tMsuhX3rxEEX6sV55Oq1YG3PpUx5+rqzNzWg4JHcmVObiM3yg1OIZyiA4YwzhtLSFBxnf3ryj4powJg2j+1lbYMKVGmpvW2yTL8zlO2IGq/Xr2NlVpuW3OmK/fl0FrdLXwTJrl8HYOzcY397ALn9br/hIofAVVFvyryHaCbuJlq+nxB8osITJX5s3W+MznJ/9cXbOjzgn1XamMtGRwZ0vz4oFrtBhrlD6M+QdWlfJvYeQXGjvYHngHe1uqkOGZxGsuDhG97BeL9DQJ63Kkh/7MZczFMEjaokLJvB+DbE0/H9cbXn2fNx0I3hxVx2Yl4Pms3/b9zqtKeeUHeRfEMF/VOwt131PWdWFs65kxkJQblvaey2QK2xzEm4/TqZQlv8DI68/fw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-application-revision.RequestSchema.json b/docs/docs/reference/api/commit-application-revision.RequestSchema.json index 56c4bff83b..5b9c566edd 100644 --- a/docs/docs/reference/api/commit-application-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-application-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision_commit":{"description":"Commit payload. Must include `application_variant_id` and `data`. `message` is a human-readable commit message. `slug` is optional; if omitted, the server generates one.","properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"ApplicationRevisionCommit"}},"type":"object","required":["application_revision_commit"],"title":"ApplicationRevisionCommitRequest","description":"Request body for committing a new revision on a variant.\n\nThe commit becomes the variant's new tip. Revisions are immutable once\ncommitted; to change behavior, commit another revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision)."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision":{"description":"Commit payload. Must include `application_variant_id` and `data`. `message` is a human-readable commit message. `slug` is optional; if omitted, the server generates one.","properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"properties":{"set":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"WorkflowRevisionDelta","description":"Delta operations on a workflow revision's data tree.\n\n- ``set``: a partial data tree deep-merged onto the base revision's data\n (nested dicts merge; scalars and lists replace).\n- ``remove``: dotted key paths to delete from the data tree (e.g.\n ``parameters.agent.tools``)."},{"type":"null"}]}},"type":"object","title":"ApplicationRevisionCommit"}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCommitRequest","description":"Request body for committing a new revision on a variant.\n\nThe commit becomes the variant's new tip. Revisions are immutable once\ncommitted; to change behavior, commit another revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision)."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-application-revision.StatusCodes.json b/docs/docs/reference/api/commit-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/commit-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/commit-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-application-revision.api.mdx b/docs/docs/reference/api/commit-application-revision.api.mdx index 473a0d81b6..92866a4522 100644 --- a/docs/docs/reference/api/commit-application-revision.api.mdx +++ b/docs/docs/reference/api/commit-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit a new revision on a variant." sidebar_label: "Commit Application Revision" hide_title: true hide_table_of_contents: true -api: eJztXF9z2zYS/yoY3EPTOUp20za9U18udZKJ2+TisZPcg+2xIHIlogEBFgDt6Dz67jcLgH9FSbYi39Sp/GSCi11gd7EA9rfULbVsZujonD7Pc8FjZrmShl5GNAETa57jMx3RI5Vl3BJGJNwQDdfccCWJkoSRa6Y5k3Z4IS/k+xTaFBOIVQaG2BRKwm8MsTwnTCaEG8KM4TMJiaOQ8NleyPE1aOw8JrLIJqCH5DSwM4RpIDzLCssmAoiSMZDYDc1C8jOxisQpkzO4kLGSUz4rtJtQFIg64x9eyDMAcv7Ry+NydvnkQMMUNMgYDljOB7OCJ3BwXRH8LUjjcjZgg5LRt0MaUZWDl3ac0BH1dFes1upVSU0jquGPAoz9RSVzOrqlsZIWpMV/Gx0Ofjeo+1tq4hQyhv/lGqVYDqZDWzG/8oLxda8FczYXiiVD8rYwlnAZiyIBMm6yCna64snYWWmcMMvGQzLOwBg2g7GzG0mLjMmBBpY4WwQNB5ohGRtRzBypckNg4mfCp0R5W0XO3gb0NWgyA4mqA0OUBFTl6mnWY3Nv5PzdlI7Ob6md50BH1FjN5YxGdKp0xiwd0aLgCV1EFYUshKCLy4habgU2NPyefPTcyTF2oTdKf5oKdfMAQv8TWHckNmf6MDPszOwBZuQl7F5lHU1py6cs3qkjBJZBwlS4wNjk3XZLbpqrG1sC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IZkw0V4fdJmqV6p/UvpXQ42OqQP/wizeZfpAknC57kR7lgXDYYLn9KtsrMTcMvjfMGd1JeRjTFk3V0Tu/usFL/oxaLBTb/XoDGo+8yRNwJOtv5ZUWCuVPxGublhULagbuZoLgo/KHXuajh6et7vIxjcNzLatnLxuF/8uvZBxrRSfhFncxFQqrZLU6K3dIRdT/R4+eJT1dsu6OCyVnh96bHxH//AxKkR30= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-environment-revision.RequestSchema.json b/docs/docs/reference/api/commit-environment-revision.RequestSchema.json index 42d97a3b2f..9da3916723 100644 --- a/docs/docs/reference/api/commit-environment-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-environment-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_revision_commit":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"references":{"anyOf":[{"additionalProperties":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"References"}},"additionalProperties":false,"type":"object","title":"EnvironmentRevisionData","description":"Per-app references for environment revision data.\n\nKeys are app-scoped identifiers (e.g., ``\"pre.revision\"``).\nValues are dicts of entity-type → Reference, providing full traceability::\n\n {\n \"pre.revision\": {\n \"application\": Reference(id=..., slug=..., version=...),\n \"application_variant\": Reference(id=..., slug=..., version=...),\n \"application_revision\": Reference(id=..., slug=..., version=...),\n },\n ...\n }"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"properties":{"set":{"anyOf":[{"additionalProperties":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"EnvironmentRevisionDelta","description":"Delta operations on environment revision references.\n\n- ``set``: references to add or update (key → dict of entity → Reference).\n- ``remove``: reference keys to remove."},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionCommit"}},"type":"object","required":["environment_revision_commit"],"title":"EnvironmentRevisionCommitRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_revision":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"references":{"anyOf":[{"additionalProperties":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"References"}},"additionalProperties":false,"type":"object","title":"EnvironmentRevisionData","description":"Per-app references for environment revision data.\n\nKeys are app-scoped identifiers (e.g., ``\"pre.revision\"``).\nValues are dicts of entity-type → Reference, providing full traceability::\n\n {\n \"pre.revision\": {\n \"application\": Reference(id=..., slug=..., version=...),\n \"application_variant\": Reference(id=..., slug=..., version=...),\n \"application_revision\": Reference(id=..., slug=..., version=...),\n },\n ...\n }"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"properties":{"set":{"anyOf":[{"additionalProperties":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"EnvironmentRevisionDelta","description":"Delta operations on environment revision references.\n\n- ``set``: references to add or update (key → dict of entity → Reference).\n- ``remove``: reference keys to remove."},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionCommit"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionCommitRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-environment-revision.api.mdx b/docs/docs/reference/api/commit-environment-revision.api.mdx index 9020de5630..f2f675b954 100644 --- a/docs/docs/reference/api/commit-environment-revision.api.mdx +++ b/docs/docs/reference/api/commit-environment-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit Environment Revision" sidebar_label: "Commit Environment Revision" hide_title: true hide_table_of_contents: true -api: eJztWt1y27gVfhUMbppMKcrrJN5WM52pN05m3ew2HtvJje2xIPJQwhoCuADoRNXotg/QR+yTdA5AUiBFKbIid5Id60YSeH6Agw/nAB8xp5aNDR1c0TfynmslpyCtoTcRVTloZrmSpykd0ERNp9zewlLoVsM9N1xJGlENvxdg7E8qndHBnCZKWpAWf7I8Fzxxdvq/GSWxzSQTmDL8lWv0YjkY/Ndl/NY73lKYp86nnL3P6OBqTu0sBzqgxmouxzSimdJTZumAFgVP6SKqJWQhBF3cRNRyK7AhiAY5L82TU9Shj+Ct5SEc2z3TnEn7SEP76K2Xfvfvq2k/HNfjjMf7YdryjCX7dHJcmiw9ZMKtmtA2S1OOMGfirAHUFe8jpQQwGborO4Qt3WZownVSCKaf/cJGIP5hlOydyrywz2lUGVGj3yCxjV63hLHnLeENQ37rxogqf/yxXpZDnYJlOw41GFfZwqWFMeim4+mo2RJG6EvxeFuIzeGI5pRbmG6nxLRms80IaKg+LKK/YiQXEZVsClvGa8XGP1F3EdEUTKJ5jqHZ1dRJYGIRUSOK8a6mLlAXe8XaWGlWKA0ZaJBJGy9rEbWmvWn1HrT5ijh8LNX3FIP9JVjMqysACytkGcwuFD4AlufLSUF33THPmDCwvi9BwakK9wlioQVUega6x/KcLIFAMqVJUAVJtZcgCKb4Wl7LdzAzhGkgLM97JlE5pISnIC3POGhDnkE8jiMyHF7TXENcGbimw+Hz+Fp+ZKIAbyDliTVEZQSV7ayHwyH//fd/SB2DiORa3fOUyzHJCiGI1SwBNuKC29lggN0hhJC5/8JP2+kgfOgFgh0fPq+dPePp3+I4jgjizv8qsYx/nkcb7FSboL3ZCwewg8FF8DuOY/9n0YE7V1GMYeOdU+CvpbrLgmJzwjFgnzLNN5NpLsD608JU3bemv6zRq2HYvjSfe7ObBtKVphyE2nnKtZL6vGeIkt1JapnIXKrqkeHQgB0OB2GKs4qwNCV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scMRpJ9xgQbLEFkyIGUF2+vqy0wTC6qTr8u1bpUnKNSSW1JQzERkuWTUkCdOaY/V7AqQqLJE+KbMS6deI19JOmCWfmCEZWFwIMXnbTPm9EUvuIG0Y45YsHSpmlT1Eg8Z24c+koy7Yaq23FNXIhVJ3HsoyPQZLijwiTKZkWM3tkHBD5ihxB7MByZmdLMiU5YRLw1MgrW78yVzLYE+Dgm7YHg6N1rb2UM+vi+QLV3F/eXi4WlP/yARPXWonLpjtXlBPwTIuGmG0KSBU0kyrD6iC3KyPwb8o30FXgjHj1bXUWYjzIutFnTPIJT7FMOMueqB4FS2qmx+J/RzArMzKa/Tl5y+/U0Hf+O6Xco0ycDVFfobWu+LET8Emmvx8eXm2Auj50SSGf2VDui78UVfrmii8+Zgrg/BIfDqg/YDrpl+tJ9P39yMpxkSNCcTNeqEFqrCcuyn3fyfW5mbQ70MRJ0IVaczGIC2LGfeCN4iRFJrbmQM5Pjt9B7OfgaWgXfYNBC6QqZ57TbF6vljO3wF60JeZyloy/5cnFM47dslroYtwDZwvb3O++cymuYBNtzPX3sekLzL2l1fZ0cveqx9/+LH38tXRYW/0Ikt6h8lfj15kR0csY0e0da1yW6V170C21d9Fp/1+Ylu9xvuGbZWqOvqyxrwswNZVw+WqblK7bvY7kECsrEs09kWL8AVACFleO/DXC4JX2leV0I1bVtUmrH5f4QhNjs9OVzrWeIRhmCUu6lTsdI9p1FoqyxXi9o4uCFMLbPr3+kmjpEQP4h/iA2zCxTtlMjCxedW3CqnlIsIA188F4y4Eu77Ny4DQeFlsAjYbN0AXFG4iOsEgMrii8/mIGfigxWKBzb8XoHGV35SEHKH/rjAVTKr1Pqd3MKvirLQ9F7BRXBR+fbfyFwYar3GcJJDbjbI3QZw7e39xSSM6Ku9wT1WKOpp9wkGxT3RAKV4KdxcFHIWwbU4Fk+PCM8dj4ud/t5TfLw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-evaluator-revision.RequestSchema.json b/docs/docs/reference/api/commit-evaluator-revision.RequestSchema.json index 79e61ee144..5d9222a013 100644 --- a/docs/docs/reference/api/commit-evaluator-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-evaluator-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_revision_commit":{"description":"Commit payload carrying the `evaluator_variant_id`, optional commit `message`, and the revision `data`.","properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"EvaluatorRevisionCommit"}},"type":"object","required":["evaluator_revision_commit"],"title":"EvaluatorRevisionCommitRequest","description":"Body for committing a new revision on a variant."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_revision":{"description":"Commit payload carrying the `evaluator_variant_id`, optional commit `message`, and the revision `data`.","properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"properties":{"set":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"WorkflowRevisionDelta","description":"Delta operations on a workflow revision's data tree.\n\n- ``set``: a partial data tree deep-merged onto the base revision's data\n (nested dicts merge; scalars and lists replace).\n- ``remove``: dotted key paths to delete from the data tree (e.g.\n ``parameters.agent.tools``)."},{"type":"null"}]}},"type":"object","title":"EvaluatorRevisionCommit"}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCommitRequest","description":"Body for committing a new revision on a variant."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/commit-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/commit-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/commit-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-evaluator-revision.api.mdx b/docs/docs/reference/api/commit-evaluator-revision.api.mdx index 16f9e10e4f..5aaf6e2466 100644 --- a/docs/docs/reference/api/commit-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/commit-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit a new revision on an evaluator variant." sidebar_label: "Commit Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztXG1vG7kR/isEv/QOXctOcvG1AgrU5ySIe0lj2E76wTZsanckMeGSeyTXjmrovxdDct9Xkq3IxTlRPmWpeSGHwxlyHtJ31LKJocNz+vqGiZxZpQ29jGgCJtY8s1xJOqSHKk25JYxIuCUabrjhShIlCZMECj5ywzRn0g4u5IU8mwKJPddIJTMSM605GGKnQCzTE7DkuuS8CpxXPLmOCJMXUjnNTJDrFIxhE3DtiWMv9V8nzLJr8tOUyUSAJrnm0YU08RRSZiKSMc1SsKDNzwNyEHpjIakEcEN4muaWjQQMaERVBpqh4qOEDqlnuKp6WfDRiGr4Iwdjf1PJjA7vaKykBWnxvyzLBI+dlN3PBq13R32X8H+ZRh2Wg8GvrugrrxR/7J2BjM2EYokz54zLiTPIIkOWRgwTsdqWaIRFXaxEu2HK2YcxHZ7fUTvLgA6psZrLCY3oWOmUWTqkec4TOo9KCpkLQeeXEbXcCmwoPY588rLJETLQW6W/jIW6fQSV/wmiWxqrUT7G6FqjeoTReA2bN1fTSkxbPmbxJhUcBJFBw1i4YFSX3XRHbq5qCwxbguSRUgIYLs1C9JEhBzVSDGljlgtLh2MmDMwjFFZO/CpR5WwuEGQkzzKwq8ScBrJ+ISmTbALJKiHvA1m/kDg3VqWrZBx6qn4RQqzkfycWMU+V+rKK+y3SLOi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9XV1OhbVz3PV0Noc+nyM3QYlO8dlOwzL3enZ+ftAQ6/4jBTCW+xZ1KW6KFC4kO6F7hUXovdym95wq1KEZYdWtvHhf3LhlH91jK7SS6x6kxqR7s7UHWD4XMIlevxvqMO8IrlBFmipuZFXJ4cvw7zFw6yJ4RKgT2GuS8qU5WzABL+e+ANnF4gi8Q4P/NYXKOTu9SftZO6NWn5Zvpb76yOBVAF75p3l3WQ1+M2V9fjQ9e9l79+uzX3stXB897oxfjsPc8/NvBi/HBARuzA7qgQGdd5nqtzYNVPoRpk+7VSkfWZSpKIpqlD/5uVS9iKBuLgoSyqSgvKJvyYoGyxWL/5aND8ysMFp6vyrR4e9lQ4udlmwfDK51z4HZFrAWr/XOBPlee89xjpakAhytyPdKbg78edC0RyQJGK+NZPdoXze7cVyHziXqbkC+b3QouHstUeTVLW6Zg82FU9JTJ0FqWopqjq6WV5s18xrxaglMKrlVfr+ttRUG1K5yu1Dhf5JKvbCjMD+1FmZENWeTw5Lhl0tpPuHWy0O4UefyxPxemzINhGQPtHcZunNQAi/9Z/FJDh+h+/1l/H5swOMcsqajwn7soy+ZOy49uNBDRYmv/WT5P4ncF3IP3UsF4UsGM3P5WqWTWFb/SdjbtHncV0CnuiIMLen+PheCflJjPsfmPDBRuWlc+Yo7QWS6uClDJ7mc3MMsPAonp2RMFkovMbVeNAxbum47jMAzBYhmLaa8qm/bJx7NzGtCR/7xKbCMZVewOB8Xu6IDar7XYSnl778S2eypYMsnc2nIy8e9/6NB2fA== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-query-revision.RequestSchema.json b/docs/docs/reference/api/commit-query-revision.RequestSchema.json index a60facd55e..0b4621f523 100644 --- a/docs/docs/reference/api/commit-query-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-query-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"query_revision_commit":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":["circular(SpansNode)",{"items":"circular(SpansNode)","type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},{"items":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":["circular(SpansNode)",{"items":"circular(SpansNode)","type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"QueryRevisionCommit"}},"type":"object","required":["query_revision_commit"],"title":"QueryRevisionCommitRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"query_revision":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":["circular(SpansNode)",{"items":"circular(SpansNode)","type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},{"items":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":["circular(SpansNode)",{"items":"circular(SpansNode)","type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"QueryRevisionCommit"}},"type":"object","required":["query_revision"],"title":"QueryRevisionCommitRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-query-revision.api.mdx b/docs/docs/reference/api/commit-query-revision.api.mdx index 343df329a5..e0773e708d 100644 --- a/docs/docs/reference/api/commit-query-revision.api.mdx +++ b/docs/docs/reference/api/commit-query-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit Query Revision" sidebar_label: "Commit Query Revision" hide_title: true hide_table_of_contents: true -api: eJztHNty2zruVzR82e2scmlOm57jp00Td+ptamdtpzuzacalJTrmsUy5JJXE69G/74DU3bIsX9qTpOxDatMkAIIgCIAEFkjiO4EaN+jfAeGUCHRrI39GOJbUZy0XNZDjT6dUDr4HhM8HnNxTQX2GbMTJ94AI+d5356ixQI7PJGESPuLZzKOOgnD0p/AZtAlnTKYYPs04wJeAq7FAebADjWxVt3vMKWZyQF2Fhs07I9S4WSA5nxHUQEJyyu6QjUY+n2KJGigIqItCO+nBAs9D4a2NJJUeNMCs59YXDddqQWe0fyx5+Hou+56Dho25pCPs7JP4swhkhGHkKYHJwsauS2GxsXeVW7Ql7EPf9whmWXQRQdBSDgY5lDuBh/nfL/GQeP8SPjtosVkgXyE7BuIP/ySOzFFd6AyUFzpXTPmDmiMMeflz7UdTnRKJt5xqZl5RC2WS3BGeRzwd5luyHFrHjw+BV80Oe4GoJNN6gzDneF4tAbmhm3H0M3AytBHDU1KTX0sw2jA2tJFLhMPpDFizLaiLDIjQRsIL7rYF1YOxQBUuykpeW2vlIgFcZS8nqBQoGxEWTOFwkhw7BNlIzDBD2WVSIJZJDlMFVwc8viNMYqROPiaJR6ZE8nkekYJWgmlJNIqDZDlXgUTqScLXcEkfxj6Hzy4Z4cADrY2Zm4rz8nzUrz5HNmI+UMR0C/N5dlKX/h11sNeJMYQ2nOJ6Iyrc0Y6qWEJKPHXQFClJWKA6hDaakPm2UveJzPWx7AV199PG+ieeaViiI8p1k+QB2UQrfFHkh3ZuQdeLJhXIRlQMYB0z0M796QxzKnyWWb3VUMh3WH319w7kwZPqE1Ef4e9QPuQ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Lj3ZEPOTAL63EKvHxYXcAIeKPJj/sVEzXjJdIrtJwVZ3oJ6gTk43B4sQBQy0dRMHStJEsXckmPGlWUYhq4qIVmgQDAIOyohQ7ggoEScZBsH3Hg6NpNoAI5nBdqqUPuQW88o2qd9deplDPROjgg4b7jBaG7r/Of9zHVHa8BhhNyKucKyMlF5xOZfyRYZSZdXec7DEA8tcAVu6WLhGcUMniTUhBxvRf6v+QCh8L0p3oU8AUEP64Z9T5w5+0HDJcnKK2tlK/CtFgTCP02wb+/nRy/2Xv77vW7vTdvj4/2xr9NnL0j54/j3ybHx3iCj1Gxwk/TMVnVnqYjCrV4mg5Kasxk9Vey4iRpRY1sCxXlKG3WB32uW5yzX8zNj3Pw0wT79OiOU+LLWepZ8nKcZJ5PGL9KE8IztCrvO/saJ3FnDTmAKtU5l/paTnHVGdeFfFRVRCyyQVMvZC0m2Yno6PDozd7hu72jP4av37bevm4d/b5/+O71f1GWZFjXR+cKNl28OAvwME3kK2TpZUl3h0nS3GExhe0qYc11lnJ2lT11KNjoqQYvFKPLeFuoKtdsApHSvtqATR0lJQrWyUVnQdoKP6l8b0dmznP8M9xxFvROpm7Urak6xpAk2P9n+kuhhgY63H+9f6guoQMhfcxyKJbpzVLNmFgXweFwMPPgIjeKqXqMVaquakdVknqqVPXdLazotY2moIFbV+jxcYwFueReFEGzvuptXV3HSmUMTLuCJZkmGvMx3gan+qjfU+dcthkWjn1Q1XrEiQPRi9q+17lD4qI3gLu8ceCqagu+uhFEHMNlNfxtoeIWU22PyMPsJtTCo2HCv/8DgY1NhQ== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-testset-revision.RequestSchema.json b/docs/docs/reference/api/commit-testset-revision.RequestSchema.json index b6fc493584..8ed04fec0d 100644 --- a/docs/docs/reference/api/commit-testset-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-testset-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"testset_revision_commit":{"description":"New revision to commit. Pass either `data` (full replacement of the testcase list) or `delta` (add/remove/replace operations against the base revision) — not both.","properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{},"type":"object","title":"TestsetFlags","description":"Placeholder for testset-level flags.\n\nThis model is intentionally empty but kept as a dedicated type so that:\n- existing references to `flags: Optional[TestsetFlags]` remain valid, and\n- structured flags can be added here in the future without breaking the\n surrounding DTOs."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"properties":{"rows":{"anyOf":[{"properties":{"add":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaRows","description":"Row-level operations applied to testcases in the revision."},{"type":"null"}]},"columns":{"anyOf":[{"properties":{"add":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaColumns","description":"Column-level operations applied to ALL testcases in the revision."},{"type":"null"}]}},"type":"object","title":"TestsetRevisionDelta","description":"Operations to apply to a testset revision."},{"type":"null"}]}},"type":"object","title":"TestsetRevisionCommit"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision_commit"],"title":"TestsetRevisionCommitRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"testset_revision":{"description":"New revision to commit. Pass either `data` (full replacement of the testcase list) or `delta` (add/remove/replace operations against the base revision) — not both.","properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{},"type":"object","title":"TestsetFlags","description":"Placeholder for testset-level flags.\n\nThis model is intentionally empty but kept as a dedicated type so that:\n- existing references to `flags: Optional[TestsetFlags]` remain valid, and\n- structured flags can be added here in the future without breaking the\n surrounding DTOs."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"properties":{"rows":{"anyOf":[{"properties":{"add":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaRows","description":"Row-level operations applied to testcases in the revision."},{"type":"null"}]},"columns":{"anyOf":[{"properties":{"add":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaColumns","description":"Column-level operations applied to ALL testcases in the revision."},{"type":"null"}]}},"type":"object","title":"TestsetRevisionDelta","description":"Operations to apply to a testset revision."},{"type":"null"}]}},"type":"object","title":"TestsetRevisionCommit"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionCommitRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-testset-revision.api.mdx b/docs/docs/reference/api/commit-testset-revision.api.mdx index 0073e22711..30c989e932 100644 --- a/docs/docs/reference/api/commit-testset-revision.api.mdx +++ b/docs/docs/reference/api/commit-testset-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit Testset Revision" sidebar_label: "Commit Testset Revision" hide_title: true hide_table_of_contents: true -api: eJztXF9TIzcS/yoqvVy2zn+AXdjE93JkyVa4bAIFJA8HLpBnemwFWZpIGsDnctV9iPuE90muWpoZzx/bGK99FajhCWta3a1WS/qpu2em1LKhob1regXGGrCG9ltUxaCZ5UqehrRHAzUec3trPcGthgduuJK0RTX8kYCx36twQntTGihpQVr8l8Wx4IHj0f3dKIltJhjBmOF/sUYJloPBX1XGt14gPgrBBJrHyIb26C/wSDIiYhXxdB1yzowhwO0INLkLmWV35JsoEYJoiAULYAzSEhUROwKCwgJmgAhu7DuisAcI14WFYVfDWD1AN+1IckMYwoaMS2MdkwEyyDR5R/777/8QqSwZ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QtIJhErCDhuBtKzDuCfsI48g0dxOHJPj89OfYPIjsBA07V33iwSX6KHe58pk+TyxmP8EaDkfkU3TQfxf3pFwvlEl3wtNg75/Mf+YzA9PLIoF0CUfh1n4YRX6fsi+PRwefWgfftz/2P5weHTQHrwfBu2D4Luj98OjIzZkR7TyjZR1Oy1KV67bd5M+xUDRun1KKcJ1O2UX5fklcn7DygPq89VbduG82SOVAll6myiH5q7XU6pfiqpdTzcyxkvpixEuerB38KG997F98N3V/mHvcL938G1n7+P+P2k5SLWKrhhnWkVXCRWtq24l9rNut0owZ91uW3So1DNm5VcWiw6WvnuYv2OIlWWNE7xRJ5iX962/OeT1eo1XvFGvqNScuh0g2yJKLlNsy5wCrwJ9h7cWFPelxW7ZvT+vVnFYiByfn9bOuNIjRO4scEA1AzbuMZq9hLLm4Iq2KNZW4EMLLPp7/qSUuKN7nf3OHjYh5ouYLIhYDhQrqeoUeyEe7saCcYfYnV7TFEPmVYOmAISMG5jDkf0WHSPm7F3T6RS/dferFrMZNv+RgEZg2E/xzADtdo0zNc4g4pTewySD5NK2HbZHcpF4SFi56iA29T2OgwBiu5K2X4DF52eXV7RFB+lXB7FwhvaoZo84KPZIe5TiJwxdIak7SrBtSgWTo8QfN54n/v0Pyq5zXA== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/commit-workflow-revision.RequestSchema.json b/docs/docs/reference/api/commit-workflow-revision.RequestSchema.json index e2c3f95f76..ee05f9de61 100644 --- a/docs/docs/reference/api/commit-workflow-revision.RequestSchema.json +++ b/docs/docs/reference/api/commit-workflow-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision to append to a variant's history. Requires `workflow_variant_id` and optional `message`; `data` carries the new configuration.","properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"WorkflowRevisionCommit"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCommitRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision to append to a variant's history. Requires `workflow_variant_id` and optional `message`; `data` carries the new configuration.","properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"properties":{"set":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"WorkflowRevisionDelta","description":"Delta operations on a workflow revision's data tree.\n\n- ``set``: a partial data tree deep-merged onto the base revision's data\n (nested dicts merge; scalars and lists replace).\n- ``remove``: dotted key paths to delete from the data tree (e.g.\n ``parameters.agent.tools``)."},{"type":"null"}]}},"type":"object","title":"WorkflowRevisionCommit"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCommitRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-workflow-revision.StatusCodes.json b/docs/docs/reference/api/commit-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/commit-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/commit-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/commit-workflow-revision.api.mdx b/docs/docs/reference/api/commit-workflow-revision.api.mdx index eaf2e53554..372b22b4d7 100644 --- a/docs/docs/reference/api/commit-workflow-revision.api.mdx +++ b/docs/docs/reference/api/commit-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Commit Workflow Revision" sidebar_label: "Commit Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztW21z27gR/isYfLl2SstOcvG1uulMfU4y8V3SeGwn/ZB4LIhcSUhAkAeAdlQP/3tn8cIXkZJsRenEifzJhBbPAovFAngWuKWGTTUdvqf/ydSnichuNL2MaJaDYoZn8iShQxpnacrN1Y2XuFJwzTXPJI1ozhRLwYBCjFsqWQp0SCvJa6Y4k+aKJzSiXNIh/bMANacRVfBnwRUkdDhhQkNEdTyDlNHhLWVy/mZi4cw8RzhtFJdTGtFJplJm6JAWBU9oGVUSshCClpcRNdwILAi9Ie9cC8hJQksUQL2gzW9ZMkdddTOMKiCicSYNSGObkeeCx9YK+x91JrGsbmSu0EaGg8avrmmGtzQBHSueG/tJz/wvxGSE5TnIxP5HvIl+0mTGtcnUfEDOXKM0GfUYckSYTEhmYZkgoxS0ZlMY/UpGCTNsRGKmFAdNzAyIhBsSZ3LCp4UbzwGOWX/TG2P1NQchottX1MavevQVeuI0MGX4hMXb7MKRh/QaJsJOyyZ2e9i4vmo4KJZ45HGWCWA4NwP0iSZHDdGIJjBhhTB+6pURgsE1EwUzmVoH9bwS7AfSkuc5mHUw516sHyRlkk0hWQfy2ov1g8SFNlm6DuPYSfVDCLG2/iuxrPIsyz6tq/0SZZY0P0tgbeNRZpkJTTxbb0AU6geYACRjFq/twosgt6QbM7bWGY5Rpqf6jOmrQomV1V8yTd4qsay6C8FrEc6d2BKQGZOJgNVTA1FeerkOTBmFit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vVpRybvWcD2JGnhVT2hWbF9JUVUhqDkPy2K336qJ+SS4TXZXxW4ylY9VGrqeAa3Sm6EbNT1VorGRAajnvxopm9l8rmBWv91SATfuvW7qbeVVVndltXa79CIgX9roFTbL5Q0eGz3I4cnxgkkbr3C1Y7EN7iEU2NelKUNcqsKRPT3YtY4aYOm/yjcN5oXud59297EIw2TKspqKFcF1jmz04QoXkb1cMJ7V2AkXd6srlbpmZG27ZmPvZUTHGKh7F/T2Fu+jflRiNsNi92sJGEwTrtlA1KbiNUyX/tICzm5slI3J9s0ATX5xWdIeFtNBHLndRMcupVXdhZ0FLgSuxmEcg822L5e9rC1CJx/OzmlEB/4nF1IbD6hiN2gNdoPtxF+csDd97akJy26pYNmocB7qMPHvf0ZA/jU= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-application-revision.RequestSchema.json b/docs/docs/reference/api/create-application-revision.RequestSchema.json index 4b58642e68..21b8f8a216 100644 --- a/docs/docs/reference/api/create-application-revision.RequestSchema.json +++ b/docs/docs/reference/api/create-application-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision":{"description":"Revision fields. Must reference the parent variant.","properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationRevisionCreate"}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCreateRequest","description":"Request body for creating a revision row without committing it.\n\nPrefer `POST /applications/revisions/commit` for normal use — commit creates\na revision and advances the variant's tip. The plain create endpoint exists\nfor advanced workflows that populate revision rows out of band."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision":{"description":"Revision fields. Must reference the parent variant.","properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationRevisionCreate"}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCreateRequest","description":"Request body for creating a revision row without committing it.\n\nPrefer `POST /applications/revisions/commit` for normal use — commit creates\na revision and advances the variant's tip. The plain create endpoint exists\nfor advanced workflows that populate revision rows out of band."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-application-revision.StatusCodes.json b/docs/docs/reference/api/create-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/create-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/create-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-application-revision.api.mdx b/docs/docs/reference/api/create-application-revision.api.mdx index 683c6bbf71..3da4341f6b 100644 --- a/docs/docs/reference/api/create-application-revision.api.mdx +++ b/docs/docs/reference/api/create-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Create and commit the initial revision for an application variant. sidebar_label: "Create Application Revision" hide_title: true hide_table_of_contents: true -api: eJztG9lyI7ntV1h82d1KW/Zc3kRP8c5R4+xMxuVj82C7LKobkjhDkb0k2xrFpap8RL4wX5ICye5mt1qSrZGr9rCfLAoHAQIgQEB31LKxof1LepTngqfMciUNvU5oBibVPMfPtE9fa2AWCJMZSdV0yi2xEyBccsuZIBpuueFKkpHShEnCalrklmnOpO1dySt5lN0ymUJGCgNESTHvkXdKE6n0lAmSwS0IlU9BWiKUyg3JNYxAX8nByaezc7IfkTX7JU+z7zc0SMhswtNJ2J9xG5QwqzZ3JZlfDDv6zhDLcycSM4aPpSGM3IJ2gshiOgTdowlVOWjH8jijfZo6PdxEO7kp6dOEavi1AGN/Utmc9u9oqqQFafHfCGH/s0GV3lGTTmDK8L9cIxfLwbRga+L9u9aJnFY65yAy0yMfC2OJUxjIFJykOdOozPIIaLKGUwC64Zn7Rs4/jWj/8o7aeQ60T43VXI5pQkd4WJb2aVHwjC6SCkIWQtDFdUIttwIXIosiv3jq5BhR6EzpLyOhZo/A9F+BdItjLOnjSNiS7BEk8hx2r7KWprTlI5bu1BACycBhJFzIiWk3zZKb2MFwJVAeKiWAoaeVpI8NiQ6BYtgasUJY2h8xYWCRIDG4ZaJgVulNpN5WgN2EjOR5DnYTmbMA1k1kyiQbQ7aJyMcA1k0kLYxV0000XnuobhJCbMT/IFYhT5T6sgn7PcKs2L7KYOPmEWaVCm062axABOomMALIhizdKMK7Em6FGBO20RheI0wH+oSZm0KLtejvmSEXWqxC99fBRgpnHmwFkQmTmYD1roFU3ge4JTKLpERUw8+QWtoZH985p2+nFR9gzNI5GRVCNJIGDBHEgO11xBXktxRAWJZxxGTipHnDtcNXKVxEN0Q0XOkmQ1Ou00Iw/f0HNg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18ePt8bvhile8/Tvx2+GB0eshE7pCvGge6L3J7seTDThyBttcF4TOW+SNX4RXvMImRxzYGJerEafqiXqlGGeqkcTKhX3JxB/dNPDkQIbhQgpul6+/VC3auv10LjPdqcb6RHZF1jPPyuOt3R77LKGS1VjeiIbugql43m0N6te59Vw672aE1/Xy37oK/yuc7J+SC1eoTcXSVHJ8dLVBp/wveCpc49lhfP/ZkmLS9QX34X7rvXglpg079Xf2m0XuhB71nvAJfQI02ZjFiEjxXjubTT+iO9VsOxetH+j79xDD4SX6N9NxkcdWm8p28MURv3QIWt0YTigzTBd6F/Se/uhszAhRaLBS7/XoBG930dvMYQrefyumrhOM/+GeblcyjtnntXEVwU3nG3wgx8QTzGUZqC6xyshr2Oni5UME3oMHydOXW3mWo2Q3HYjPap+9zTS4iJF67dUcHkuHDjZNTTxH//A8K6eY0= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-application-variant.RequestSchema.json b/docs/docs/reference/api/create-application-variant.RequestSchema.json index a2a1cf4824..a656cf237d 100644 --- a/docs/docs/reference/api/create-application-variant.RequestSchema.json +++ b/docs/docs/reference/api/create-application-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_variant":{"description":"Variant fields. Must include `application_id` (the artifact the variant belongs to) and a `slug` unique within the project.","properties":{"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantCreate"}},"type":"object","required":["application_variant"],"title":"ApplicationVariantCreateRequest","description":"Request body for creating a variant on an existing application."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_variant":{"description":"Variant fields. Must include `application_id` (the artifact the variant belongs to) and a `slug` unique within the project.","properties":{"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantCreate"}},"type":"object","required":["application_variant"],"title":"ApplicationVariantCreateRequest","description":"Request body for creating a variant on an existing application."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-application-variant.api.mdx b/docs/docs/reference/api/create-application-variant.api.mdx index 80249ceb55..367634f796 100644 --- a/docs/docs/reference/api/create-application-variant.api.mdx +++ b/docs/docs/reference/api/create-application-variant.api.mdx @@ -5,7 +5,7 @@ description: "Create a new variant on an existing application." sidebar_label: "Create Application Variant" hide_title: true hide_table_of_contents: true -api: eJztWdtu2zgQ/RWCL9sCipOmbbrrp03TFsm23QZN0n1IgpiWRhZbilRJKo7XMLAfsV+4X7IYUhdatuPcChRF8xRTM2fIo+HwaDillo0M7Z/S3aIQPGaWK2noeUQTMLHmBf6mfbqngVkgjEgYk0umOZOWKEmYJHDFjeVyRFiL0DuTZ3K3MeQGDblMoACZgLRkqJmMM6JSYjMIPX8xJOPGKj3pkeMMzmQY0FimrSGQF3ZC/vvnXxIzIcjg8MPRMdkMQMymhktu3H+xynNuB2fSKsKShHBrSMq1saS26ZETA0tRqrhmM1X6y4CMM5BncqJKMsbZ4MzD2VlFuMxAcztHSx2mWReNqCpAuxgHCe3T2JF7EYS+qDBpRDV8LcHYlyqZ0P6UxkpakBb/Dew3Pxt8TVNq4gxyhv8VGoNYDqZj22D3p52X/KlaSMpBJKZH3pfGEi5jUSZABiEETwbkkXtz2vKUxZ6MmoghCCVHhlj1mDCZEEYGRpSjASkl/1oCGXObcelcCq0+Q2yRk9UT5okbkZMPKe2fTqmdFED71FjN5YhGNFU6Z5b2aVnyhM6ixkKWQtDZeUQttwIHgiQnB2hKx0p/SYUaP2CQvyrIKkJN0UMuo2bdR0iF28Mh9jyZ3ITJhSMV8lApAUzSFvrAkIAkinUgZaWwtJ8yYWAWIRhcMlEyq/Q6qNeN4XIgI3lRgF0Hc1SZLQfJmWQjSNaBvK/MloPEpbEqX4ex562WQwix1v+dWOWcKfVlnfc+2qyYvkpg7eTRZhWFNs7WE4hGywFSgGTI4rVLeFPbrVhGxtYmwx7aLHHPmLkotbjWfZ8ZcqLFKndfDNciHHmzFSAZk4mA67cGouxXdgsws6h2VEMsjnRp/XrjNn33nH4HIx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GuuTWhEDegb0Ma9QtcbQ1vu3p//mVlbmOHuLpSDWKgyGbgeIBsw7g2vECMuNbczB3J4evIaZsfAEuxwXVyFBmeYdj6Rls0a8lnBXwPS4TdVeljaTGn+Ry1JOeZ75r1wvZjQ79sbmJdfWF4I2HCj0j2y0Ccp++FZevB059nzx893nj472N8ZP0njnf34x4Mn6cEBS9kB7RxBbuu0pP9v69RI+q50d7q3K8LbwUZQt0NN570dqvvo7Yhri7c/faM7cHCd6xDTtaLbgba13I5VfeJgcr7vG8C6Pm71u2nMBr/rTmsw1PRNA9yqCVofLCo130rdRp+15WG5eDbDfj9rCpirGKkKC4ZrbDNyeHqygrL0CIsvi1261WnsHtOo8021nxKNKOSu9FILLP+peYKVAj9QH2Zv8Hiwh0P4eedMBiGqG+Dw8Pxbc0nZkZfN7vD/vfHD3htXVQy3i91CMO42tOrKwZfipe4cttbrudCI4oaRYd0eXtD5fMwMfNBiscDhzyVorK9XlcMYE/ICd9SsrrRzeg2zeruSdsfte2guSl9ZOzIAS7z3OIxjcLcV622vgq0FCaURHVc33rkrEFSzKe6HbEqH1N2g+wUO535sTgWTkxJ37iH1mPj3D/lwXBU= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-application.RequestSchema.json b/docs/docs/reference/api/create-application.RequestSchema.json index a2a674097d..84f4ab7c57 100644 --- a/docs/docs/reference/api/create-application.RequestSchema.json +++ b/docs/docs/reference/api/create-application.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Artifact-level fields for the new application: `slug`, `name`, `description`, `flags`, `tags`, `meta`. The `slug` must be unique within the project.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationCreate"}},"type":"object","required":["application"],"title":"ApplicationCreateRequest","description":"Request body for creating an application artifact.\n\nApplications are versioned resources; creating one produces an empty artifact.\nUse `POST /simple/applications/` if you want to create the artifact, a default\nvariant, and a first committed revision in a single call.\nSee the [Applications guide](/reference/api-guide/applications)."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Artifact-level fields for the new application: `slug`, `name`, `description`, `flags`, `tags`, `meta`. The `slug` must be unique within the project.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationCreate"}},"type":"object","required":["application"],"title":"ApplicationCreateRequest","description":"Request body for creating an application artifact.\n\nApplications are versioned resources; creating one produces an empty artifact.\nUse `POST /simple/applications/` if you want to create the artifact, a default\nvariant, and a first committed revision in a single call.\nSee the [Applications guide](/reference/api-guide/applications)."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-application.api.mdx b/docs/docs/reference/api/create-application.api.mdx index 88a5c32e63..278201cef7 100644 --- a/docs/docs/reference/api/create-application.api.mdx +++ b/docs/docs/reference/api/create-application.api.mdx @@ -5,7 +5,7 @@ description: "Create an application artifact only." sidebar_label: "Create Application" hide_title: true hide_table_of_contents: true -api: eJztWW1vGzcS/isEP7XASnacxL2qOKCqk8C+Jhcjdu6LbVjUclbLlktu+GJHNQT0R/QX3i85DLmr5erFclwHKA71F3m5M89wh8OZh8M76tjM0tEFHde1FDlzQitLrzLKweZG1PhMR/TIAHNAmCKskyPMOFGw3BGt5Hx4qS7VB3DeKIuCUNVu3hO/Fa7U3hGm5uSGGcGUs0QbYuBGWLQ7vFTvtHUkZ1KCscSW2ktOvAUyOX1/dk72rKhqCXsJqt2bEKGsA8bJf3//gwh3qfIwW0tcCcs5ZoQRDgXz0rXGM8IUJ4wUwqBRXVXCOeCXqp0QEYpoBcTAJw/WDS/VGUBAvUjdRWZecLj6Zs9AAQZUjhMUgzDam+q3Q5pRXYMJjyecjmic6nUiRTNaM8MqcGBwZe6oYhXQEU1krgWnGRW4Mp88mDnNKM5RGOB0VDBpIaM2L6FidHRHmZq/LwKSm9eIZJ0RakYzWmhTMUdH1HvB6SJbSigvJV1cZdQJJ3Eg+V5ywukC3zVu+UnzOZrpZuCMh4zmWjlQLsyg0977xWJE3SXzqw36xAmwK7L42I/DcbOaAwk3IEkhQHJLCm3Cqii4TQNuRCZW+tkkIxN0If4maPhYSDaz+I9rfitwbDIk5yU0uqTy1pEpEK/EJw8hhoUK1mqjf4Hc4Zr2v6DQkoPBNXoi578JgMHvGQ1z7iP3zQt7veLDBneqtQSGAdYCn1gy7kVes0OaIFpkCAY3THrmtNkF9XopuBn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-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-evaluator-revision.RequestSchema.json b/docs/docs/reference/api/create-evaluator-revision.RequestSchema.json index 8404ee8f2a..e02daf8417 100644 --- a/docs/docs/reference/api/create-evaluator-revision.RequestSchema.json +++ b/docs/docs/reference/api/create-evaluator-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_revision":{"description":"Revision payload. Requires the parent `evaluator_variant_id` and a `data` object.","properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorRevisionCreate"}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCreateRequest","description":"Body for creating a new revision (commit) on an evaluator variant."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_revision":{"description":"Revision payload. Requires the parent `evaluator_variant_id` and a `data` object.","properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorRevisionCreate"}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCreateRequest","description":"Body for creating a new revision (commit) on an evaluator variant."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/create-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/create-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/create-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-evaluator-revision.api.mdx b/docs/docs/reference/api/create-evaluator-revision.api.mdx index a48635e79e..dafea6102a 100644 --- a/docs/docs/reference/api/create-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/create-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Create and commit the initial revision for an evaluator variant." sidebar_label: "Create Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztW21v2zgS/isEv9wuTnHSdpu9M3DAZfuC5ra9Bkm69yEJYloaW2wpUiUppz7D//0wpN4l27HrALt7zqeYmnlGMxwOZzjUglo2NXR4Q9/MmMiYVdrQu4BGYELNU8uVpEP6SgOzQJiMSKiShFtiYyBccsuZIBpm3HAlyURpwiSBAonMmOZM2sGtvJUXGiagyei4fGyOC05z7GFHDgKxjWUyYrqQdysnQj0MyHXMDQEZpYpLmz8zKLPzLg/cxg5plD8a3cppx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+xx31mI9yXJSpwxyiU/zfNKRVzMi98bTfqvAtHbzNerym13bX4W68csPdLUKfb5FfoeWq+KN34JV5vX+8vKsBejtYwJ2rPBrjVS5pi08SLRPuz9Foehb9dTlHFdz/xqOHrKUu+3zP8fWpqZ/eAhZLxYqS3qubMh6jHvCG8SIM83tzIGcnJ3+DjP/IshFBxUClwB5O6qTFbpnKf8dUBu+khBaA/j/8gI5R3P3L/uchtCez8tvT95+Y5NUAF36LUl3Qw99MWT/eDU8fnnw6pdnvxy8fHX8/ODuxTA+eB7/8/jF8PiYDdkxXdKa89jJ9S6bjVluMmmb5dWaRh47qWiGaDY9hKyq3r5QDhatCOVQ0VhQDuVtAuWIq/qXP30dvzLBFearmK7SXg6UlfNyLJTBK4vzZe0KrCtTh99F3bnyO3/rWBkqysIV3FDjzcu+odxa1iKLAlrpyep+vhj2EV/ha51z8xFq0VPjTik5OTttodQe4T3BYucW8yPnHtOocf7LY+8CdndLUAts8u/iSa0UQo96z3pHOISeaMJkhUX4yK7sETsvvyRrlP+Ke2z/ZV71y7zgLvFaOkwF47JSRvEuv9Lua9w9FSBpRPFeGuP10L+i8/kdM/BZi8UCh79moNGP3wQncofGdHVTVFici7+HWX4rSnvgrlckF5n34I1oA68SP+MkjsG92F9Oe1O5wc4+XVzSiN6Fbwon7nBTzR5QHPZA+9R9omidVJiE4dicCoY6xl4v6jHx7/9ImwWy sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-evaluator-variant.RequestSchema.json b/docs/docs/reference/api/create-evaluator-variant.RequestSchema.json index 72bcda730d..9bfb9626a2 100644 --- a/docs/docs/reference/api/create-evaluator-variant.RequestSchema.json +++ b/docs/docs/reference/api/create-evaluator-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_variant":{"description":"Variant payload. Requires the parent `evaluator_id`.","properties":{"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantCreate"}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantCreateRequest","description":"Body for creating a new variant on an existing evaluator."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_variant":{"description":"Variant payload. Requires the parent `evaluator_id`.","properties":{"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantCreate"}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantCreateRequest","description":"Body for creating a new variant on an existing evaluator."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-evaluator-variant.api.mdx b/docs/docs/reference/api/create-evaluator-variant.api.mdx index 40a157810a..ec8cf25e87 100644 --- a/docs/docs/reference/api/create-evaluator-variant.api.mdx +++ b/docs/docs/reference/api/create-evaluator-variant.api.mdx @@ -5,7 +5,7 @@ description: "Create a new variant on an existing evaluator." sidebar_label: "Create Evaluator Variant" hide_title: true hide_table_of_contents: true -api: eJztWdtSHDcQ/RVVvySpGhaMbZzsU9YYFyS+UICdB6CwdqZnR7ZGGksals3W/nuqpbntjQWMq1yu8MRquk9LPa2jo54pOD6y0D+Hg2suS+60sXAZQYI2NqJwQivow75B7pBxpnDMrrkRXDmmFeOK4Y2wTqgRw9q/d6Eu1KAxE5b8eI4JGxqu4ozplLkMW4dfLMuEddpMeuwdji+UwWthhVaWxTrPhXOYMKeZy4RtYBPNlHbM6ZIQXYamfmR7F+oU0cf4iIaAaH6jUiTYgwh0gYbTwo4S6EPsl3bVTOaqQoEIDH4t0bqXOplAfwqxVg6Vo395UUgRe5Dtz5ZSNAUbZ5hz+q8wFMIJtPRrGbk/XUjvx2pNBZ9IzZMeO8GvpTBo/RoKblA59qkFEsknWsi6OCLxc1ST9yn0z6fgJgVCH6wzQo0gglSbnDvoQ1mKBGZRY6FKKWF2GYETTtJAUxPsiAxhrM2XVOrxI4b4p4KsInDjRMpj94gRBhVkFSGVvuC72POJFPaq835ppEIeai2RK2ihjywbdExp26S8lA76KZcWZxGBNS9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Bbe5T7l8tZtPG9RbsL0S7tWvTavKLyh1al4E17BuuI6PDs7XgAM9TFEl2m6V8i1P8bl3GXQg25dULZbXVN0IQKL5gaN9S/QN8Ogy3Ph3174mTmX2163i0UnlrpIOr7pxztcBMNLwogLI9zYg+wdH/2N40PkCbW0zi/bBqdUdKGMZs3q1PNc/I2UjLDHwl7hMm3Ev5U+FVTtWfCi1VI5nzS3JAe3fJhLXHnrMXtygecp//1luvti6+WrZ6+2Xrzc3dnqP0/jrZ34j93n6e4uT/kuzJ1F7uo0cxC4q1Ot7ec1vBfA82q8GayVdTNUt9mboapp3oz4HnjzM3S1Ww6+Td3G9H3nZqDpIzdjZVO4NbnQ5G3B+qZt+bvuwrZ+V23V1lDdJG3hlh3P6oRRCvtG9dZSrSGGWdqsh8PWVlOX54pUt6nCd7E52zs+WkCZeUS0y2NfbFUJ+8cQzX1PzWcEEeDQky445MM/6yfEETfh/hB6sN151tmmIfqwh1y1QpS3o80Z+nN9hTinM+td4ee6US3Zg0i6m0su/DZS9vYDAbaaYdTDrnAhAiLpjLiydw6TSZ9b/GTkdErD3wo0xGqXpUOfSuGcdrGs4rcJXOO42iKU2/J7DZnLIvDZ3NZLxBo89uIY/aXAatvLFp0ffzw9gwj65V3w0H+aYPiI9iA+gh74m2Xy9gzixyYguRoUtFv2IGDS33/fddIl sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-evaluator.RequestSchema.json b/docs/docs/reference/api/create-evaluator.RequestSchema.json index f250d4386d..1dec7a941a 100644 --- a/docs/docs/reference/api/create-evaluator.RequestSchema.json +++ b/docs/docs/reference/api/create-evaluator.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Evaluator payload (slug, name, flags, data). Slug is required and scoped to the project.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorCreate"}},"type":"object","required":["evaluator"],"title":"EvaluatorCreateRequest","description":"Body for creating an evaluator artifact.\n\nCreating an evaluator also provisions its first variant and its initial\nrevision. The evaluator shares the artifact / variant / revision model\nused across versioned resources — see the Versioning guide."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Evaluator payload (slug, name, flags, data). Slug is required and scoped to the project.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorCreate"}},"type":"object","required":["evaluator"],"title":"EvaluatorCreateRequest","description":"Body for creating an evaluator artifact.\n\nCreating an evaluator also provisions its first variant and its initial\nrevision. The evaluator shares the artifact / variant / revision model\nused across versioned resources — see the Versioning guide."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-evaluator.api.mdx b/docs/docs/reference/api/create-evaluator.api.mdx index 3c57fd5b58..d6a8d28f78 100644 --- a/docs/docs/reference/api/create-evaluator.api.mdx +++ b/docs/docs/reference/api/create-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Create an evaluator artifact, its first variant, and its initial r sidebar_label: "Create Evaluator" hide_title: true hide_table_of_contents: true -api: eJztWdtuGzcQ/RWCTymwlhwncVs91XVi2G3aGLHTF8twR8tZLRsuuSG5dlRBQD+iX9gvKYZ719VxHSAoorelhmfIw+HM2dk59zB1fHTFX92CKsAb6/h1xAW62MrcS6P5iB9bBI8MNMPaioH1MoHYR0x6xxJpnWe3YCVoHzHQIgxLLb0ExSzeSieNHoz1WL9zyHwqHUMtciO1Z3cpajYzBQNlEcSMvdfmLgzcgfbMG5aBhilNw7GuPbNh7ZANGw9MwQwteRaYoxaovZoN2AmteKyNxj2XGs/GPK73JFhi7BT9mLMYlGI+Bc8s+sJqx4AlKjzGxoporB0i+/38zcUlGzqZ5QqHDSNu+PuAXWBYJPsNLa1G6imbFlIg+Rjr2GSZ9MxhBtrL2A14xE2OFojnM8FH1apuGlAe8RwsZOjR0jHNuYYM+Yg3FjdS8IhLOqYPBdoZj7jFD4W0KPgoAeUw4i5OMQM+mnPQszdJwPGznHCct1JPecQTYzPwfMSLQgq+iBoLXSjFF9cR99IrGmgihZ0JvqB/yCE6/6MRM3LS+ve2wIjHRnvUPvjPcyXjsN/hH46Ca95ZXW6JDS/R0VNLwmi+FJDtEnKYKQOCPXGqmEaM2InozKYuYgI8fDNgF6qYMulYvaxw5i42OQoKLTqu3Jo/MPZ0Hv01JEYJDBw/EnknATAwF/Gwzj5y3710Nx3Ga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dEHEXlf0j8o4AjwdehvVs9xKrnmAngayyEF/DyccIWzkRqPArOHkTYSsnNV2T+TNm6pqs7+dVtq75elYvNVuNl5qwZ/VS09V4+f+lWsKfb3mhnfaIirARpC8J+tqp7dUay2hGFAzUDmWhg4Bi8DjXHZGz0pHT96hMERqdDJiTeqa6S6ilVC2tXh0draupX0BJEQo3e2ttqLpPlFICPchwoa9y7aqBMmnv3y+pFbfLlfTcKXGmEh5UqNysIwyaeGhTr3MwwzZfbzcNZLBr+pcCLlyYyLyOm/oGlfrPHZi1XTwlLj/7vXcG4iYuv7LrxGi7RXGHtlPxJm7BrrA6v76+XAOM8ZGjzwx1xAsTbiYF+IyPeLfdzhPu0N7XjfHQwOFDKGTYtPiYeV+40XCI5SBVphSD0KiCAchoeEsYaWmlnweQk8uLH3F+jiCoDXNz2zW4oliL0dM3axiHQv6IxEHVpD8pfWas/KPWoqFLn8VZ9JIUxR/a3vnbz0CfFNZ63x31zV9O4R+vp8evDl5/9+K7g1evj48OJi+n6cFR+s/jl9PjY5jCMe9I6lXpXH0R6IvgdrARtO1Q06Vth+qeazsSWqjtY2yKdiaELmcXM7Qt24G2DdmOVT3FzuJij7ADG3p+1XPTxOs81125zlDTY+vgVg2zWthXcrrVmo1Aao9mP3E1w7GgNMkjnNap6R7W0AQFdnJ5sYbS+4sSH6ThnNfRFP7myUpotxHNE455SHvcI+T/av6hU1rdgfmIHw5eDA5piI5WDrrjovrQ17/29FRdk4///ij4FT8KVvmEsvWwUCBDPak61DETdjo71ImlFJ1Rphzd8MViAg4/WrVc0nD8KkjJTUgHE9U5yp9wvv4pkZ7IeUiOgcsJBe4NVb2sToyLau5pDIeDUJvauWulmjJynHGSphg64Nttbzvpn2jlCZ9UnxbzkEi4hQeqWfBA66RvqDQ75LswtuAK9Kyk6jriEZN+/wN4arAD sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-interaction.RequestSchema.json b/docs/docs/reference/api/create-interaction.RequestSchema.json new file mode 100644 index 0000000000..a098aba593 --- /dev/null +++ b/docs/docs/reference/api/create-interaction.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"data":{"anyOf":[{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteractionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-interaction.StatusCodes.json b/docs/docs/reference/api/create-interaction.StatusCodes.json new file mode 100644 index 0000000000..42f9c46899 --- /dev/null +++ b/docs/docs/reference/api/create-interaction.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interaction":{"anyOf":[{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"created_at":{"anyOf":[{},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"status":{"anyOf":[{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},{"type":"null"}]}},"type":"object","title":"SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-interaction.api.mdx b/docs/docs/reference/api/create-interaction.api.mdx new file mode 100644 index 0000000000..ea13c59b6d --- /dev/null +++ b/docs/docs/reference/api/create-interaction.api.mdx @@ -0,0 +1,67 @@ +--- +id: create-interaction +title: "Create Interaction" +description: "Create Interaction" +sidebar_label: "Create Interaction" +hide_title: true +hide_table_of_contents: true +api: eJztWV9v2zYQ/yoEX7YFqp0VezKGYWnSokbX1UjS7iEJDFo82axpUiUpJ1qg7z4cScmS7SpN4LfZTxJ597u/PN5Zj9SxuaWjG3oF1gqtLL1LqM7BMCe0GnM6oqkB5mAqlAPDUlymCTXwrQDr3mhe0tEjTbVyoBw+sjyXIvXsw69WK1yz6QJWDJ9yg+BOgPXrQehUcHxzZQ50RK0zQs1pQp1wEheiamTMaZVQV5iaganyU0ZHN9usVdKsqEJKWt1twK4L0yDpJag+wdeeoEroUqi9GoIqVui8woKZsjw3es0kTcK7UHnhaEJTKUC5qdNa0rsdq8Ybt35AKVVCOXOsa17Xa9H3XRLGuUAQJictYmcKSGq19ewrpK7XO5cRusIIZ2BApUHmU4K2dVyDQeteGqUvkb1KqJXF/KUwV8hbJbQ/XRKaabNijo5oUQjei4iZU217tO2/6DS6Q9Tv9sbXaDFISJ02fTmwhPKlTvkAJUrJmVu8FGKCvH1+uKpNSCgHmxqR+7qx2SCZNgQenE99NSc2h1RkIiWY/CQzekVAOYHmDm7VrZpIlgInTGo1t4IDaVzmkTxXDadVAGgymHex3gmQ3I5u1StycrKE8uRkRN6hOmotjFYrUI4YWAtfD4lWshyQv9lazJkDS5z20gab8zH4fQnlH8mtIiTTUup7S9wCgsyS5NpXTpLpQnHcMEB+hsF8QO61WWZS309rYb8kJAOXLlDKgjkEDCAJ8iniSytYgqEjbM6Eso4IZ4NCwR7cQ4MutCNKO1+HA4NQTnvFDFgt17VXyp8afkLGGVlCSYQlFlwSBUWpkdtCqhVnpuxlV9rtgeDCQOpkSRpNuhFqwPZkny9JVsvC7dSVQ9W+Br0/tbfr9gXW670KZ9Lfro+UQ8YK6cKjFG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iU2D0dUYqfVYNVmJK49kglU/MCy+eIBkz8/Qejx0Md +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Interaction + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-metrics.api.mdx b/docs/docs/reference/api/create-metrics.api.mdx deleted file mode 100644 index a0c763804f..0000000000 --- a/docs/docs/reference/api/create-metrics.api.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -id: create-metrics -title: "Create Metrics" -description: "Create Metrics" -sidebar_label: "Create Metrics" -hide_title: true -hide_table_of_contents: true -api: eJztWdtu2zgQ/RVjnnYBOXacW6unTZMUzbZBgiTtwxpGMJbGNrsUpVBkGtfwvy+GlCzJTpwLEqBZ1C+2qOEZ8vDMRfIMDI5zCPtwdIPSohGpymEQQJqRdlfHMYQQaUJDVwkZLaIcAtB0bSk3H9J4CuEMolQZUoZ/YpZJEbmpne95qngsjyaUIP/KNAMbQTlflXjhDIShJF+1GEm3vBmgmp6OIOzPAONYMDrKs4ZpZWGmGUEIwzSVhArmwWIoN1qosRu5GwYioSMrUf/xBYck/85T1T5WmTV/QlCCpMPvFBmYDwIwwkgeWjKG+YpxtQZlpWxM/uj2yFP+/3u9LLaakMFnbrW2r2JEKENj0k3HybA5UmfoIT4+WrmejmAh2EdMQq1xul4BjalPY/SEmZwHcEM6Fz7cmkRVpt8KkwBiGqGVBkLodXs77e5ee3ObQXKDxq6lPQBSNuGEkZGK/ci1JUsxZwWrlB/KbRRRzplihEJaTTxR61TzUIQqIikphto+qvxz4Rexuul5ADH+1s3L6OYQvW6YBH2D8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xpJGvMcjT/4+PEHhAD8t4jfXzjzYzOQqMaW82QIHpM//wG/uqOa -sidebar_class_name: "post api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Create Metrics - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount-folder.ParamsDetails.json b/docs/docs/reference/api/create-mount-folder.ParamsDetails.json new file mode 100644 index 0000000000..2b57fbbcdc --- /dev/null +++ b/docs/docs/reference/api/create-mount-folder.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount-folder.RequestSchema.json b/docs/docs/reference/api/create-mount-folder.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/create-mount-folder.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount-folder.StatusCodes.json b/docs/docs/reference/api/create-mount-folder.StatusCodes.json new file mode 100644 index 0000000000..b4b35554fb --- /dev/null +++ b/docs/docs/reference/api/create-mount-folder.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"path":{"type":"string","title":"Path"}},"type":"object","required":["path"],"title":"MountFolderCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount-folder.api.mdx b/docs/docs/reference/api/create-mount-folder.api.mdx new file mode 100644 index 0000000000..79bd4eb6d8 --- /dev/null +++ b/docs/docs/reference/api/create-mount-folder.api.mdx @@ -0,0 +1,69 @@ +--- +id: create-mount-folder +title: "Create Folder" +description: "Create Folder" +sidebar_label: "Create Folder" +hide_title: true +hide_table_of_contents: true +api: eJytVMtu2zAQ/BVjTy1AWG7Qk0410gY10iBG4vZiGAEjrS2mksjwEUQV+O/FkpIs20mDFj3F0S53hzPDacHynYF0DVfS1dbAhoFUqLkVsl7kkEKmkVu8q6h8t5VljhoYKK55hRY1nW2h5hVCCrFJ5MBA1JCC4rYABhofndCYQ2q1QwYmK7DikLZgG0XnjNWi3gGDrdQVt5CCc2GKFbakhgBussjBezZs66aHTY8OdfNXq/rRS5ri/YbOGiVrg4baz2Yz+pOjybRQxAakcOuyDI3ZunJy0zUDg0zWFmtL7VypUmSBvOTB0Jl2BEFpotaKuCHAfxsY6xvk/QNm9uCO6zhkc0TURVDpPAiXD0C9p2Efz85O7/WDlyIPqCdftJb63y+Vo+WipF/CYmVOG0qZHVR53Vxvg4cOeSCduy+itrhDDX6zJ4NrzZsRWd9kBAieQWV2f+L1Co3hO4Rh2OutgYzJiqqejKZcIKQvL8IHzyCzz6Mxg1B93zlx+WzfFJO4ifC7vpGwe4miQq9T8TlK8NKyvuXrarU8GRj9cWiM6KHJRf/sK7SFpFRQ0tgQA+RhSMLDN0nbB4BPtqJEkwx5YVA/9WHhdElnuBJB5fhvYa0yaZKgm2aldPmU77C2fMpFbNzQjMxpYZswZL5cXGLzFTnNT9ebccMtmTPa7bBtkIgrcYlEWhclc2cLqcWv6KEuU4p4ygfpt3Ks/DyAm8yXCzim7KBEr4hnwTT9plAGdnTt/W2BAVbhDYFFXn0aKiQ5cRjXzKYfpjP6REpUvB6tOBbtAN9AATkyUSUX4c0ENH0mrWOQG2CQjiI9SBpCOgzeMCjIBeka2vaeG/yuS+/pcwxjUikXht+X5O4tLw2eYBlSBt7ddA/h/QTYyxh/YrNP/SdeOmoJznjiWtCe/7+z90vdjHf2WAZyQjQVvRnbrjzPMlR2dPAkSQn88KaW17cr8P43/bCRrw== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Folder + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount.RequestSchema.json b/docs/docs/reference/api/create-mount.RequestSchema.json new file mode 100644 index 0000000000..9d56b6226c --- /dev/null +++ b/docs/docs/reference/api/create-mount.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"mount":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"MountCreate"}},"type":"object","required":["mount"],"title":"MountCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount.StatusCodes.json b/docs/docs/reference/api/create-mount.StatusCodes.json new file mode 100644 index 0000000000..eee3b3bbcb --- /dev/null +++ b/docs/docs/reference/api/create-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-mount.api.mdx b/docs/docs/reference/api/create-mount.api.mdx new file mode 100644 index 0000000000..9575cc1981 --- /dev/null +++ b/docs/docs/reference/api/create-mount.api.mdx @@ -0,0 +1,67 @@ +--- +id: create-mount +title: "Create Mount" +description: "Create Mount" +sidebar_label: "Create Mount" +hide_title: true +hide_table_of_contents: true +api: eJztV01v2zgQ/SvGnFXbG+xJp3WTLhp0szUSdy+GEdDi2GaXIlV+tNEa+u+LISlLthO7MJLLYnOJRc68Iee9mZG24NjaQj6HO+2Vs7DIQFdomBNa3XLIoTDIHD6WtA0ZGPzm0br3mteQb6HQyqFy9JNVlRRFcBx9tVrRmi02WDL6VRmCdQItPUW0o2XFSgxQqv68gny+BVdXCDlYZ4RaQ5PtVpSXEppFBk44SQt/km+TAUdbGFHRMS6FuulBNBlY6deXQj2QL2GgtUKrR8EvRooIg1tOeCsZaDtIYJO17nr5FQviq3UP9P4evMgqeXcHYZwLujCT0x6iMx4PMU8dcpbwS3TsLfDvCLc5d83rINln7Ui+wiAnxUcRLp51vo8yh4ZAOic6b1iwlVY2ivZqPKZ/e7qDB18UaO3Ky8F9Mobs0mop2mpJtxHK4RpN79rXqTo5rpiXDvIxkdC6dSwc4Iar8kfmTokyg5U2JdkAZw7fOREK7WWSYgb5YEJcgq/4WwT5EmFTEI4S3yDITYRNQdp0LeszZdyL473gP5Ws93Wq7DZfrxqlzdYuSpuwV43SpmsX5b/bz18vaTFTldHUoRIZp9E632n0Stl+7RnDmTtuRud67w05/T+gTg6eHtmH0+cZ8LPjbjdgmjCtfr26Op5HfzEpeJg2gw/GaHP5MOLomJD0SzgsjykGqYu93Z8QYjvQmkV3V2YMq3tX/UPHAwb27Pq5MulIsJatQ/eIJi+bhmQMZrRLVa0qHwdtW5xhgXq/e+rBHPFwTbl8cmeZp9zE4ye7Hv8dRZGhl1NxEyk4JYyPs9n0CDDqY18Ycf4M7tILRIluo+m1v9KWnivmNpDDKLxL2BFQlzHf0dhAqDeSNlklApvxceNcZfPRCP2wkNrzIVujcmzIRDRcEEbhjXB1AJlMbz9h/REZRwP5fNE3eCARRlntm+2oYJX4hJScOGtg4t1GG/FP1ApRSkeKXnR7kvd99w3z4YmVlcS9b5KEtNPKfsJ2y3GM9J577bfXulMf7Hpa130CHUKtdF9yk5CtwWR6exR6b4vKlxX9A8dtyA546NIPGWAZihccsvK33Q5pjUiNYcbDX4bjMJS0dSVTvRAHajmYzYkSqoRRJZkItRoOs01CSi/dFjIg6W9IZPkcttsls/jFyKah5W8eDWljkcF3ZgRbUmLm1Bs2rUq28DfWbeEp9y5UMJlLH1Vx0NBIntFjUhRYuZO2i14dTD8/zCCDZfreLTUnH8N+UGWzH5AD0BczeQeZhrUtSKbWnnpQDhGT/v4FQvBAGw== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-queues.RequestSchema.json b/docs/docs/reference/api/create-queues.RequestSchema.json index 909eb949c7..b7f0118797 100644 --- a/docs/docs/reference/api/create-queues.RequestSchema.json +++ b/docs/docs/reference/api/create-queues.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueueCreate"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueueCreate"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-queues.StatusCodes.json b/docs/docs/reference/api/create-queues.StatusCodes.json index 868401dc1b..bdfd9245c8 100644 --- a/docs/docs/reference/api/create-queues.StatusCodes.json +++ b/docs/docs/reference/api/create-queues.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-queues.api.mdx b/docs/docs/reference/api/create-queues.api.mdx index 6513186abf..a5f6b63202 100644 --- a/docs/docs/reference/api/create-queues.api.mdx +++ b/docs/docs/reference/api/create-queues.api.mdx @@ -5,7 +5,7 @@ description: "Create Queues" sidebar_label: "Create Queues" hide_title: true hide_table_of_contents: true -api: eJztWdtuGzcQ/RWBTy2wshTFdlo91YkTxE1SO5aTF0EQRruzEhOKu+EliSLsvxdD7l0XW64DtIX9Yok7c2Z4OLel1szAXLPhmL38CsKC4YnUbBKwJEXlvl1EbMhChWBw+sWiRc0CpvCLRW2eJ9GKDdcsTKRBaegjpKngodPsfdKJpDUdLnAJ9ClVhGs4avqWww3XjBtc6k2BWDjn1gzk6jJmw3FbgOupJlek4SBowaxSZEM2SxKBIFnADDeCVi50Z1RJBizCGKwwbBiD0JhlQaGazD5haGqaFTHvyd9XzqcsKG1JKwTLJoSw4S1EESdNEFcNvyuJlsM1XG0Ul3O3sh2GhVyFVoD65S3MUPypE9m9kKk1v7L2brJJtZ+WMNvY+ubeKuUbv3m2RAP33GptX/kKlwbnqJqGl7PmSp2h2/h4ZcV+OoIy5O6gBErBai8rTdXDGH1HTGYBk7DEO/K1gfEX6WYU1DpUPCVq7gt1XoPIAvYVlc7RmhiVxsdcpJZTbNAfnHT7z7pPjglEGzB2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it_url: null diff --git a/docs/docs/reference/api/create-results.api.mdx b/docs/docs/reference/api/create-results.api.mdx deleted file mode 100644 index 27e48cbbb8..0000000000 --- a/docs/docs/reference/api/create-results.api.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -id: create-results -title: "Create Results" -description: "Create Results" -sidebar_label: "Create Results" -hide_title: true -hide_table_of_contents: true -api: eJztWVlv20YQ/ivCPLUAZcmKj4RPdZwEUdMghq3koYJgjMiRxHR5ZA/HqqD/XswuSS0lmz7gPLiwXywtZ2Znv/3mElegca4gHMP7KxQGdZJnCiYB5AVJ+20YQwiRJNR0KUkZoRUEIOmHIaXf5vESwhVEeaYp0/wRi0IkkVXtfVd5xmsqWlCK/KmQbFgnpPhbZS9cQaIpVbsSM2HdWwFmyy8zCMcrwDhO2DqKs4boRkIvC4IQpnkuCDNYB/WS0jLJ5nblZjMQJTIyAuVvf+GUxJ8qz7rDrDD6dwgqI/n0O0Ua1pMAdKIFL20Jw3pHeONDZoRoKH+wZ2SV//9ZR+VRU9L4yKN65ypXkkzTnGRz43TaXPERuguPD0a0wxHUhL2HEkqJy3YGNFQfhuhnRnIdwBVJlbhwawK1Ef1WigQQ0wyN0BDCoD847PaPu/sHbGSBanGZxG24BzDLZYqsa0wSt/r2EdWiM4ztgSRGdIfpVuKwfmWLlI5Q3WXuIZ6OSpPlDiRlLl/4+RT8fG+hXAegNGrTClkAlJmUi1FBWexWfhgyFHPFMVnmlpSJIlJchWaYCCMJygvjpQiziISgGHwf6tp24ZzYdXgd2GuSVyhudPHGO9w66rAywAAlKSmNaXFPhsaoqctK7TStra65BheE+jKJrx/t8bk10RnG135S6NvbouLyH1q25ZMLTUXnEy3t7UaUoUzyMibbI9EzUaqVcSdN9kAD5yazujucdD1KIilmQtXHaXpa73gjWc5te3Jqex+P9C5efBBdF3OXD1W307KXcpudu+4K1uu1b0JLQ3ZBFXmmXPoZ9Pv8LyYVyaTQtgLAhYuQmRGd81KYQ+NxTVqUG6e0xavNKU6txBaBnkdv98XoBzQ8Tvr5dne//rTPrL+7FZDWArqj9YAK+hhQqxbPTWHxJeonLSou58SdE+uWKeJfsclXZ7bcJCZBv2CTd85suUkF13T5hI1iBdbbZVmyKryedJcKrXqXCrAn3aWCq97l6Uw7e95M8piev5pXXgaTZzeYPI/E+kxmE39er3Z/mVde5pWbZ4h7TCoeduPJTa7cOp/U48TaziYHg8Hu9PENRRJbpY4LsEePHjFpTETLCCHyqPH0ITlvcjtOf+XOQdvJqnkbpz6TUjj3xsPbRS0YnRE/tdHL6YrF62gs81ekrz0zO3dyylhe6zspxNg490s5v7LWV1SnwFugeOeuoI0kH0ejsx2Djh9NYrjeqbNhYUp6kfP7hSJXbLFAvYAQerR5F9Er58geRwJJ7ijs/RopWBKLxF6u+7rQulBhr0dmLxK5ifdwTpnGPUyc4IRtREYmemmNnJwNP9HyI2FM0oaCJ3DBnHQsa4rVN4NF8slGaIYpfz8xepHL5F9HHb5hdslpMRjM9vPNe5P315gWghrvQcabqXgzMW7GKb+l8n+59fojeDXD14ezo4Pu4fH+cffg8GjQnb6aRd1B9Obo1ezoCGd4BH7b4xHVb1/ua6jqSLwq6pXITY3qN2oMe3/A3g/ejPYPw8P9cPB6r3+8/zc060Tfz+wbTxvZ+76eVsn6fvLlT4Kz3I/RE8unzsnZELbJ3XjE+Q4jG94VOexjCLaYuiEoQ5nabAeaMP2jftJopKG/t7/X5yUOmRQzb4ud8Go4WNOWk0evEJjY9GbdWZWRNwYv8mDzG04AnDwWHKThGFarKSr6KsV6zcs/DEkOp0kAVygTnDJSY0ZvUQXWCtz9nboy0LU5kMWFcYG0VRI4op3GSRRRoVtlJ14eOftyMYIApuVryTSPWUfiTz4M/oQQgF9tuvNx4PHaCgRmc8NZPARnk//+A4t04uo= -sidebar_class_name: "post api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Create Results - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/create-runs.RequestSchema.json b/docs/docs/reference/api/create-runs.RequestSchema.json index 5f43cb77d9..28a2b7157e 100644 --- a/docs/docs/reference/api/create-runs.RequestSchema.json +++ b/docs/docs/reference/api/create-runs.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunCreate"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunCreate"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-runs.StatusCodes.json b/docs/docs/reference/api/create-runs.StatusCodes.json index c33d986a40..4c295cd97f 100644 --- a/docs/docs/reference/api/create-runs.StatusCodes.json +++ b/docs/docs/reference/api/create-runs.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-runs.api.mdx b/docs/docs/reference/api/create-runs.api.mdx index a8ef801613..e467047b90 100644 --- a/docs/docs/reference/api/create-runs.api.mdx +++ b/docs/docs/reference/api/create-runs.api.mdx @@ -5,7 +5,7 @@ description: "Create Runs" sidebar_label: "Create Runs" hide_title: true hide_table_of_contents: true -api: eJztWltv2zYU/isGnzZASdygwwA/zU1SxGvSZHHaPRhGQEu0zY6iVF6Seob++3BISqJsXRzPBbrBfal1dM5H8vDcozVSeCHRYIKunjHTWNGESzQNUJISYZ5GERqgUBCsyJPQXKIACfJVE6neJdEKDdYoTLgiXMFPnKaMhkbu7ItMONBkuCQxhl+pAFRFiYQnAzZYI6pILLdfz5nZ2Bphvrqbo8Fkk4HKJ0afCfxUq5SgAZolCSOYowApqhhQRrJ3AzwBisgca6bQYI6ZJFkA4jhUOwAMLVc9RMgSSaIuiAvLVQ/xVRPduYk/D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spWoT/o2n41OtfE80b9fpw3nHfWvCHXJ/NGbNsrb4S5NlTZoykytNKyqupVDBdVL/8712UV1Ctx5jVGV0ucuoTLs93cadjaX17QK+t2laqcd+WvQxkFK0syldKLXymoXG6zDNiKO8xw6+LhXzCGtevBsJbbDyv59NTPl22GXO66KmcvOa1Jx5lsTgeBZGY2s0h8z3ZhbHFwcTveOrPKK4gSODROMTcs8xoFNSsvjRvieGxiBFIEx78UbyoFdDQ8fXM6NJlyIpXrz7opqk6p1nZyxw/+9ixl2BZizVo2bvNT5Pkr5L5+ESBwtivwa6Mp2mzmWJI/BMsyGAajAyc0C9AjFhTPQUYmXVzl7igX9KUNmyf39toME1n3Uwuh4Actx0UYklR10s4813t7M7lHAZq7HwnGSQQ8Aj/BTvATGiFQ+tRuDtwVjG0Qw3ypIeqNkMWEv38AL4Buxw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-scenarios.RequestSchema.json b/docs/docs/reference/api/create-scenarios.RequestSchema.json index 6d29ef95aa..c7a5c48224 100644 --- a/docs/docs/reference/api/create-scenarios.RequestSchema.json +++ b/docs/docs/reference/api/create-scenarios.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenarioCreate"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenarioCreate"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-scenarios.StatusCodes.json b/docs/docs/reference/api/create-scenarios.StatusCodes.json index 7be12bfdc4..f2d1c0c6cf 100644 --- a/docs/docs/reference/api/create-scenarios.StatusCodes.json +++ b/docs/docs/reference/api/create-scenarios.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-scenarios.api.mdx b/docs/docs/reference/api/create-scenarios.api.mdx index 95f7214766..e58fb05942 100644 --- a/docs/docs/reference/api/create-scenarios.api.mdx +++ b/docs/docs/reference/api/create-scenarios.api.mdx @@ -5,7 +5,7 @@ description: "Create Scenarios" sidebar_label: "Create Scenarios" hide_title: true hide_table_of_contents: true -api: eJztWVtv2zYU/ivGedoAOXbcXFo9LU1bNOslQZJ2wAyjoKVjmx1Fqbwk8Qz99+GQutqO4wQOsA7LSyLqnI/kx+9cqCzAsKmGcAhvb5iwzPBUahgFkGao3NNZDCFECpnBbzpCyRRPNQSg8IdFbV6n8RzCBUSpNCgN/cmyTPDIOfe+61TSmI5mmDD6K1MEbThqP14ihgvgBhO9ajMRbokLYHJ+PoFwuAAWx5zwmbhomdYWZp4hhDBOU4FMQh5UQ9ooLqduZD0MRFxFVjD1y0c2RvG7TmX3TGbW/ApBCZKOv2NkIB8FYLgRNLRkDPmKcb0GaYVoOb9zeySX//5er4utJmjYE7fa2FcxwqXBKar2xMm4PdJk6CE+3lmxmY6gEuwWTkwpNt+sgJbr4xj9REzmAdyg0twHXJuo2vRrYRJAjBNmhYEQBv3BYbd/3N0/IBBtmLEbaQ8ApU0oaWQoYz/yw6LFmPKCldIPaRtFqClXTBgXViE5KpUqGoqYjFAIjKGxjzoHXflFrG46D9xRqxsm1i5xrQ6W6DorAYhknqA2LMk2b3iSqoQRVzEz2CWnzRKvUHPHyDcerzuUCtVaHjcO6dLKzlkM+YoIfNrlCmNivwBeT2CRWE9d5m7IySuxdrmqMvBD09W5eu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idebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-secret.RequestSchema.json b/docs/docs/reference/api/create-secret.RequestSchema.json index b1cef83426..37b8c6793d 100644 --- a/docs/docs/reference/api/create-secret.RequestSchema.json +++ b/docs/docs/reference/api/create-secret.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"secret":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"}],"title":"Data"}},"type":"object","required":["kind","data"],"title":"SecretDTO"}},"type":"object","required":["header","secret"],"title":"CreateSecretDTO"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"secret":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider","custom_secret"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},{"properties":{"secret":{"properties":{"format":{"type":"string","enum":["text","json"],"title":"CustomSecretFormat"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object"}],"title":"Content"}},"type":"object","required":["format","content"],"title":"CustomSecretSettingsDTO"}},"type":"object","required":["secret"],"title":"CustomSecretDTO"}],"title":"Data"}},"type":"object","required":["kind","data"],"title":"SecretDTO"}},"type":"object","required":["header","secret"],"title":"CreateSecretDTO"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-secret.StatusCodes.json b/docs/docs/reference/api/create-secret.StatusCodes.json index 26a26bc289..f9cd05f468 100644 --- a/docs/docs/reference/api/create-secret.StatusCodes.json +++ b/docs/docs/reference/api/create-secret.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"}],"title":"Data"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider","custom_secret"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},{"properties":{"secret":{"properties":{"format":{"type":"string","enum":["text","json"],"title":"CustomSecretFormat"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object"}],"title":"Content"}},"type":"object","required":["format","content"],"title":"CustomSecretSettingsDTO"}},"type":"object","required":["secret"],"title":"CustomSecretDTO"}],"title":"Data"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-secret.api.mdx b/docs/docs/reference/api/create-secret.api.mdx index 6421658d19..f0295af75b 100644 --- a/docs/docs/reference/api/create-secret.api.mdx +++ b/docs/docs/reference/api/create-secret.api.mdx @@ -5,7 +5,7 @@ description: "Create Secret" sidebar_label: "Create Secret" hide_title: true hide_table_of_contents: true -api: eJztWVtv2zYU/ivGeebirNiTnpY2ARakXYI67R4Mw2CkE4sNJTIklVgN/N+HQ+ruWEncAhs2+8USL5/O5TsXSk/g+MpCNIcZxgadhQUDpdFwJ1R+nkAEsUHucGn9PDAweF+gde9VUkL0BLHKHeaOLrnWUsR+5/SbVTmN2TjFjNOVNoTrBFq6S5EnaLbHc56hx8rLy1uI5k/gSo0QgXVG5CvYsGYkL6SEzYKBE07SwJ+0d8MgQRsboUmOfaFOOxCbDavXqZtvGJMR6nV/BDU2DCr7bCl0J/KE/vvPZoB5kZHdtVEPIkGzvMMSGMSFdSpb1qPAwFrVvX3Em1Spu3aoI3Xw4QU9kczAHe/r/zbJlMacC5JJpWgQGCHZmEu6TBC1yG8Np2GJOuVSp3SzMuoeGGQiFxlf+yvrDJftlcfkuUuN0iIGBhqNlrgWrvRTTq3QpWiW/o6kMKpwXvkVEm5PZcfzhJvkqjJHrXxjnm2HYPmc1jXgBZbPepxoLwwmZBmCGJFhhs6JfGVPry9fhiJ5O+KOwHo49lYvBkKRxb8X3ok3mBgV3xGz+Aozfuct+4DG4bo1+b/e8R+8Xq93e2Hkvsngi5GE/YDG/kBK+Vpt37CagvugeHoywLUz3PZBeJIISlhcXnU0d6bAIQXHHnAWkMeSXt/0PbYzyFSC0ksmHGZ22xFWFquxAJzR/D+lYjc0vaBbjPtE+g10rlC4MbzsaPIpmKJDy2Wt/D6urw0+qS3kTU11Y2ClxvBD7L6gY8/yok8uCPqtGayhwM5gfT6R7Q7dWArM3VI8m+eaR/h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26NgG/fJtEPsp/yzyIW4XAmsoAkUh4kFEHwd/uX8+SXGPURnJnvS9fOH6wnjOnyX/LsF8ZxmPztxJKvL4lXifPEIPb1HOhx3+Esi3ZZXzWtTXQw564xKXPCova0/UQa53uPe4F2h4utHK1u141d2vGfzx5s1mA/+ZSxG79nz0QWulD+/eY7RcyIHqVaqoM7tPmJztrgMulRfQlXVmsD6+QkONW1tU7F7qjDG6pVkKLlle+PRSxwg3QKnCrgKYzXqfbLl6PhaTbbz41bqw+2lc5D202xTvvQsG48Ht7c0GoOdHlxj+HNflHYMUbaLo9wK5MvSec5vABMY+4puxu2bS1Og5l7oqEMY8F86f/jWxNjeT8RiLk0iqIj7hS8wsP+HCL5y5q6pCC1s6kLOb8wssqxA2uZuFC6ZEQ0+s7rLGGTwXF+6iyIdsOCtsorT47tlCTiWRqvi49rXBx/bHDx9WPM19tPT5qSVJmxsq6Gama8O2hm0LF3/p0L/Lqi+cqtnmGiEs6FwJ12A6l4nsXoW0PHP2HJ3dnG/I0pmiI84jG2jgp4H1PNU6iGqp1B1wsMjTP5uZTn8Ppye/n5y6vk0Zm/Is+ESfUb0sWHmNjss4l1y4A101E55sdXlhgAEdkISYOLmDp6cFN/hJy/Wahr8WqIk/MwaPXAu+INPczYKcflcbsyqVfnPnnJbLwjOnF/aIwn7HWRRhbgfXzoLDcnM9vaWLo+rHNNTewQQ0/0bnn3+DCbjrGtrtqOzGnkDybFlQpJr4itWd0B+f5FAw sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-simple-application.RequestSchema.json b/docs/docs/reference/api/create-simple-application.RequestSchema.json index 67de0d243c..8de988696a 100644 --- a/docs/docs/reference/api/create-simple-application.RequestSchema.json +++ b/docs/docs/reference/api/create-simple-application.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Application fields plus `data` for the first revision. `data.uri` selects the template (for example `agenta:builtin:completion:v0`); `data.parameters` carries the prompt and model config.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationCreate"}},"type":"object","required":["application"],"title":"SimpleApplicationCreateRequest","description":"Request body for `POST /simple/applications/`.\n\nCreates the application artifact, a default variant, and a first committed\nrevision whose `data` comes from the request. Use this for the common case\nof \"spin up a new application from a template\".\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints)."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Application fields plus `data` for the first revision. `data.uri` selects the template (for example `agenta:builtin:completion:v0`); `data.parameters` carries the prompt and model config.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationCreate"}},"type":"object","required":["application"],"title":"SimpleApplicationCreateRequest","description":"Request body for `POST /simple/applications/`.\n\nCreates the application artifact, a default variant, and a first committed\nrevision whose `data` comes from the request. Use this for the common case\nof \"spin up a new application from a template\".\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints)."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-application.StatusCodes.json b/docs/docs/reference/api/create-simple-application.StatusCodes.json index e62734f03b..7fe983aa98 100644 --- a/docs/docs/reference/api/create-simple-application.StatusCodes.json +++ b/docs/docs/reference/api/create-simple-application.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"properties":{"playground_build_kit":{"anyOf":[{"properties":{"agent_template_overlay":{"anyOf":[{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-application.api.mdx b/docs/docs/reference/api/create-simple-application.api.mdx index 50251a6fcb..ce5923b937 100644 --- a/docs/docs/reference/api/create-simple-application.api.mdx +++ b/docs/docs/reference/api/create-simple-application.api.mdx @@ -5,7 +5,7 @@ description: "Create an application end-to-end." sidebar_label: "Create Simple Application" hide_title: true hide_table_of_contents: true -api: eJztW1tz2zYW/isYvDSZoWU3s0/qS10nGXubbjy+5MX2WBBxJCEFARYA5age/ffOAUAS1NW37MS70huhcwHODQcfwXvq2NjS/hU9LEspcuaEVpbeZJSDzY0o8Zn26ZEB5oAwRVhLR0DxPaf3QPHetbpWgcgSN4EOGTNOjFjuMsIIhxGrpCNTZgRTOKQ4YWQkjHXXKtdFIZwDTgxMhUXmu4m2QAacOTYguS7AkpHRhVdi4K8KrOuRi4mwRHjN18oAigHFgRNQzsxIqYVyZKQNuaa2FIpUJWFEwV1nml4su1YOilIyB9e0Rz5qQwptgORaOaMl0VMw9eT93JuJ5rh6oVVGKgvXCudnnalyVxk/Ee5nYUmlOBgy2E9U2/1B71qdA5Crc1GUEsiHmvzmzb6BERhQOeyzUuyNK8Fh33qyvUbq2x7NqC7BeHknnPapnw/cBsrbRBvNaMkMK8CBQdffU8UKoH2a0NwKTjMq0PV/VWBmNKNobGGA0/6ISQsZtfkECkb795Sp2eeRl+RmJUqyzgg1phkdaVMwR/u0qgSn86yhUJWUdH6TUSecxIEk/sgJp3P8L/r3N81nqKadgTMVZBR9Asr5GbTc+18thux9Mr/SoGmcALtAi4/dQE+nMRIguSWlrGwdgBhD6Fkfr43ve+HvXmXEgFiQkLuQBXUokTfICN+Yd+6AjUE51h9WQjqh+rnGYVTZnx4M3v4SpbVOGpCcGSNiapVGF2UIvkJzkBibIzHGCOgudCR9bqf+6RIIe7tgjOidodYSGEZK7Z4TSw47IRQTOUbDPENhMGWyYk6bbaI+NISrBVklyhLcNjHnkWy1kIIpNsZo2Szkj0i2WkheWaeLbTKOAtVqEVJu5f8k1zFPtP5zG/cx0qyZvuawdfJIs86ELp9sNyASrRYwAuBDlm9dwseabs0yJmxrMBwhzQr2CbO3lZEb2Y+ZJZdGrmMPBWKrhPNAtkbIhCkuYXNqoJTjSLckZp7VjHr4F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gfm657OYE1ETn+i9scY4L66u68KSZxd6H4cg6/kFt+m7sv/A1SX0OMoy8PWMzbTXrTUNrxXShI7jY9rcZ1Fq2B0uxOwO9cQnxMES+NoW2+6pZGpa4pZhQANP/P0HY+itXw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-simple-evaluation.RequestSchema.json b/docs/docs/reference/api/create-simple-evaluation.RequestSchema.json index 101c7cf438..105180a820 100644 --- a/docs/docs/reference/api/create-simple-evaluation.RequestSchema.json +++ b/docs/docs/reference/api/create-simple-evaluation.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluation":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationCreate"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluation":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationCreate"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/create-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/create-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/create-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-evaluation.api.mdx b/docs/docs/reference/api/create-simple-evaluation.api.mdx index 9eacaa4167..324d256e38 100644 --- a/docs/docs/reference/api/create-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/create-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Create Evaluation" sidebar_label: "Create Evaluation" hide_title: true hide_table_of_contents: true -api: eJztWutzGjcQ/1cYfWpnwBD8SMunEtsZu0ka1zj5wjCeRSdAqe4RPZxQ5v73zkr30HEcYNeZaRP8xbC3+5N2tdrXsSIa5ooMxuTyAYQBzeNIkUmbxAmT9tt1QAaESgaa3SseJoLds4KVtIlknw1T+lUcLMlgRWgcaRZp/AhJIji1fN1PKo6QpuiChYCfEolLaM4UfvMga89mwm5xRSBavp+RwXidgat7wR8YftTLhJEBmcaxYIDb01wLpFyr1lvkaZOAzcAITQYzEIqlbRQHqvcAGDquzRBUxIoFuyDOHddmiM+GmZ2b+NMyNewB6GKPPTiuzRAqEVzvQhhZpg0AC7BayOxgGjGuwCpi+RpgNFNaMb0b5y5nbADKXCuWu6EuS9YGMGqUjsOdQOeOrQFkYUKIdmJcWa4GCDA63okwRKYaQNrOpeLpJ0a1J1TGgFsTvbbXLm0Xi0RGCJJOUL52ISEIOMqBuKlczZJjbacertKSR3NL2QxDKJfUCJA/vYUpE7+rOOpcR4nRP5N1XdJJqc0aM6kpXtetFL5zypOQaXiiqp5eGYVHms2ZrC4cTqsU30K77PHaiO3maK8I1yzcTwikhOVWq1RFH2fRd2jJtE0iCNme9qph/IGyKbq0opIneb54CtSFB5G2yQOTKkOrYpQSHzMW70aRfq9/2um97Lw4sduCdWepJiqlQZutztImLDIh5uOERYGj2LSA8VqaKHIkZShlCqPUDLgwEhMCk9IFLgoRZUKwgEw2Xe2R28TGi42xe3mvNEvWdpk5UX27s1iGgJYwhgeeQ5S+1HRfmhSneexcZAHQxjrcXWbMJXqBqwwaFt/DGzH7L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P2DZwd9JGFoSaeM6RJ1kWhjhJJecQy1h7EAbpOB3dEqDVJj4oIU8X9MwM4NjbvAcDYYk9VqBoq9l2K9RrL1LQw0XXIPksMMbTXGVLTIYtCK/MOSLM6HumcTBrIL42LORv7E4OckhpSyWG/lnXgR9/rd6JZ0ySx9IXEZBSgj4TMmEvhMBoTg641Oq8HK0VZEQHhnMOUNiMPEv38B910Y9A== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-simple-evaluator.RequestSchema.json b/docs/docs/reference/api/create-simple-evaluator.RequestSchema.json index 881ebed9d7..da42e7d8dd 100644 --- a/docs/docs/reference/api/create-simple-evaluator.RequestSchema.json +++ b/docs/docs/reference/api/create-simple-evaluator.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Simple evaluator payload (slug, name, flags, and `data` with `uri` + `parameters`).","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorCreate"}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorCreateRequest","description":"Body for creating an evaluator via the simple surface.\n\nCollapses artifact, variant, and first revision into one call. The\nresponse returns the same flat shape that `/simple/evaluators/query`\nexposes."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Simple evaluator payload (slug, name, flags, and `data` with `uri` + `parameters`).","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorCreate"}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorCreateRequest","description":"Body for creating an evaluator via the simple surface.\n\nCollapses artifact, variant, and first revision into one call. The\nresponse returns the same flat shape that `/simple/evaluators/query`\nexposes."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-evaluator.StatusCodes.json b/docs/docs/reference/api/create-simple-evaluator.StatusCodes.json index 08c2b6a232..d50b7d8e32 100644 --- a/docs/docs/reference/api/create-simple-evaluator.StatusCodes.json +++ b/docs/docs/reference/api/create-simple-evaluator.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-evaluator.api.mdx b/docs/docs/reference/api/create-simple-evaluator.api.mdx index a7beb8a4df..45189e960f 100644 --- a/docs/docs/reference/api/create-simple-evaluator.api.mdx +++ b/docs/docs/reference/api/create-simple-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Create an evaluator via the simple surface." sidebar_label: "Create Simple Evaluator" hide_title: true hide_table_of_contents: true -api: eJztW0tz2zgS/isonJJaRvak9qTTehyn7J2ZjcuPXGyX3SJbIjIQwAFAO1qX/vtWAyAJ6uk4zla8K90I9gP4gG40PkKP3MHE8uEVP7oHWYPTxvKbjBdocyMqJ7TiQ35oEBwyUAwbKXYvgLkSmRXTSiKztRlDjoNrda2CuPWvwTgxhtxlTDjLxsJYx+7BCFAuY6AK3yyUcALktTJ4L6zQ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f3//flGV/gxSFF5eZUfGeG30hZJ0gQ6Ez3njapk3kDrvvf2e1Z6kbGGBJYKHjvIwyRZ2nGhE7fTpDuLWwhi7Fbfa1JPBLuhts21783Tj8cdB9y2BWRjJQ+Lym9t4p0LchOZHu96aaYYojNBqKj6EIVg3tY4vLk4XAMP8mKArNX3LXGl/Z1OBK/mQL7kD4Rm3aB6aT5r9UYfvQSX82IXH0rnKDvf2sB7kUtfFwMupMAARDG8II6+NcFMPcnB68htOQ7LNh1c3qYHfZMIk6pu1xEMlfkOiIn5efVC7Uhvx7+biwH9fHQ5Unh6azGfdV89H34D6yOe/Wm4vM+YvLWKE7V8/dIXtVUJX1F4MdEWNzN+VeNW+eww6fFLBC+spplfKu4JO+e7KooydNC7I0gmsl5njc6sbJ8/NCSQpamXdBDdqtI1sGwXTTk1sJbBuufWDUVscTpaJWTyu+2N5VxxmWvvYHZjTs1p3EGu6kfjpjkS9XCXN1HvJ5Ww+qwlLR6iRTsODvxUAdnB6stDH3isKtZD7yNJMXP+67VuzirrFQyfMiQ+03CFM/tG+objQnu35/uCXwT4V0WKegEpcxP9yxG/w+7diPXGx3Qh2f/9Y/PtHDDwU3fcqCUIlok+InFc8UMOTm1PLM06xvaQQO7ziT0/3YPHSyNmMisM/QCgcFsLCvUzixVecLv5thJ6oFT6c+jbf0/y7umnlIw8W6h6G4XznN7Wu7sIeTzE81DjIc/SqxWrbm2TfOP10fsEzfh//RjLx0YobeKTNDh6pnfS3Gartl5wve+IS1LimbXnIAyb9/gMgVCwp sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-simple-queue.RequestSchema.json b/docs/docs/reference/api/create-simple-queue.RequestSchema.json index b6fb53fd22..4377e1c2ee 100644 --- a/docs/docs/reference/api/create-simple-queue.RequestSchema.json +++ b/docs/docs/reference/api/create-simple-queue.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]}},"type":"object","title":"SimpleQueueCreate"}},"type":"object","required":["queue"],"title":"SimpleQueueCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]}},"type":"object","title":"SimpleQueueCreate"}},"type":"object","required":["queue"],"title":"SimpleQueueCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-queue.StatusCodes.json b/docs/docs/reference/api/create-simple-queue.StatusCodes.json index 961d14870c..1ce2f4f49e 100644 --- a/docs/docs/reference/api/create-simple-queue.StatusCodes.json +++ b/docs/docs/reference/api/create-simple-queue.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-queue.api.mdx b/docs/docs/reference/api/create-simple-queue.api.mdx index e55e77d893..0de72bf3fc 100644 --- a/docs/docs/reference/api/create-simple-queue.api.mdx +++ b/docs/docs/reference/api/create-simple-queue.api.mdx @@ -5,7 +5,7 @@ description: "Create Simple Queue" sidebar_label: "Create Simple Queue" hide_title: true hide_table_of_contents: true -api: eJztWVlv20YQ/ivCPLUAZSlO4rR8qhI7qJu2diynL4JgrMihtMlyyeyRRBH434vZJUVSl2XVBpzCfrG0nGvn/EZcgGFTDeEIzr4wYZnhmdQwDiDLUblv5zGEEClkBm80T3OBN58tWoQAFH62qM3rLJ5DuIAokwaloY8szwWPHH/vo84knelohimjT7ki6Yajpm9e2tpxIpxhC2ByfpFAOFoAi2NOIpm4bJHWFGaeI4QwyTKBTEIRLI+0UVxO3clmMRBxFVnB1E9/sgmKP3Qmu+cyt+ZnCCoh2eQjRgaKcQCGG0FHK8RQrBHXNkgrRIv5rbsjsfz/73pdXjVFww68auNe5QmXBqeo2orTSfuk6aHb/PHWit3uCBbADab7MTGl2Hx3BrRY7+bRv8iTRQCSpbinv9Zk/E28RQAx6kjxnFxzqKjThogiAG2YsTvjGABKm1LvyVHG/sQ1g5h6i5XSH2kbRag1BJAwLqyizoNKZYqOIiYjFAJjaFhSt7KhN2LdbLoyW03EdgP6xGW8n/lGsQjJGoPaREyjblozdE3zPV3sHYncaMxni2ot7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/tgDB5NRSMQ/By6S/fwF636gh sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-simple-workflow.RequestSchema.json b/docs/docs/reference/api/create-simple-workflow.RequestSchema.json index 695c125121..41664e8d11 100644 --- a/docs/docs/reference/api/create-simple-workflow.RequestSchema.json +++ b/docs/docs/reference/api/create-simple-workflow.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Simple-workflow create payload. Creates the artifact, a default variant, and an initial revision in one call.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowCreate"}},"type":"object","required":["workflow"],"title":"SimpleWorkflowCreateRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Simple-workflow create payload. Creates the artifact, a default variant, and an initial revision in one call.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowCreate"}},"type":"object","required":["workflow"],"title":"SimpleWorkflowCreateRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-workflow.StatusCodes.json b/docs/docs/reference/api/create-simple-workflow.StatusCodes.json index dbfc15cc3b..7a2b42e02a 100644 --- a/docs/docs/reference/api/create-simple-workflow.StatusCodes.json +++ b/docs/docs/reference/api/create-simple-workflow.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-simple-workflow.api.mdx b/docs/docs/reference/api/create-simple-workflow.api.mdx index 9140ef1120..e5aec32f46 100644 --- a/docs/docs/reference/api/create-simple-workflow.api.mdx +++ b/docs/docs/reference/api/create-simple-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Create Simple Workflow" sidebar_label: "Create Simple Workflow" hide_title: true hide_table_of_contents: true -api: eJztWktv2zgQ/ivCnHYBxU6LPfm0adIi2bbbII/2EBgpLY1tthSlJam0XkP/fTEkJVF+pq67aHbdQwHR8yA/coYzXzgHwyYaBnfwIVefxyL/omEYQ16gYobn8iKFASQKmcF7zbNC4P0XLwgxFEyxDA0qsjAHyTKEAdQC9zyFGLiEAfxVoppBDAr/KrnCFAZjJjTGoJMpZgwGc2By9m5szZhZQWa0UVxOIIZxrjJmYABlyVOo4kZClkJANYzBcCNooF5DdJFCRT+QP9TmRZ7OyEfr3qgSY0hyaVAa674oBE/smvufdC5prJ1coQgRw1HTV4PAYA4p6kTxgvRgANcWoqNaIHLIRQWbiZylvejUfuvITDFiyvAxS0wcsSjFMSuFiR6Y4kzSkEwjJiMuueFMRAofuOY5DUS5xChhQvRoAzrzGgu7lyGWXQGu74N10ohHcpTnApmEFsoLHZ0EojH4Kfqdq2Iyhg9MlMzkapupl43gakNa8qJAs83MtRdbbSRjkk1oczcbeevFVhtJSm3ybJuNUye12oQQW/XfiHXK0zz/vE37nGTWTD9PcevkSWYdhCaZbgeQhFYbGCOmI5ZsXcKrWm7NMqZs62E4JZkV6lOm70slNqqfMx3dKrFO3YX0VgvXTmyNkSmTqcDNo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D/5myq88D3OdIsD4PZP9/HOvzWJd/j2YNwV1W22Fu+NFqdIlhfelthwYu63t0G7KBLgQrVXZ51ObmYX2rL3jkOgm4JhJV5eKBxfXlPnO3r7nQlzI5JSb16aNpyGJLNP/28uUyt/wRBY8NKRq8ltIwmlsSyzHTyE2q6px8UUDkUeftt2xSL9Oy+8LjKXJH6hLboKYes9Mse1s/K4VT1m6UflEDRnBNb+vT1oj754Wp4vRXT83SgpwQll/1xk8HhI0dvpPr+Hq9RHaF+qE4tUuwzkPOrq8vlhRa/+g6hq0kA+tRwaf2Km/KdJLTZd8iV9pc7dUJDGFgvwoMamZfDSAExeRDfefX1DEwwIKbFbaPidaFGg4GrDyMRF7Gh4YqxUPkVnBEOqJScj0zSo4vzt+ymc2kYXg78gXMCWJdrSvWLA8W/C0jwNz94+NSJ7nkf9cfBcwNZFstGRDJ5S/bi8GvvyJNERYu9jbfKRa/R7jo2f2y0DY2Xwnapobzb5tqBr9tMYR8+2gpdq+D4cx9nYYEbxtaUrttcwy1NzjLOHtqDYPsnhtK2HuuqwuvqWFsPb2Ofq0ZWUeGtkxhQ2+1e7LrmE2zrRo9MVeKm5K7bbaO1jy2xbBfh7VFVj0Nz05b7nTyED8L7ySO1WLGYvcXzya5H0MM4Y/B8cX50hw7rygeY2TCT+235nUzt3oTtXuHqsfURGPQDNPfmzcUPJq6HY4OXxweURNt5RQzz0Tv9l/gDd3OoiA3KATyzKMsbGS4BRsZoP3qpyAEinAJRZDhLcznY1TsRoqqomb7GwDa7jFXOBbehrhns6XfDdDeojGYaGGOzjHheztqqA+jy3Y9sYfbgYnsbd+lg45ClO1xHEXMVNz9siMvKl58uLqGEMbuhwSp2Y0gkbCj/0MA+tUE9TYuZdrmIDCblnQ2DcHqpL9/AEX+Bf0= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-tool-connection.RequestSchema.json b/docs/docs/reference/api/create-tool-connection.RequestSchema.json index c9f69a7178..577e77b013 100644 --- a/docs/docs/reference/api/create-tool-connection.RequestSchema.json +++ b/docs/docs/reference/api/create-tool-connection.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"connection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"type":"string","enum":["composio","agenta"],"title":"ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},{"type":"null"}]}},"type":"object","title":"ToolConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnectionCreate"}},"type":"object","required":["connection"],"title":"ToolConnectionCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"connection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"type":"string","enum":["composio","agenta"],"title":"ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},{"type":"null"}]},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"auth_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Config Id"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"no_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"No Auth"}},"type":"object","title":"ToolConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnectionCreate"}},"type":"object","required":["connection"],"title":"ToolConnectionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-tool-connection.api.mdx b/docs/docs/reference/api/create-tool-connection.api.mdx index 8bd76345e1..4ea958c6f0 100644 --- a/docs/docs/reference/api/create-tool-connection.api.mdx +++ b/docs/docs/reference/api/create-tool-connection.api.mdx @@ -5,7 +5,7 @@ description: "Create a new tool connection." sidebar_label: "Create Connection" hide_title: true hide_table_of_contents: true -api: eJztWEtvGzcQ/ivCnFpgLblGT3uqIieI6qY2bLkXQRCo3ZHEhLvc8GFbFfa/F0Ou9hnLsmIXdVBfrCVnviFnPs4MuQXDVhrCKUykFBpmAcSoI8Uzw2UKIYwUMoM91kvxvmekFL1IpilGNN2HAGSGitHHOIYQIic9J7l5JQcBKPxqUZt3Mt5AuIVIpgZTQz9ZlgkeOYjBZ002t6CjNSaMfmWKDBiOulDbQXbmlsJtZAss3VwuIZxugcUxJ2EmrhqilYTZZAghLKQUyFLIg3JIG8XTlRv5NgxEXEVWMPXTH2yB4nct05NxmlnzMwQ7ELn4jJGBfBaA4UbQUEsY8o5wtYbUCtFQ/uD2SCo//l4nxVYTNOzIrdb2VYzw1OAKVdNwsmiO1D30lD8+WLHfHcEWuMHkMCWmFNvsZ0BD9Xke/USezANIWYIH+quD8Sfp5q0kcRzUeQ0iD0ALuzoW6oZ084Aywh2PUc2/oEszTYQAMLUJ5bpIJpnUXEIAbIWpYVAnnpQUbAd0wdOYgB1vfJ57DHunPq5Eexe4cc5ibQq30hoTYsGiL3OrxLEuGBUYvVslyCazZj13eXRvrCufSNIgh2TcbbHlkaE16xsP111G3uFhU3lU5m1fTs6ZY+IhMFQ4uMKYltgIbzcos/1G4Sn4WnV5AuraVzPICbKCMMqiG9CZTLWP7dnpKf1rFtUbG0Wo9dKK3nUhDMHxRdF6pVaOq3HDSdChXTIrDISnedCqpY9R879QVS+teUap8dJvt66+/m7fWGV91CF7S2tH6xm19Rin7oqr74DjOTP70+5SqoRkqDjgieHfzKu1I+xhe0O3LJvFr2Hk1sMWRmIU+ApGzj1sYWTnrsVmzuMD7VjL44Oc9W7TG8d1f72olZ23Sis7h72olZ27Sis/bvf2ck7znno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C3sstp0r4Oa950rnfq+5v6Llw2t1qVJ86abZjuTr68umtH6AsIfnQsfM3PVDpmR3/9odHbcI6rzitIP4z7aqs0MtTze8KzGoagFSH3yAYss/a1+Q7FCbhrMHOz/sn/g+wllbMqylonyO8a4/VFio7eq0+KjHz1Kn6TAH+SSCZ+aymIVguoafFBB+/BOTxT2S4q+4TWs1zNm8ErLoqDh7w41RcokhhumBZsRqdeUF5dVzKwhuMw4zHTPZy8Sly7EyEYyp2ANGiPOMbdbZSetBHF2enEJMczKzzWpSkhHs1tyG3YLQ/CffsKqqGLT2BokyxaO8u8QAib9/QN/CBjL sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-trigger-connection.RequestSchema.json b/docs/docs/reference/api/create-trigger-connection.RequestSchema.json new file mode 100644 index 0000000000..541de54cc9 --- /dev/null +++ b/docs/docs/reference/api/create-trigger-connection.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"connection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"type":"string","enum":["oauth","api_key"],"title":"TriggerAuthScheme"},{"type":"null"}]},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"auth_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Config Id"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"no_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"No Auth"}},"type":"object","title":"TriggerConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnectionCreate"}},"type":"object","required":["connection"],"title":"TriggerConnectionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-connection.StatusCodes.json b/docs/docs/reference/api/create-trigger-connection.StatusCodes.json new file mode 100644 index 0000000000..950214796a --- /dev/null +++ b/docs/docs/reference/api/create-trigger-connection.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},{"type":"null"}]}},"type":"object","title":"TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-connection.api.mdx b/docs/docs/reference/api/create-trigger-connection.api.mdx new file mode 100644 index 0000000000..cd6ab9195f --- /dev/null +++ b/docs/docs/reference/api/create-trigger-connection.api.mdx @@ -0,0 +1,67 @@ +--- +id: create-trigger-connection +title: "Create Connection" +description: "Create Connection" +sidebar_label: "Create Connection" +hide_title: true +hide_table_of_contents: true +api: eJztWd1PIzcQ/1eieWqlhVDUpzw1F+50lF6JIPQFRZHjnSS+8673/MGRRvu/V2PvZzYECFD1TuWFxJ75jed77GzAsqWBwS1MtFguURuYRqAy1MwKlZ7HMACukVmc2UAw4ypNkdMuRKDxq0Nj36l4DYMNcJVaTC19ZFkmBfco/c9GpbRm+AoTRp8yTTKsQFOwlZCdvYX0B9wAS9eXCxjcboDFsSBiJsct0prCrjOEAcyVkshSyKNqyVgt0qVf2Q0DXGjuJNM//cHmKH83Kj06TzNnf4aoBFHzz8gt5NMIrLCSlraIIe8Q12dInZQt5g9eR2L58XWdFKomaNmBqjb0KlZEanGJui04mbdXmhZ6zB4fnNxvjmgDwmLyNCamNVvvj4AW6/Ms+oksmUeQsgSfaK8Oxp/Em0cQo+FaZGUqHgJ11oDIIzDSLQ+FuibePKKKcCdi1LMv6MtMGyECTF1CNYyrJFNGKGjGWyhb4wLiQqQxQfqICUXuIdQS4bwm7V3g2puJbQfvVkFjUs4Z/zJzWh6q/KjA6N1oSTKZs6uZr6B7vVxbQxEHRMAy4VXsGmXo7Oo6IHZPkkdlXcZ4xjhXLrUzER+sTonVGwas3nlcqcVVuhDLF6CTJr2RRylwNcZCI7cvccFVgVG6INOKsvEF5xwHhOKMqZ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4BGfEQLg== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Connection + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/create-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..7f965103e5 --- /dev/null +++ b/docs/docs/reference/api/create-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"schedule":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerScheduleCreate"}},"type":"object","required":["schedule"],"title":"TriggerScheduleCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/create-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..801282857b --- /dev/null +++ b/docs/docs/reference/api/create-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-schedule.api.mdx b/docs/docs/reference/api/create-trigger-schedule.api.mdx new file mode 100644 index 0000000000..665e7e2849 --- /dev/null +++ b/docs/docs/reference/api/create-trigger-schedule.api.mdx @@ -0,0 +1,67 @@ +--- +id: create-trigger-schedule +title: "Create Schedule" +description: "Create Schedule" +sidebar_label: "Create Schedule" +hide_title: true +hide_table_of_contents: true +api: eJztWW1v2zYQ/isEv6wNFMcJOnQThmFpkqJZ1zZI3H5YYhi0dLbZ0KRKUk40w/99OFLvjpXES4GhSL/Uoe6ND++Oz0lLatnU0PCSDjSfTkEbOgyoSkAzy5U8jWlIIw3Mwsh6gZGJZhCnAmhANXxLwdg3Ks5ouKSRkhakxZ8sSQSPnI29r0ZJXEPFOcNfiUYPloMp1p3BtScT4YJrL3MzYpHlC6d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Ce1EsBV+nlaRn187z4PC8+z4vP8+LzvPg8L/7A8+IDo9ygXY50Kzcfvjo4WJ8AvzDBY3+GJ1q7etpy/IvBMi7cWOY5d1tAqKjx9DEzw3DVoum1UUf5AN3AYqZd9/gHMIZNa62zgyMgGGSAT4vr0onXLzNHBO1tzczaiRwhlrf23jxAbHz4uVz9qiqPyJ/QZiiO/RF0pci7weBszaDPj2ZieDJKLqrPa3OwM4Vf4BJl0KTv73Qv/xJn9oqiMHtYIaDxinbnm2qBgizh7nD9nzNrExPu7UHai4RK4x6bgrSsx7gXHKKNKNXcZs7I4dnpe8jeAYtB0/ByWBfAKOc+y5pi5cmwhL93levHL3qY2pnS/B+fOnjCGJLXQjAw28+r74knt2yeeJJYJ4zle4nam4j85Uv+oqCaosvRr0q2JuLVck5ta2S2eli5r63VOCk96B+82u2/3j34dbD/c/jzfnjwS6//ev9vWqeVXVJtbtimai0C0Yovz4qill1mcTlR9eo5dCdNDs9O10BoPMJOxCJXeMWxucc0aOVQlTq4y7nrQ9QCm/9RPsGyKTkj7ff2e31HUpSxcyZrLtYTvzVt5xmFdb2XCMZd53HxLPPdX9KiJmoHhr+xrGdYPeElXS7HzMBnLVYrXP6WgsZEHwZ0wTRnY0TqEvverEj5Ausj36B3XXdCcZH6FG81a6w1r3EYRZDYTtlhrcDPPl0MaEDH+Yf0uYpRR7Mb7FrshoaU4ld51HbZ79aWVDA5TbG/htTbxH//AvqM9Ms= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/create-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..ddfd840889 --- /dev/null +++ b/docs/docs/reference/api/create-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"subscription":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscriptionCreate"}},"type":"object","required":["subscription"],"title":"TriggerSubscriptionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/create-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/create-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-trigger-subscription.api.mdx b/docs/docs/reference/api/create-trigger-subscription.api.mdx new file mode 100644 index 0000000000..f6ffbe352c --- /dev/null +++ b/docs/docs/reference/api/create-trigger-subscription.api.mdx @@ -0,0 +1,67 @@ +--- +id: create-trigger-subscription +title: "Create Subscription" +description: "Create Subscription" +sidebar_label: "Create Subscription" +hide_title: true +hide_table_of_contents: true +api: eJztWm1v2zYQ/isEv6wNZCdN23QzhmFp0mBZ1zZI0n5JAoOWTjIbmlRJyolm6L8PR0qyJDuO46VDMSRfYpH3Qj68Oz4ne0YtSwwdXNBzzZMEtKFXAVUpaGa5kscRHdBQA7MwtF5gaLKRCTVPcZ4GVMO3DIx9q6KcDmY0VNKCtPiRpangobOz/dUoiWMmHMOE4adUoxfLwbjxptGF2Vi4RXaHuRmy0PIp4IPNU6ADOlJKAMOFWW4Fjhwbsu+lAhpBzDJh6cDqDIoALUyZ4NF9Br44oaX6Foy9T/0cZRraMRMGiiKolNToK4S2oVMexlkDlSOHAeqUWDCZf4rp4GJGWRRxFGHipIXPXKKzuCKoh4zVXCZuZLkZGnIdZoLpZ3+xEYg/jZK9Y5lm9jntrr+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3BYQKW7MPaS6uig6fb/REyi/QdTYmWXUPfwBjWNKopSuubASDnONsdX868ebt5viKvW2YWTiVA8Ty1t4bH4iNX34p17y76iPyJ3Q3FIf+CFaFyR/n5ycLBn18tAPDs1Zy1v7acQJ2rPDbyVS57tsXfbpdkhqz3Xz7YLYpXj4a7253zpkWKMxS7g7ZP46tTc1gexuyfihUFvVZAtKyPuNe8ApthJnmNndG9k+O30P+B7AINB1cXDUFzjA2fbS1xeoTYinH+6rq1+h+ZsdK879ZuUGOex97LQQFo/50/l3ru1s2SQUs++60fp/SeIPiadT8hUj97F9w+FcW9duHeWte95PzwGyfTj3c4cv0Zcx+fh3vveq9fvPiTe/V673d3uhlHPZ2w1/2XsZ7eyxme3ROZhv0tZEDXYa6hEF2CV2HZnQslmFSJbgLNy5j1UypfXfsZP/keGG3rSksTyx02VidoZumQSeg5nFEAwoTV5yoBTb5vZ7BXKqZJd3pv+jvOCqjjJ0w2XCxPBs6/XoZYpjw26lg3JUkt6ZZicBFha2h7Rd1+Iw5P8a0GlzQ2WzEDHzWoihw+FsGGqP/KqBTpjkbIWIXWBTHVR5UmB/46t1zpQvFRebjvlPJMQG9xn4YQmpXyl41Mv/k09k5Deio/OXBREWoo9kNljR2QweU4k8Z/K4GMz82o4LJJMPiO6DeJv79A6kEb2w= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Create Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-webhook-subscription.StatusCodes.json b/docs/docs/reference/api/create-webhook-subscription.StatusCodes.json index bedd7f2965..7e5e0d98fd 100644 --- a/docs/docs/reference/api/create-webhook-subscription.StatusCodes.json +++ b/docs/docs/reference/api/create-webhook-subscription.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-webhook-subscription.api.mdx b/docs/docs/reference/api/create-webhook-subscription.api.mdx index 7f5f6c6fc8..b43484ae6a 100644 --- a/docs/docs/reference/api/create-webhook-subscription.api.mdx +++ b/docs/docs/reference/api/create-webhook-subscription.api.mdx @@ -5,7 +5,7 @@ description: "Create Subscription" sidebar_label: "Create Subscription" hide_title: true hide_table_of_contents: true -api: eJztGstuGzfwV4g5tcBaUtwcCp3ixDHiJmmM2EkOtqBQuyOJCZfckFxZqiCgH9Ev7JcUQ672Ia3kBxwgKeyLpZnhzHDes6slOD6x0L+ETziaav3VwiACnaHhTmh1mkAfYoPc4fA6EAxtPrKxERnhIQKD33K07rlOFtBfQqyVQ+XoI88yKWLPp/vFakUwG08x5fQpMyTFCbQeXme6hR1Lr+QSuFq8G0P/cgk8SQQRc3nWIK0o3CJD6MNIa4lcwSoqQdYZoSYe0s4GYmHiXHLzyxs+QvmH1ergVGW5+xWiNRM9+oKxg9UgAiecJNAGMay2iCsdVC5l4/CJvyMd+f/f9aK4aoqO3/OqtXsVEKEcTtA0BaejJqRuoZvscZLL/eaIliAcprc7xI3hi/0R0Dh6N4u+JUuuIlA8xVvaa4vHn3R2FUGCjVS8D6vjGgviyF1LzudG0r8m1whSPn+DauKm0D/s/f5bBKlQa8CTCMbapNxBH3IjoJL4wUiSNEWeoLll/mze5w72flXIWUWQ8YXUPBmOBcrkVpKdyfEuws6CBHYSJKwi4LmbDlOd7PV1BKjylGq7FRPFXW4QwlFtxF++LsNgn9yj3E3ZW5KyigBnqNyQSDfuWKTAbulF47CdepG3HYfWYUIuNDxG2xmji6d1wLccjfCA8Ml2DM6E9YcNOiNwtgNbsdrG7eMq9WSyAxXrNBWuUBiti7lt6lzCKgEEs+h26d2CbvLbQO5lXKregqvrfq3N17HU17uUasNXWrVhK7XasKVebci6YqhmwmiVotppsB0klXo7CCoNdxCUSu7AV3rWsqMYmF5SXlxQ6G9UTjgP4T7iI4nMpw/z6cP+/fsfxhnlSewYJQU6pses5NS5UlfqI5c5WsYNsgSNmGHCxkanFRWzmrkpspBvllnHF0woZhcq7lypC814kjDOFF4z265KxIRjaW4dGwtjHcO5sI541FX5NEXFcO5QJUJNmJsKyyi1I2ZwgoomRWQna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_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-workflow-revision.RequestSchema.json b/docs/docs/reference/api/create-workflow-revision.RequestSchema.json index 7bb2341e13..d22f05f1b5 100644 --- a/docs/docs/reference/api/create-workflow-revision.RequestSchema.json +++ b/docs/docs/reference/api/create-workflow-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision to create on an existing variant. The revision is immutable once persisted; to change the payload, commit a new revision.","properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowRevisionCreate"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision to create on an existing variant. The revision is immutable once persisted; to change the payload, commit a new revision.","properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowRevisionCreate"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workflow-revision.StatusCodes.json b/docs/docs/reference/api/create-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/create-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/create-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workflow-revision.api.mdx b/docs/docs/reference/api/create-workflow-revision.api.mdx index fb76ec6a5b..8f70900860 100644 --- a/docs/docs/reference/api/create-workflow-revision.api.mdx +++ b/docs/docs/reference/api/create-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Create Workflow Revision" sidebar_label: "Create Workflow Revision" hide_title: true hide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fVu9c7q0m0+6uyff/NVxanAuiqdvzW7hD6csR+eT06edV5/fOLnzuvXp8cd4YvR2HnOPz7ycvRyQkbsRNab/TYlqfWvLEtU60fY1umos9guZ/AZyz1zoBysKjyl0NFzb4cyivw5YgtqJefrkReYbA17yqmLWKXA2VRuhzzFebK5FzFuAJrK8D+uyjpVr7zF73KUFFxreD68mleUfWlzLLOVxSnSudTP4HFsIu0Cvdo/ZGLDIt2FXtgyOnlRQOl9hO6dhZaT5Zbv/2ZBktHsTyBNlS2jp0aYPE/i19qZQZ61H3RPcIh9AkxkxURazzJUmXNn1D0mL1UMC4rT/HOyZT9hNp6UO9maEDRY07QH/Xv6Hw+ZBpulVgscPiPDBR6jnt/wIaos7v74pHeOpVHmOX+WpqOdfxILjLnM5buQXRejuM0DMG+Da+mva+4zMuP1zc0oEP/h0CxtWGq2BMuhz3RPqX4Z0XGrgpjfBybU8HkOLPdQtRh4r//AaVkG8c= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-workflow-variant.RequestSchema.json b/docs/docs/reference/api/create-workflow-variant.RequestSchema.json index b9cada73bf..16abc29c8a 100644 --- a/docs/docs/reference/api/create-workflow-variant.RequestSchema.json +++ b/docs/docs/reference/api/create-workflow-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_variant":{"description":"Variant to create under an existing workflow. Requires `workflow_id` (the artifact) and a project-unique `slug`.","properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantCreate"}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_variant":{"description":"Variant to create under an existing workflow. Requires `workflow_id` (the artifact) and a project-unique `slug`.","properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantCreate"}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workflow-variant.api.mdx b/docs/docs/reference/api/create-workflow-variant.api.mdx index 196e172ad2..db0b462297 100644 --- a/docs/docs/reference/api/create-workflow-variant.api.mdx +++ b/docs/docs/reference/api/create-workflow-variant.api.mdx @@ -5,7 +5,7 @@ description: "Create a new variant under an existing workflow." sidebar_label: "Create Workflow Variant" hide_title: true hide_table_of_contents: true -api: eJztWdtuGzcQ/RViXpoAK8lxErdVX+o6CewmbYzYSR8cwx7tzmrZUOSG5MZRBQH9iH5hv6QY7lU3y3ZcoC3qJ4s7c0gOh2fOzs7A49jB8Ax+MfZDqsyVg/MIEnKxlbmXRsMQDiyhJ4FC05X4hFai9qLQCVmBWtBn6bzUY3FVIfTf6/f6XWnmBFoSI4s6zsgJk7IHWi9TjP1XTmTSeWOn3wnCOBMTlNqj1E5I74S50u+1pU/SSaOFMuO+qFCFU8W4hC60/FiQuJI+k1r4jERuza8Ue/Hn738IS4WjMOt7zT4ClSVMpkJqwU8s+cJqJ1A82flWxEanSsY+bOCEaCjO3pHl2aUenz8YWErJko5pgLnsjQuZ0OBTY/CwDxGYnCxy2I4SGEIcAndRB+aiih1EYOljQc7/YJIpDGcQG+1Je/4X81zJOGAMfnUc/xm4OKMJ8n+55Rm8JMe/VoCHs6WjqwPmjSgXc925iTf0sZCWnLhskGVyKR5wWOtDeyhQJwLrMPeqA7jk8F5yCDYsUSZhd3r6OoXh2Qz8NCcYgvNW6jFEkBo7QQ9DKAqZwDxqLHShFMzPI/DSKx6oM1UcsR3UC7vHGfYryGqGVIU70sVe3KR0F51j45EKeWSMItTQQh85sd8x5auWYqE8DFNUjuYRg9EnVAV6Y7dBPW8M1wM5LfOc/DaYk8psPcgENY4p2QbyU2W2HiQunDeTbRgHpdV6CKW2+r9Sm5wzYz5s8z5kmw3LNwltXTzbbAqhj7PtAWSj9QApUTLCeOsWXtR2G7aR4dZkOGCbNe4ZuovCqmvdD9GJt1Ztci+ZaSvCSWm2ASRDnSi6/mowymFltwIzj2pHM2IKg1VqeRFu/HIdfEVjjKciLZRqSFMwOQhHvr+GUXimFerAJJEMiOp4gURWiKveVge34jIeWQ8DsbRxodA+eIUj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TN7wbmsftvBRsm2Q01btx2qm7TtiO+5tj9DF7Xj4NuiXUzf52wH2r5lOxabkJ3FhaZiB9Y3CePvpuvX+V238TpDTVOugxs7bLWij0q6lZmNNmov+CL9NcOhljQU5O98rrtX3ndNgR2enqygLDwi+oTUp02di/4xT5YuRnsfeMJx4smTO4TJv5ondNfjByg+5Hv9J/09GqILOgHVmSJ+wWte/T40H6KWdF1D7n9/9Lv9R7/IMcTkg1KC8LUmNqoDS7bNHWrI1jzJE05EXhCfDi/4bDYCi++NnM9p+HOFhqjvMjqMKM0uqNIVNQnO+Cec1mVEuZ6vR2Quq0B6S+WZ2Dd4HKYp+gb3ZtvLDuWfvj075wkfxc+VE3/tuYEbqlNww4fcf/skb89OfmzGJahxRRV1yAMm/f0B8GSBsg== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-workflow.RequestSchema.json b/docs/docs/reference/api/create-workflow.RequestSchema.json index 887a20fd44..85be65188c 100644 --- a/docs/docs/reference/api/create-workflow.RequestSchema.json +++ b/docs/docs/reference/api/create-workflow.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Workflow artifact to create. Must include a project-unique `slug`; `name`, `description`, `flags`, `tags`, and `meta` are optional.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowCreate"}},"type":"object","required":["workflow"],"title":"WorkflowCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Workflow artifact to create. Must include a project-unique `slug`; `name`, `description`, `flags`, `tags`, and `meta` are optional.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowCreate"}},"type":"object","required":["workflow"],"title":"WorkflowCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workflow.api.mdx b/docs/docs/reference/api/create-workflow.api.mdx index 80721a5742..a4bfb47c04 100644 --- a/docs/docs/reference/api/create-workflow.api.mdx +++ b/docs/docs/reference/api/create-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Create a workflow artifact." sidebar_label: "Create Workflow" hide_title: true hide_table_of_contents: true -api: eJztWdtuGzcQ/RWCTw2wkhwncVrlpY4Tw26Sxojt5EEWLGp3VmLMJTe8yFEFAf2IfmG/pBhyb7pZtuugQZG8xMudOSSHwzNHszNq2cjQbo9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/sF7pVJtUMp7hWQiBJuy3BplsqlUYFkR5XuCKtq/oPP5iFl4Z+Rigc2fPBhUvkFCg9VH6KQXGN8mlQbO6TXMquChXCdEIYRLHzVvJSij+MYeh5xDqM1uxw5aQn/65uycJnRUXoflQTSoYeGqjN3QPg13amGTEBDa5lQyNfYYR/s0cuLfXyZ3D9w= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/create-workspace.RequestSchema.json b/docs/docs/reference/api/create-workspace.RequestSchema.json index e6b6670a4d..ad6b15a9f8 100644 --- a/docs/docs/reference/api/create-workspace.RequestSchema.json +++ b/docs/docs/reference/api/create-workspace.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","title":"CreateWorkspace"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","required":["name"],"title":"CreateWorkspace"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workspace.StatusCodes.json b/docs/docs/reference/api/create-workspace.StatusCodes.json index 4ba606a9a6..6a176500e1 100644 --- a/docs/docs/reference/api/create-workspace.StatusCodes.json +++ b/docs/docs/reference/api/create-workspace.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"organization":{"type":"string","title":"Organization"},"members":{"anyOf":[{"items":{"properties":{"user":{"additionalProperties":true,"type":"object","title":"User"},"roles":{"items":{"properties":{"role_name":{"type":"string","title":"Role Name"},"role_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Description"},"permissions":{"anyOf":[{"items":{"type":"string","enum":["read_system","view_applications","edit_application","create_app_variant","delete_app_variant","modify_variant_configurations","delete_application_variant","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_app_environment_deployment","edit_app_environment_deployment","create_app_environment_deployment","view_testset","edit_testset","create_testset","delete_testset","view_evaluation","run_evaluations","edit_evaluation","create_evaluation","delete_evaluation","deploy_application","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools"],"title":"Permission"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"type":"object","required":["role_name"],"title":"WorkspacePermission"},"type":"array","title":"Roles"}},"type":"object","required":["user","roles"],"title":"WorkspaceMemberResponse"},"type":"array"},{"type":"null"}],"title":"Members"}},"type":"object","required":["id","type","organization"],"title":"WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"organization":{"type":"string","title":"Organization"},"members":{"anyOf":[{"items":{"properties":{"user":{"additionalProperties":true,"type":"object","title":"User"},"roles":{"items":{"properties":{"role_name":{"type":"string","title":"Role Name"},"role_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Description"},"permissions":{"anyOf":[{"items":{"type":"string","enum":["view_applications","edit_application","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools","view_triggers","edit_triggers","run_triggers","view_sessions","edit_sessions","run_sessions","view_mounts","edit_mounts","use_mounts"],"title":"Permission"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"type":"object","required":["role_name"],"title":"WorkspacePermission"},"type":"array","title":"Roles"}},"type":"object","required":["user","roles"],"title":"WorkspaceMemberResponse"},"type":"array"},{"type":"null"}],"title":"Members"}},"type":"object","required":["id","name","type","organization"],"title":"WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-workspace.api.mdx b/docs/docs/reference/api/create-workspace.api.mdx index 0e181a612e..d481c65867 100644 --- a/docs/docs/reference/api/create-workspace.api.mdx +++ b/docs/docs/reference/api/create-workspace.api.mdx @@ -1,11 +1,11 @@ --- id: create-workspace title: "Create Workspace" -description: "Create Workspace" +description: "Create a new workspace in an organization (owner only)." sidebar_label: "Create Workspace" hide_title: true hide_table_of_contents: true -api: eJzdWEtvGzcQ/ivCnFpga7lBTzrVTQLESNMIjtMcDGFBLUcSYy7JkFwrqqD/Hgy5u+SuHkmNnuqLxXlxOPPNcLh78GztYPYA7+2aKfEP80IrB4sCtEEbVrccZlBZZB7LrbaPzrAKoQDDLKvRoyX9PShWI8xAZ3ZKwaEAoWAGhvkNFGDxSyMscph522ABrtpgzWC2B78zpO68FWoNBXjhJRFyvya3HA6HRTSDzv+h+Y50x1YrrTwqTyxmjBRV0J5+dloRLW1qLJ3SC3S0iifYA1O796twpqFTh6KnqEZKIE86N/8i3UMBHF1lhaH9nmvqVWbiULRizzN1T/RDbwT08jNWPovuy5DWT31WDweStuiMVi5G5cX1Nf0bHAw+NFWFzq0aOblrheHZcY/Y4iXzl4AQXeWTG09RaQz/AZ2PUarVEfySLGGr+N9ioBgU5o8WHOnVWC9DjefbC4+1O85k49AGQc4F6TM5z/ixOM9B8SPpEvi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7Kcwm11oN87aPiu9J4N5UaXjhCD7ltjooZoY+JxLSDU9BW0h09qKUMZQp0RuTHZDrKUOapwgqPibSEWiKOi9Nadm6vAcqR5nfgMmK5jAowgj1vB9ZFXnedtsxbOLSMFvTsha6inGqhymIDRI1u0ja1bvgAM4ZtT/bHSdQLX1s2ui4eKWh3jRMG9Nvx6wf5kdRMlWNnXfv51m4q/+TC1/VofM0Gv+L6y9Z8g2l8zKzOIL92/XJxcbhp/cmk4GHr/WyMNu9fszg6JuSJqSt13qO+YX4K5XBJM336cgx/rzuHXzTs8tRIv0Zr2RLjdeglVu+MpFl8hCqrsAk225xH7FPI3XOk5mAjuSRfPrtXw0u+CebXfFE8uxCFCL3sik8hBMcOa1i+3N9PDhSG/CjQrTQ9wkptnX94uRVkMIrzzI52g5fXftQOVOoGtGc0T7XKSJJnpfAxDeDKudJmoxFWZ7nUFT9jS1SOnTERGKekI6+McFuvZDy5+orbL8g47YUP05jhjlIxJFefrQ0IK8VX3Dalk8G4citturntH42rIEU+oCS/7V59n59ZUUrsXm1dovTLqMufQSqDUAsdZ87YXzcZT64OlPRIVIUsd9HRgUwdt+fIzn/Umgtfg+CQFb+2FLKDohKOOT/7+ezcL57auoKp6Ij6Gf+9t2X1lt62OfyLJ3/tIyqMUSmZ8KXrL7Wrk+6h19wor7LDB3+Ud9MUVpS02QPsdnNm8ZuR+z2haYOhRJqmsGZGsDkF4WEHXFj6zSFbMGnxxD0/3NZ1+jF5yfYm2RRlGg10giCFR9we+avCN7NVk9C7musyHPjTfWjujZaDDkyVFCTGeY6lO8k7jap6cnN3DynM6z8zCs1JxrANtSK2CRbr0jXvEI/bgWRqWVHTzCDopM/fx1tdOQ== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -37,7 +37,7 @@ import Translate from "@docusaurus/Translate"; -Create Workspace +Create a new workspace in an organization (owner only). + + + + + + + + +Delete Metric + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-mount-file.ParamsDetails.json b/docs/docs/reference/api/delete-mount-file.ParamsDetails.json new file mode 100644 index 0000000000..2b57fbbcdc --- /dev/null +++ b/docs/docs/reference/api/delete-mount-file.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-mount-file.RequestSchema.json b/docs/docs/reference/api/delete-mount-file.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-mount-file.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-mount-file.StatusCodes.json b/docs/docs/reference/api/delete-mount-file.StatusCodes.json new file mode 100644 index 0000000000..183d9aaf82 --- /dev/null +++ b/docs/docs/reference/api/delete-mount-file.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"deleted":{"type":"string","title":"Deleted"},"count":{"type":"integer","title":"Count","default":0}},"type":"object","required":["deleted"],"title":"MountFileDeletedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-mount-file.api.mdx b/docs/docs/reference/api/delete-mount-file.api.mdx new file mode 100644 index 0000000000..aafc44a779 --- /dev/null +++ b/docs/docs/reference/api/delete-mount-file.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-mount-file +title: "Delete Mount File" +description: "Delete Mount File" +sidebar_label: "Delete Mount File" +hide_title: true +hide_table_of_contents: true +api: eJytVV1P20AQ/CvRPrWSlaSoT35qVIKIADWCtC9RhA57Ex89f3C3h3Ct++/V3tmOkwBV1T4RvHM765m5dQMkdgbiNdyUtiADmwjKCrUgWRaLFGJIUSHhfc7l+61UCBFUQoscCTWfbKAQOUIMASJTiEAWEEMlKIMIND5ZqTGFmLTFCEySYS4gboDqis8Z0rLYQQTbUueCIAZrfReSpBjgRxstUnAu6tna7p7pyaKu/4qqa73kLs5t+KypysKgYfjZdMp/UjSJlhVrATHc2SRBY7ZWjW5bMESQlAVhQQwXVaVk4qWbPBo+0wxGqDQLSzIwBFnT92Y7byGOSWygaLGyINyhHoC/ekQEKW6FVQTx1Lmog5cPj5jQgUDrfoLNkdAXUmFL3b+mc9zt89nZqSo/hJKpf+fRXOtS/4skJKTiX5IwN6cAVSYHVVHU37Y+gYcSckqOhHKbvRpCa1EPpLsuw4AsdG5271lyg8aIHULf7G2oF2O04qrjmFY2GNiWF/4BW0svgza9U3tfC8IXgj+5ydqE8VvcwNa9RcGht6U4Dxa8RtZBLler5UnDkI/DYIQMjcLlvQiLI0fKyv1W8auEMohh4peHmTTdEnET3jUGIjCon7tNY7VisKikNzn8mxFVJp5M0I4TVdp0LHZYkBgLGYAb7pFYLan2TWbLxRXWlyhS1BCvN0PAHWczpO0Q1jskKnmFrFm7h2aWslLLXyFC7ULKwinnnd+WQ+NnfrjRbLmAY8UOSnyJROIz0zH5MkRHr71/W4gAc3+FgFDkX/oKO84aBprp+NN4yo+q0lAuigHFa54dzNjLwKGcVEpIf238RE1r5jp8Cdi7ePBNCH5uIshKQ4xqmgdh8LtWzvHjsMTZoFQa8aA411uhDJ6M0O8X+HDbXoGPI4heH+0n1vuvxbNQliE+FM9CS+b5/5xdVIp6yNnN0mvil1LW5bBpy7MkwYoGB092KA/f36Tz+fV8NQfnfgMjZKO3 +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-session-stream.ParamsDetails.json b/docs/docs/reference/api/delete-session-stream.ParamsDetails.json new file mode 100644 index 0000000000..1395151c44 --- /dev/null +++ b/docs/docs/reference/api/delete-session-stream.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-session-stream.RequestSchema.json b/docs/docs/reference/api/delete-session-stream.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-session-stream.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-session-stream.StatusCodes.json b/docs/docs/reference/api/delete-session-stream.StatusCodes.json new file mode 100644 index 0000000000..cd29877382 --- /dev/null +++ b/docs/docs/reference/api/delete-session-stream.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Session Stream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-session-stream.api.mdx b/docs/docs/reference/api/delete-session-stream.api.mdx new file mode 100644 index 0000000000..fea70d86f8 --- /dev/null +++ b/docs/docs/reference/api/delete-session-stream.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-session-stream +title: "Delete Session Stream" +description: "Delete Session Stream" +sidebar_label: "Delete Session Stream" +hide_title: true +hide_table_of_contents: true +api: eJyVVE1vGjEQ/SurObWSBTTqaU9FDVJRUhUltBeEosnuAE69a8f2RqHI/70aez8gkEo9sdhvZp7nvZkDeNw6yFdwT85JXTsQw+dagDZk0Utdz0vIoSRFnh5cAjw4bwkrEGDQYkWeLKc6QI0VQQ4dTJYgQNaQw3NDdg8CLD030lIJubcNCXDFjiqE/AB+b2Kot7LeggAvveKDllM2LyGENWdwRteOHAddTSb8U5IrrDTMliOaoiDnNo3K7lowCCh07an2DEdjlCzi48ZPjmMO50T04xMVHgRgWUqGolpYboqXXDvR70h2dbLr2KesI32f+hRCCAI+X12dk/2FSpaRSjazVtv/YWqO+HBej1Lxl/RUuXOA0sXJLdb7H5so22nvg+hPZO1pSxbCOojuDK3F/ZFAtzoRhCCgctt/afmdnMMtQZ/sfWhsRrbk28AeMk1sSHc9jwdBQOFfL4nW4b5yL189hIF/jxm8uIq9SfRb3HrIMUiUFHq/FddJgkvFOsi35XJxljD549QYl50koCK/08NIxhn0O8hh3E6dG6fpdGMQ4Mi+dMPZWMUwNDJKnP7uvDcuH4+pGRVKN+UIt1R7HKFMwDXnKBor/T4mmS7mN7T/RliShXy1PgbcszOT105hvT5o5A1xx9pFMW38Tlv5Jxmo3RW7FBWi7ht9LPs0ksumizm87dfJFY8QFtExXaV4DeLNs4fXggCq4gCBJ6y+9DesN/cwlZmMPo0mfGS08xXWRyXeU+yEZ98KtuXYKJRxcCKrQyvlqlugvJNbMUEAe3KnnWfA4fCIjn5aFQIfp/XK+pTS4aNiU29QOTqr3i8X+HDX+v9jBuIyq9+0f7vNX1A1DIzOeEEruVo0guiEYxopcloUZPxR1Nk+4yy9o69nt7PlDEL4CzkmQWQ= +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Session Stream + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queue.ParamsDetails.json b/docs/docs/reference/api/delete-simple-queue.ParamsDetails.json new file mode 100644 index 0000000000..13bffd7a89 --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queue.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queue.RequestSchema.json b/docs/docs/reference/api/delete-simple-queue.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queue.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queue.StatusCodes.json b/docs/docs/reference/api/delete-simple-queue.StatusCodes.json new file mode 100644 index 0000000000..e94f8a4f01 --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queue.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"type":"object","title":"SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queue.api.mdx b/docs/docs/reference/api/delete-simple-queue.api.mdx new file mode 100644 index 0000000000..7f6ef58e37 --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queue.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-simple-queue +title: "Delete Simple Queue" +description: "Delete Simple Queue" +sidebar_label: "Delete Simple Queue" +hide_title: true +hide_table_of_contents: true +api: eJydVU1v2zAM/SsGTxsgJFmxk08L1gAN2mH92i5BUKg2E6uTLVUfRTND/32gZDtOk/awU2LziSLfe6RbcHxrIV/B4oVLz51QjYU1A6XRxKdlCTmUKNHhgxW1lvjw7NEjMNDc8BodGkrQQsNrhBxi9EGUwEA0kIPmrgIGBp+9MFhC7oxHBraosOaQt+B2ms5ZZ0SzBQYbZWruIAfvYxYnnCTADSXOliWEsKZ8VqvGoqUUZ7MZ/ZRoCyM0lQ053PmiQGs3Xma3HRgYFKpx2DiCc62lKGKX0ydLZ9pRWdoQB06kGwrl06GuWtE43KIZlfc9IhiUuOFeOshnge3JoOua3c9NZOrjjgMbEI2XEqjbExywHqQen7Bwo0ruokwRuiyH1kOgM1/Pzo6Z+s2lKCMP2cIYZf6fphIdF5L+CYe1PQZIVRxE3yNlREJPdVjve+bG8N2o5SuVCoTAoLbbU7bqoT/QWr5FGJK9D41kZPcUDeRm7ZMFuvAyvggMCvc6SnOkx3fi8tWd1Gw/FqvITSq/w42E30uUFHqfivMkwUcGubi/vz5KmPxxaIzzOPdZMlR20819ja5S+7UQN4GrIIdpWhDT6Ho7bXv3B2Bg0bz0m8IbSWiuRdQ5PVbOaZtPp+gnhVS+nPAtNo5PuEjANeUovBFuF5PMr5eXuLtAXqKBfLUeA+7Inslwh7BBJK7FJRJt3daae1cpI/4mF3Wrq0qnQhR/o8baz2Nx2fx6CW9JOwjRHPEi2qa/KYaBvWl73y0wwDpOETjk9bchQqITh+ma2eTLZEavtLKu5s3oitOyHVQ5EEHOnGrJRZydWFPb6bmCpCd0e8wCg3zYaGsGlbKOYG37yC3+MjIEev3s0ZBGawYv3Aj+SIytWiiFpf8l5BsuLR5VNOwc+HTbjcXnDNjpSnsdGxKRvl30BAz+4G78EYpLo+pN0nbheVGgdqODRzuO3DT4/HxxtbhfQAj/AI7PcEc= +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Simple Queue + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queues.RequestSchema.json b/docs/docs/reference/api/delete-simple-queues.RequestSchema.json new file mode 100644 index 0000000000..26d1a66cd0 --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queues.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids"}},"type":"object","required":["queue_ids"],"title":"SimpleQueueIdsRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queues.StatusCodes.json b/docs/docs/reference/api/delete-simple-queues.StatusCodes.json new file mode 100644 index 0000000000..339742377d --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queues.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids","default":[]}},"type":"object","title":"SimpleQueueIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-simple-queues.api.mdx b/docs/docs/reference/api/delete-simple-queues.api.mdx new file mode 100644 index 0000000000..a4a0efcd05 --- /dev/null +++ b/docs/docs/reference/api/delete-simple-queues.api.mdx @@ -0,0 +1,67 @@ +--- +id: delete-simple-queues +title: "Delete Simple Queues" +description: "Delete Simple Queues" +sidebar_label: "Delete Simple Queues" +hide_title: true +hide_table_of_contents: true +api: eJy1Vdtu2zAM/ZWAz8plaZtuflrWBliwDeu6bi9BUDAynWizLVeXtlngfx8oOXWSLhtQYHmJJR1S5OEhtQGHSwvJDCb3mHt0SpcW5gJ0RSaspikkkFJOjm6tKqqcbu88ebIgwNCdJ+ve6XQNyQakLh2Vjj+xqnIlg4P+D6tL3rNyRQXyV2XYvVNkeRXc3ao0LJSjIny4dUWQgHVGlUsQkGlToIMEvFcp1GILQGNwDQKccjmvv7C3zjS1ULcgvfhB0jURK0MpZ9zeO2/Nv4YUg5Npaq9jglCzr9bWGU9hw1a6tDGL4WDAfylZaVTFibM3LyVZm/m8c92AQbyUJ6l9NGqSUqWjJZmd3C8CQkBKGfrcQTKoxX+jd+ea2fxPXB+jtOGhDqSeDofPafuOuUoDKZ2JMdq8nLOUHKp8L/N9QK7l3imW688ZJLNDhmrxjPd6fpymjzoGyEwWdvknxrfQT2QtLqnl/Dg0kNG54dNagCorH/XQHE/DRi1AuscdN88KcsFcPrp/NghzE8NvcDt90pYoVug4FZexBH9TyPubm6tnDqM+9oVxGeZQJyqq82U7hwpyK93OKRBQoVtBAv04sfpxYvVBgCVzT8aGCnuTMwYrFcoblyvnKpv0++R7Mtc+7eGSSoc9VBE4Zx/SG+XWwcn4avqB1u8JUzKhE3YAX1mVUWf7sKfaYKU+ELNVYsHrsXcrbdSvKB6uMYcUrZgO1vt1O3Unj8j5HUzRGZxk+PosG512z85fnXdPz0bD7uIkk92hfDM6yUYjzHAE86ChTO9KaByS7YyvpnDI/d4RtyPKoL5t5OEYxAGNLXsggIrQjOAIi7dPJ6wdrkm8ZtB71RvwVqWtK7DcueJI9ffCfGKWFd6vclShB0NQm0YWM4iygGY4shPW9kpbHmaw2SzQ0jeT1zVv33kyXOu5gHs0ChfM1IzZW22rvoGftN52Vum6oUUZnvtY5YOJxXKLFmMpqXJ/xc53BH45+Ti5mYCARfPmFjplK4MP3Lz4AAkAv97xIU82cW8DOZZLz2MmgeiVf78Biw23nA== +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Simple Queues + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-connection.ParamsDetails.json b/docs/docs/reference/api/delete-trigger-connection.ParamsDetails.json new file mode 100644 index 0000000000..310ab7b5e8 --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-connection.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-connection.RequestSchema.json b/docs/docs/reference/api/delete-trigger-connection.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-connection.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-connection.StatusCodes.json b/docs/docs/reference/api/delete-trigger-connection.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-connection.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-connection.api.mdx b/docs/docs/reference/api/delete-trigger-connection.api.mdx new file mode 100644 index 0000000000..9e7ad9e3c5 --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-connection.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-trigger-connection +title: "Delete Connection" +description: "Delete Connection" +sidebar_label: "Delete Connection" +hide_title: true +hide_table_of_contents: true +api: eJx1VMtu20AM/BWDpxZY2GmQk041GgMxkqJB4vZiCAEj0dKmemx2qSCuoH8vuHrHji+WlkOKnOFsDYyJg2APO6uThKyDUEFpyCLrstjGEEBMGTE9cQt4isqioEiioMCgxZxY8oJ9DQXmBAGMkCcdgwJdQAAGOQUFll4rbSmGgG1FClyUUo4Q1MBHI8mOrS4SUHAobY4MAVSVr8KaMwH8GKovtjE0TShFnSkLR07qXF5cyV9MLrLa+EYDeKyiiJw7VNnioQNDo+Dq8vIU+wczHfv5FxtrSwtKJmIqWLBoTKYjH169OEmoJ0MYK+SxbluJiVFn8qSZcncKyMpoFsXi+OvgqZyz0ajhRBdMCVlowkb1Z2gtHicU3ZVtgzJi7pJz7PbQn+QcJp6MFvI51JOx2Em0EVFN5Qnpw1t/0CiI+H1Spnx+oYjn+jG9MzRj/wNm3I6956Ztv8OFY41Rolahz6m4biU497EecrPb3Z8UlJ/6sBjX3gmLH1MH5MRpOdrEe4JTCGDVGcatRju4VT3zRgMKHNm33j+VzSQTjfaKt68ps3HBakXVMsrKKl5iQgXjEnULDKVGVFnNR19kfb+9peMNYUwWgn04BTzKorarN4cNcqHRtyQEdl5eV5yWVv/Dbl7v5bTNavwaHMrpFqx9c4v1/RY+0jcLiaMw8gvUf8mHQX0Ye5wWFFDu/QRMmH8fIiK/cNh+5mL5bXkhR6Z0nGMx+cQ5AWc9DjTIhq5Mhtp7yHdUd8ruoVe2HaPXFhQE85svVJCWjiWlrp/R0W+bNY0cv1ZkRa1QwRtajc/C3b6GWDt5jiE4YObopLvhHoIvD51Vvi5Ane+6V7QQOd8wq+QNFPyl48kl7W+TtN+ZusOso4gMT7JPLj9ZrsEC15u7zW4DTfMf1NYpFA== +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Connection + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-schedule.ParamsDetails.json b/docs/docs/reference/api/delete-trigger-schedule.ParamsDetails.json new file mode 100644 index 0000000000..18752008c0 --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-schedule.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/delete-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/delete-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-schedule.api.mdx b/docs/docs/reference/api/delete-trigger-schedule.api.mdx new file mode 100644 index 0000000000..aaf2fa4da5 --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-schedule.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-trigger-schedule +title: "Delete Schedule" +description: "Delete Schedule" +sidebar_label: "Delete Schedule" +hide_title: true +hide_table_of_contents: true +api: eJx1VE1v2zAM/SsBTxsgJF3Rk08L1gAN2mFFm+0SGIVqM7Y621Ilqmhm6L8PlD/iJG0ukcVHinqPTy2QLBwkW9hYVRRoHaQCtEErSelmnUMCOVZI+EQd4MllJea+QhBgpJU1Emcl2xYaWSMkMACeVA4CVAMJGEklCLD46pXFHBKyHkVE1hKSFmhvYipZ1RQgYKdtLQkS8D5WIUUVAx772rN1DiGkXNIZ3Th0XOXy4or/cnSZVYYvwCk+y9C5na9mDz0YgoCry8tz7B9ZqTzefLayVlsQkOmGsCHGSmMqlcXw4sVxQju5grFMG6mulRxJqopXirB254BKZ0dR2ex/7SKNx1wEMe6ohrBACyENYtiT1sr9hKA73TXIV6xd8RG3A/QnOieLSEYH+RwayZhtOBpYUuMjIUN4HTeCgIzeJ2X08wtmNCnzg7l8JwiH/kfMYTa2kZuu/R6XHmocJOoU+pyK606Cjw4bIDebzf1ZQf6Jk8G4jh6YPR5mv0Yq9cEe0Q1UQgKL3ihuMRjBLdqJJwIIcGjfBtd4W3GWNCpq3X2WRMYliwX6eVZpn89lgQ3JuVQdMOUambeK9rHI8n59i/sblDlaSLbpFMBN193QHcNGoaRRt8jU9Q5eeiq1Vf+6Seo9XHZZIQ7ATk/1X8bmZsv7NZwSdxRiL8ksjs5wUgyDOLn24bYgAOvoJCCU9fcxwsIzh90xF/Nv8wveMtpRLZvJEefSHXU4ksCTuTCVVNE7sZ+213QLg6YgxueN18n0rUsFlNoRw9v2WTr8basQePvVo2WdUgFv0ir5zKxtW8iV43UOyU5WDs86G98e+PLQ2+PrDMTHHQ9aNizkm6w8f4GAv7g/eZTj+1EOs9L2iGWWoaFJ7tlzx0M1jv316m61WUEI/wGceiA2 +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/delete-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/delete-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/delete-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-trigger-subscription.api.mdx b/docs/docs/reference/api/delete-trigger-subscription.api.mdx new file mode 100644 index 0000000000..c1217bc63c --- /dev/null +++ b/docs/docs/reference/api/delete-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: delete-trigger-subscription +title: "Delete Subscription" +description: "Delete Subscription" +sidebar_label: "Delete Subscription" +hide_title: true +hide_table_of_contents: true +api: eJx1VE1v2zAM/SsBTxsgJF3Rk08L1gAN2mFFm+0SGAVjM7Y6f6gSXTQz9N8HynbifNQX2+IjRb3HpxYYMwfRGlZWZxlZB7GC2pBF1nW1TCGClApieuEO8OKajUusNhIHBQYtlsSSGa1bqLAkiGAMetEpKNAVRGCQc1Bg6a3RllKI2DakwCU5lQhRC7wzIZ2trjJQsK1tiQwRNE2owpoLATyP6k+WKXgfS1ln6sqRk0rXVzfySunQrKQlCTm3bYrJUw8Gr+Dm+voc+wcLnQYWJgtrawsKkrpiqliwaEyhkxCevTpJaEfHMFYoZN21khKjLuRLM5XuHFDUyVEUq92vbaDzmA+v9iu6YsrIgo+9GtbQWtyNSHqouwbliKXLLvE7QH+Sc5gFMjrI59BAxmQlUS+ymiYQMoSXYcErSPhjVKbevFLCozI/hMsPBn/of485zMc6cNO13+PiQ42DRJ1Cn1Nx20lwabMBcrdaPZ4VlEedDMZt8MPk+dgHJXFeH+wSnME5RDDrjeNmY1O4WXviEQ8KHNn3wUmNLSQbjQ66d785s3HRbEbNNCnqJp1iRhXjFHUHjKVG0ljNu1Bk/ri8p90dYUoWonU8BjzLuHYDeAzbi4ZG35PQ2Lt63nBeW/0P+zMHT+ddlg/DsK3HszAPzU3mj0s4JfEoJL7CJIzRsFMIgzo59uG0oIDK4CpgwvL7PiJDIBx221xNv02vZMnUjkusRltclvGoyz0RMqkzU6AOXgo9tb2+axj0Ff3GCoOC6PQejBXktWNJa9sNOvptC+9l+a0hK5rFCt7RatwIg+sWUu3kO4Voi4Wjsw73dxJ8eept83UC6nLng66ViPqORSN/oOAv7S5c2uFuyYfZaXvUPEnI8Cj/7CqUIdvb4XbxsFgtwPv/7ccypg== +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Delete Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/delete-user-account.RequestSchema.json b/docs/docs/reference/api/delete-user-account.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/delete-user-account.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-user-account.StatusCodes.json b/docs/docs/reference/api/delete-user-account.StatusCodes.json new file mode 100644 index 0000000000..655176b868 --- /dev/null +++ b/docs/docs/reference/api/delete-user-account.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/delete-user-account.api.mdx b/docs/docs/reference/api/delete-user-account.api.mdx new file mode 100644 index 0000000000..58f56bef1e --- /dev/null +++ b/docs/docs/reference/api/delete-user-account.api.mdx @@ -0,0 +1,63 @@ +--- +id: delete-user-account +title: "Delete User Account" +description: "Self-serve deletion of the caller's own account (EE only)." +sidebar_label: "Delete User Account" +hide_title: true +hide_table_of_contents: true +api: eJztU8lu2zAQ/ZXBXNoCrOz2qFMNxECD9BBkOdlGQFNjizFFMlycqoL+vRgqzuJDv6C6CJx5s7yZNwMmuY9Yr/A+Uoi4EdhQVEH7pJ3FGm/J7L5GCkeChgyxFdwOUkugpDEUPkVwzxakUi7bBJ+XS3DW9F+qtV3bG3rKOlAEaUHbREGqpI8Et9lTuHMHshEixaidrWBxfQkH6hncAJfUiiBNIBlobQM9kkrU1JBaHUFPaUOgI4Wot4ZbjCnkqQaXclZAdCDBkDxQAy4AdVtqGmrWlhvaB1koHaiHLscE1iXYEpB1ed9CchNrKoTds9V2f6JaoUDnaUpw2WCNE/QhRwoPLyAUGCh6ZyNFrAf8Pp/z72zGWSmKcZcN3LyAUaByNpFNDJfeG61Kodlj5JgBo2qpk1gPI38CO0qte+sCBXqZWqxx5oPbacOWssfA6x4wB8NO6TWO4vRsU/Kxns0oV8q43FRyTzbJSuoJuOEcKged+pJkcX15Rf1Pkg0FrFeb94BbbnBi/RE2YOo9YY3S6yvqUaCVHb8XObUu6D+FKArUPJx2imKK2u5cCdfJFHxpjnWD57L94OJJSlUmeapU3CjOaL+xRYHUSc3ORLL78erBUWCRWykzr75VczZ5F1Mn7bsSF5Nu+Kxg8SqGD10Obzv+f2f/vLMXwST6nWbeSG155mV3w4vMV3iS+UZg62Ji0zBsZaT7YMaRzU+ZAut2I/Aog5ZbVtFqM4qTyFjSB+pZIEqR54UdpcmTVs9OkKX+enMXy1/LuyWO41+fYNwO +sidebar_class_name: "delete api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Self-serve deletion of the caller's own account (EE only). + +Requires an interactive SuperTokens session. API keys and service tokens are +rejected: this is an irreversible destructive action, so a leaked or embedded +integration key must not be enough to delete the owning account. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/deploy-application-revision.StatusCodes.json b/docs/docs/reference/api/deploy-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/deploy-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/deploy-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/deploy-application-revision.api.mdx b/docs/docs/reference/api/deploy-application-revision.api.mdx index 5519df7550..ef507d47fd 100644 --- a/docs/docs/reference/api/deploy-application-revision.api.mdx +++ b/docs/docs/reference/api/deploy-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Deploy an application revision to an environment." sidebar_label: "Deploy Application Revision" hide_title: true hide_table_of_contents: true -api: eJztG9ty27rxVzDoQ5MpLefq06ov9bGTiXuSxuNLzoPtsSByJSEGAR4AlKN69O+dBUCKIinKVuROp6O8RCYXu9gL9oJdPlDLxob2r+hhlgkeM8uVNPQmogmYWPMM/6Z9egyZUDPCJGELOKJhyg3+sApfgZxyrWQK0vau5bX8XXMLhjCiYQQaZAxkpFVK7ASqsEto8F2FxLUsX+YyAU0GdzAbkBcJjFgubJ8MHirQt0bk43mvWDJ42SNHgoO05lraCbPE5EMDf+QgrZiRmAlBBvuV9Wa/WIq/rOYwhQG553aC+7qWhqVABpWt32oYDQiTSdiXBqPEFDwj3JSc9a7lOYBj7qoqaDLOeQI3L/ZLCe2zjO+5p0sb+1PiFIA0X/ZoRFUG2r05SWif+pe3VUkUlGlENXJs7K8qmdH+A42VtCAt/qws2P9uUNEP1MQTSBn+yjRSsRxMDRa5do/k7OuI9q/qoFPQjvQSiJ1lQPvUWM3lmM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DMhNhCZe4BqQmGnNwfih+6L3t19OFe+XGMP4vJuGAItns0eQQGXOZA97EO5kLIhxSxYCdRP3jh5iW57m+QtpGQOsPV18CBA4F0rdeVTWz13lWeRn8QvdDnD68wEh7mDWJxmzkzlJWbZiLurPBj83KEWNgP6rAYcOiZa0eo8aUC1RNZTlMKlsT8AUxObDTJVhmdpADZdjAXt6MSPrAZFdECoDN6szj+i7N2+a4zjfmOCJz0WcW998FicBy7hYCijLAELFywnGE9Ldm9XR6LMK3VbsAJhx8wi3dn09yGpQJwxygW+LutWBVysvd7Nqf1TQNBR5hLL8YVuVXQ2PKBu//QC3NAtQqMhraLUojr0Kuizr08XFaQOht48U7EThNyaZcuNyeIZon3YPxFF0r3rqapyrB3/th0u4U6P/c2JtZvr7+5D3YqHypOcalazHuAe8QRxxrrmdOSSHpye/wcxfPLncogLgCi5vT8tgpQ5Yxv24pO9chGEE/u+iJc/R7P3lopMU2vXZ4ruZD36cuT64FSZmy6C7sBgfPRd/YySkb0fsr+9HB+/23v/y+pe9d+8P3uwN347ivTfx3w7ejg4O2IgdrPl64zlJ1QeBt02rZfL+OUk8s+S6Rqi3TcsNCS/WlmMulXykSCbLYOFOEzk8PWnEhqVX6NdZ7NxYcTTcaxrVzunieLq03Hl1aoGl/yjfLLVI6Kve694rfISeI2WyQiJ8TVidHztbfK9WawyWkWf3EeL/2EeIwbdiLNvPBOOy0uPxceKq6mCMC2+BNV/rYay4iegEY0v/ij48DJmBSy3mc3z8Rw4anf9NGKYbomVf3ZRtIBcX/Nk48kay52Izgovcu/1aqoLxx684jGNw3YfVsDeV8Idj4DSiw/ARZeqGg6hm98gUu6d96r7K9Hxi8YbPHqhgcpz7s+px4r//AHNZoj4= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/deploy-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/deploy-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/deploy-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/deploy-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/deploy-evaluator-revision.api.mdx b/docs/docs/reference/api/deploy-evaluator-revision.api.mdx index c54b3ed7c7..d99788945f 100644 --- a/docs/docs/reference/api/deploy-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/deploy-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Pin an evaluator revision into an environment revision under a key sidebar_label: "Deploy Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztW/9v27oR/1cI/rIWU5y0fc3bjG1YXtKi2WvXIEn7fkiChJZONhuKVEkqqRf4fx+O1HfJcuM4wDC4vzSWjp8j7453R97pgVo2NXR8Qd/dMZExq7ShVwGNwISap5YrScf0hEvCJIGChGi444YrSbi0yr2Sd1wrmYC01ctMRqAJI7cwH13KS3kK3zOuwbSxYvLipvx9rSG+CS5l7ckd05xJ698QpUmD2jNzL18SJiPC5KVszicekT9mIMnNLcxvCDd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TiHPT63TARWMZFIzQ0CYQKm6nCI9LQq+Vx5aPKa6B4M2+m3X3cW4v1JMtJHRjkHN8W50lHXj8RuRtP+6PGpqPNQ8Tyh+3VeD3QITZ++jldo0JfqMhraDkUR14FQ+b14fz8pMPQ20cCdqbwi4NUuRYu3Eh0THdLizK7hUmZXd8oRtHD6jt38rh48JdxdJel3CnR/5xZm5rx7i5ko1CoLBq54iEbMe4Jr5BHmGlu547Jwcnx7zD310EuR6gRuGOQt6YmWakBlnLfy+frCXmDAP9PUSbnaPT+ys/hhFZ9Wn1F8e4HS1IBtO+riDLqVtbiw2f1G0MhfROzv7yN93/Zefvrq193fnm7/3pn8iYOd16Hf91/E+/vs5jtD34A8HyC2s2oG5fUbel+ThHPjdtAG++mZbne1Wps2XRSS0aKTLLsfXH7iBycHHdCQ+MV+nMWOvdVbAr3mgatHVptTJdYO29OLbDkn+WbRsmC7o1ejfbwEXqMhMmaCN8PWjWWkNPqq6VWma6MN9uvz/4Xvj7LHSmGrd1UMC5rZRYfEi4qj2JcHMuDgj+eYVi4CugMg8j4gj48TJiBL1osFvj4ewYa/fxV3ss2QVO+uCrrMC4E+M1w6O1ixwVhJBeZ9/CtnARDjR9xEIbgrv+X017V4tzJ57NzGtBJ/vVc4npzqGb3uCh2T8fUfYxn3drwqIbPHqhgcpr5zel54r//AiE/1xA= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/deploy-workflow-revision.StatusCodes.json b/docs/docs/reference/api/deploy-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/deploy-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/deploy-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/deploy-workflow-revision.api.mdx b/docs/docs/reference/api/deploy-workflow-revision.api.mdx index 44da4ea9aa..0f98868040 100644 --- a/docs/docs/reference/api/deploy-workflow-revision.api.mdx +++ b/docs/docs/reference/api/deploy-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Deploy Workflow Revision" sidebar_label: "Deploy Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztW9ty2zgS/RUUXna2lpKcm2dWe6n12EnZM8na5Uv2wVHJENmUEIMEBwDtaF36960GCIoUKSpW5Jct+cUW1ThNdDdOA+j2EzVsqunwlv5HqvtYyEdNRwGVGShmuEzPIjqkEWRCzsePhcRYwQPXXKY0oAr+yEGbX2U0p8MnGsrUQGrwT5ZlgocWZPBVyxSf6XAGCcO/MoUqDAeNnyrIsR2bzs9jOrxdlXsAZfXWRMw8Azqk2iieTukiKJ+kuRB0MQqo4Ubgg8/F8EVAtcin28Jc4dhFQHnUhRDQWKqEGTqkec6jTsSziC4Wgf9aTr5CaOjy60uIQUEaQitIBDpUPDPWMKUbCVOGxyw0xEjiHNgn5ykQGRMzA+JNThTEmnBN0JNcQdTHqZUOeWCKs9TsHbM7xxQmrfrlErQUD6DxGTpHMAPaEL/OnM+49kPrLvJSex/9sI+uMgh5zMPq6ihcsPQWvj2kD1zJNIH90tiB2a+ZmoIhFaOW7FXjrKpAK21V3bJnrhd0T5WI6mthz0UvZ3VvXWv2e5hvO+/fYU5X1ZWvRu5hjmynwRDkvca6K96BnEDMcmFs0rr7e5mO0CH/7HuxO/I4g5TIhBtTLNIEtGZT2PblPxXDVydwLJOEG1KgEwWhVBFEfg4KdC4MT6frLNrhNp+6LwvpE5sILt3Wly5wqKchOjQqB/tAZzLVLtxfHxzgr5Vkk4chaB3nAvO/FabBtjvoUOZuUDEHnhqYgqpM4thKrFrt7lXhIbZMdZZVTa5SiAJyd1AIpDIFkjATztCPiGPdT4cHbZuRrsXf2Fz+yBout1Wfi22VX9S7AF/FrAX5D7+xR/W57odQj/x2v/Gu3hC7Y7mGzZH2lhbfnaI6fjmjF5iJ01B6YncaSr8UGnIzk2pn4A5tEdCImU5GraCiaM/wpD0JeegTBNwdWy8CGgt707CeF7geVyivQmYTKQWwtE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qtXrvIueh9aY4cS7oipHT6+uLBqCLj3pguFYcUtbxL5et6QmYqcT29UxqxMZlQ4d04PNDPfDxqgeutZMinaqZPUrcPrnbNTpgGbfOdh+nxmR6OBhA3g+FzKO+LQayPuNO8A4xwlxxM7cgRxdnv8Pc3e/YlKAiYM81LurqYqWnWMZds5YrEBQFf/5fX/bmaAN3h2ftidF/uWzJf/+NJZkA2tJiX+6wy6ByW+XyM2579E3MfnkXH77tvfv51c+9t+8OX/fGb+Kw9zr86+Gb+PCQxeywq2P8xfSsthruWlFLi+9Lqnhhs3U1ae5al+1MXI4tO0gqaYfPGctGFruIyNHFWSNpqH2FpM9Cy3F+RdivabCyPJer0ibRlvKpAZb8q/ymVoCgB/1X/QN8hGyRsLSiooNjVmpuxapFLh1kgvG0cknv6Oe2DGBtubUgIJf5IwXdBXSKfDW8pU9PY6bhRonFAh//kYNCTrkrOq3GaLnbu/IS39KNs/2x2xt7dmNAcZE7NlnZJ5HW3IijMAR7d7xe9q5CqRfnV9c0oOPi334S29dBFXvESbFHOqQU/4nI2LnhGQCfPVHB0knuYsFh4s//ALiMEhY= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/detach-session-stream.RequestSchema.json b/docs/docs/reference/api/detach-session-stream.RequestSchema.json new file mode 100644 index 0000000000..225c97dbbc --- /dev/null +++ b/docs/docs/reference/api/detach-session-stream.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"watcher_id":{"type":"string","title":"Watcher Id"}},"type":"object","required":["session_id","watcher_id"],"title":"SessionDetachRequestModel"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/detach-session-stream.StatusCodes.json b/docs/docs/reference/api/detach-session-stream.StatusCodes.json new file mode 100644 index 0000000000..7ffaaee282 --- /dev/null +++ b/docs/docs/reference/api/detach-session-stream.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Detach Session Stream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/detach-session-stream.api.mdx b/docs/docs/reference/api/detach-session-stream.api.mdx new file mode 100644 index 0000000000..350c9f2387 --- /dev/null +++ b/docs/docs/reference/api/detach-session-stream.api.mdx @@ -0,0 +1,67 @@ +--- +id: detach-session-stream +title: "Detach Session Stream" +description: "Detach Session Stream" +sidebar_label: "Detach Session Stream" +hide_title: true +hide_table_of_contents: true +api: eJyVVcFu2zAM/ZWAZy3Jip18WrYWaNAVDZpsOwRGwchsrM62XElumxn+94GSHTtJu265xKaoJ/K9J7oGh1sL0RqWZK3ShQXRP8YCdEkGndLFPIEIEnIo0zsbEu6sM4Q5CDD0WJF1X3Syg6gGqQtHheNHLMtMSY8webC64JiVKeXIT6VhfKfI+ngLqxJ+c7uSIALrjCq2IMApl3GgrW40T6AR8IxOpmTe2fMzZPk9jejS9OaBpGvLV4YS5mFQxAF6fFLBuSfjNrR+rRPKoGH0Hs2ZinzAlrqwocmz6ZT/ErLSqJJ5YcRKSrL2vspGt20yiH+nEZNE8RJmiwGhfPppr10T3Tmj0Maoo3UZNG18K5/Ozk6L/YGZSnwpowtjtPmfSg8FZzupjJ+Uo9yeJmRaHqxisbu5h2h9rHQj9hFVONqSgSbuhUZjcDfo/ZsOBbKBcrv9m3OuyVrcEuzB3k71ZIxWvNoIUEVZeUK65bkPNAKkexnAnAjzlbl8ce8albkJ5bd5A4f2EgWF3qbiPEjw2mFdyuVqtTgBDP44NMbrThKQk0s1j49SWwYu0aUQwaS9anYS5oidhPECAiyZJzLWK12ZjJOxVF7m8Jo6V9poMqFqLDNdJWPcUuFwjCokxowhK6PczoPMFvMr2l0SJmQgWsfDhCW7M/jtMG2vEZbqipi1AnN+n1Uu1Ub9DiZirbmksItpYd/f9iPx4gXzMqPjEdc7aDjEekuDKu710EEz3+NotpjDMfUHS3wbUXrzdQX7ZRBH7PWkgQDK/V0ER5h/3q9wHSxFOGY6/jiecoiVzLEYHPGW+Ad17hllh0/KDJW/g76quvXFfgTzp6h1hsfx3ogFpOyiaA11vUFL303WNBx+rMiw2LGAJzQKN8zZmqdA2slewy/adVescB/8XeX0rAoyH40u9lvYMZOSSvfX3Hhg9MXNcgUCNu33MNcJ7zH4zHcYnyEC4E+r811GdYjVkGGxrXjaRBAw+fcHilegKg== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Detach Session Stream + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/discover-tool-capabilities.RequestSchema.json b/docs/docs/reference/api/discover-tool-capabilities.RequestSchema.json new file mode 100644 index 0000000000..fbc430addd --- /dev/null +++ b/docs/docs/reference/api/discover-tool-capabilities.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"use_cases":{"items":{"type":"string"},"type":"array","title":"Use Cases"},"provider":{"type":"string","title":"Provider","default":"composio"},"limit_alternatives":{"type":"integer","minimum":0,"title":"Limit Alternatives","default":3}},"type":"object","required":["use_cases"],"title":"CapabilitiesQuery","description":"Request body for ``POST /tools/discover``.\n\nThe response is the core ``CapabilitiesResult`` (see\n``docs/design/agent-workflows/projects/tool-discovery/design.md``). Project scope\ncomes from the caller's auth, not the body."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/discover-tool-capabilities.StatusCodes.json b/docs/docs/reference/api/discover-tool-capabilities.StatusCodes.json new file mode 100644 index 0000000000..95e01fb72c --- /dev/null +++ b/docs/docs/reference/api/discover-tool-capabilities.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"capabilities":{"items":{"properties":{"use_case":{"type":"string","title":"Use Case"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"tool":{"anyOf":[{"properties":{"type":{"type":"string","const":"gateway","title":"Type","default":"gateway"},"provider":{"type":"string","title":"Provider","default":"composio"},"integration":{"type":"string","title":"Integration"},"action":{"type":"string","title":"Action"},"connection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection"},"input_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Schema"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_action":{"type":"string","title":"Provider Action"}},"type":"object","required":["integration","action","provider_action"],"title":"DiscoveredTool","description":"A discovered tool, already shaped as a ``GatewayToolConfig`` plus the\nmodel-facing extras the setup agent needs. ``connection`` is filled only when\nthe integration's state is ``ready``; otherwise the agent resolves it first."},{"type":"null"}]},"alternatives":{"items":{"properties":{"integration":{"type":"string","title":"Integration"},"action":{"type":"string","title":"Action"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_action":{"type":"string","title":"Provider Action"}},"type":"object","required":["integration","action","provider_action"],"title":"DiscoveredAlternative","description":"A companion/prerequisite tool the one-line request omitted (Agenta-shaped)."},"type":"array","title":"Alternatives"},"connection":{"anyOf":[{"properties":{"state":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"ToolConnectionState","description":"The connection state of one integration, derived per the design's state\nmachine. ``ready`` reuses an existing connection; the other two need a human."},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["state"],"title":"CapabilityConnection","description":"The connection state for a capability's primary integration."},{"type":"null"}]},"difficulty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["use_case"],"title":"Capability","description":"One use_case resolved to a best-match tool, alternatives, and its state."},"type":"array","title":"Capabilities"},"connections":{"items":{"properties":{"integration":{"type":"string","title":"Integration"},"state":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"ToolConnectionState","description":"The connection state of one integration, derived per the design's state\nmachine. ``ready`` reuses an existing connection; the other two need a human."},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"connect":{"anyOf":[{"properties":{"endpoint":{"type":"string","title":"Endpoint","default":"POST /tools/connections/"},"body":{"additionalProperties":true,"type":"object","title":"Body"}},"type":"object","required":["body"],"title":"ConnectAffordance","description":"The Agenta create-connection call to run when a connection is missing.\n\nSpeaks Agenta, not Composio: it points at ``POST /tools/connections/`` (which\nreturns a ``redirect_url``), never at ``COMPOSIO_MANAGE_CONNECTIONS``."},{"type":"null"}]}},"type":"object","required":["integration","state"],"title":"ConnectionRequirement","description":"One integration's connection state, deduped across the result."},"type":"array","title":"Connections"},"guidance":{"properties":{"plan_steps":{"items":{"type":"string"},"type":"array","title":"Plan Steps"},"pitfalls":{"items":{"type":"string"},"type":"array","title":"Pitfalls"}},"type":"object","title":"CapabilityGuidance","description":"Structured operating knowledge the setup agent composes into ``agents_md``.\n\nComposio slugs in the text are mapped to the same ``integration.action`` names\nused elsewhere, so nothing Composio leaks."},"ready":{"type":"boolean","title":"Ready","default":false},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","title":"CapabilitiesResult","description":"The ``discover_tools`` response (Agenta-native)."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/discover-tool-capabilities.api.mdx b/docs/docs/reference/api/discover-tool-capabilities.api.mdx new file mode 100644 index 0000000000..e7d448bb72 --- /dev/null +++ b/docs/docs/reference/api/discover-tool-capabilities.api.mdx @@ -0,0 +1,71 @@ +--- +id: discover-tool-capabilities +title: "Discover Capabilities" +description: "Discover the tools that fit a set of use cases, translated to Agenta terms." +sidebar_label: "Discover Capabilities" +hide_title: true +hide_table_of_contents: true +api: eJztWU1z47gR/SsoXGanipad2Zw0lyieqVnX7they5scLJfYBlsidkCAC4CWFZf+e6oBUoQ+LDvK5JT1xSIJNMDXr183ms/cw9zx4R2/NUY5fp/xAp2wsvbSaD7kn6QT5hEt8yUyT2OYL8GzmfQMmEPPzIw1DpkAhy5j3oJ2CjwWzBs2mqP2wDzayg0meqL/aaF2wVZtzaMs0L5zzGEF2kvBHIIVJQNdMIu1sd4xBFEyqT3OLdCW3jkmjNYo6GKinQePbGbi/gQoJfWcbP+Owg/YDUJxYrRafuzuMSdMjUyYCh2bWVOFSWgZNL4cTPQYkeV5YYQ7LdDJuT4FeoeThbHfZsos3GlryJ0SGidFi8+yHT6oijwf8IybGuOOLwo+5N2wKU2aCqjhQSrpJTqecYt/NOj8302x5MNnLoz2qD39hLpWUgQzp787csgzd6LECuhXbWmRYGT4zBuH0+AEupAeq/DDL2vkQ+68lXrOV1l3A6yFJc+4l17R9W8O2XmYvcp455tdA/2E624MMWYGjfJ8yIWpauOkISNKVtJPQXm0Grx8xHQ/waNhciW1rJqKD89627/QVDZKpyar/LjqX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2/r9CEVKwEqx8BvnTJTkOjUuCilKCfaom+sjqWZxUJaFH7aWJXn7zOmkRo0wdT51dfrq/HF1fTr6HL05fP0/Ory8vP57cXV5ZjaEnvU7z8qAXYFe73dmzipwpYB2/rzUg8nhgaFTtGE+lNY42I1acPZ+aDqJCqzyvi8kdGvO0JTK9BT57E+rjtyrUCzcZhOFZf0M1DqSFPd5H3I72r5l+6VtjEde9sI31Ad37aa9Jx902ahsJjjTjUeD4lUKGtvWJ6Hu24aulXE146cjBSFRsWGHz55BhZZBXUdU0YwDBX1OdLECl2Br6FCN9GNw4Khcrgo0WLGnKEYKGmT66UUhUhwbxTsHsUHYxSCThC5aSV9LS0zUA7bXHucJy7DzDe5Yd3I2asYeb7R3nNB1dvOUFevxoz6PrRgVhn/64cPu12Wf4CSRYCTfbbW2ONbLAV6kOpA4lVGbDx9Q/7oWnahYnoB0l+MWGfpys0PpYuv6BzMsffPgcxCYLDQO+kaBmF4esIPicw/JWZ2vUlYPvlX0wZhE7ffjkv0rndR9NDLUHyKLjhEr59ub693DEZ+VOhLQ43j2jiaUoMv+ZBvtSJJkdE+onXBdY1VNAZqGfwWL0vvazc8PcVmIJRpikGIfBiAjAPvyYZoLNWNZGR0ffEzLn9CCK2ou/t0QOiiRAJtDluDDrX8GUPpBVU4gzW+NFb+q0sgknhexln0nkTkm779/fkJqlrhVjv7rqPEfdol6/te+3vNPwauzExKlTa3j64vds+k6SMKO4glUfci4THPtlDtwaTyswpBxz1C9bf1E+IIuSguczb4y+AsJBHjfAU6WWL9qeV88/PAVstgLQl/fps59ttMS1ZSg9NagQx6FRz73EbaXWj+BvS7WLvPeEnBOLzjz88P4PA3q1Yruv1H+JwwvLvP+CNYCQ/EtTuSybILo2f+DZedBml/0jaCH0E1MWy2tJ3iN84YCYG1Pzj2PtELqiV5X1tTo44PuYUFiRws+JCHb1Prg1m498wV6HlDcjzk0Sb9/Rv4qOPi +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Discover the tools that fit a set of use cases, translated to Agenta terms. + +Wraps the provider's semantic search and reports each integration's connection +state for the calling project. Read-only; project scope comes from caller auth. +See ``docs/design/agent-workflows/projects/tool-discovery/design.md``. + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/discover-triggers.RequestSchema.json b/docs/docs/reference/api/discover-triggers.RequestSchema.json new file mode 100644 index 0000000000..cfab383bd0 --- /dev/null +++ b/docs/docs/reference/api/discover-triggers.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"use_cases":{"items":{"type":"string"},"type":"array","title":"Use Cases"},"provider":{"type":"string","title":"Provider","default":"composio"},"limit_alternatives":{"type":"integer","minimum":0,"title":"Limit Alternatives","default":3}},"type":"object","required":["use_cases"],"title":"TriggerDiscoveryQuery","description":"Request body for ``POST /triggers/discover``."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/discover-triggers.StatusCodes.json b/docs/docs/reference/api/discover-triggers.StatusCodes.json new file mode 100644 index 0000000000..e2548aca06 --- /dev/null +++ b/docs/docs/reference/api/discover-triggers.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"capabilities":{"items":{"properties":{"use_case":{"type":"string","title":"Use Case"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"event":{"anyOf":[{"properties":{"type":{"type":"string","const":"trigger","title":"Type","default":"trigger"},"provider":{"type":"string","title":"Provider","default":"composio"},"integration":{"type":"string","title":"Integration"},"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_event":{"type":"string","title":"Provider Event"}},"type":"object","required":["integration","event_key","provider_event"],"title":"DiscoveredTriggerEvent"},{"type":"null"}]},"alternatives":{"items":{"properties":{"integration":{"type":"string","title":"Integration"},"event_key":{"type":"string","title":"Event Key"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_event":{"type":"string","title":"Provider Event"}},"type":"object","required":["integration","event_key","provider_event"],"title":"DiscoveredTriggerAlternative"},"type":"array","title":"Alternatives"},"connection":{"anyOf":[{"properties":{"state":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"TriggerDiscoveryConnectionState"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["state"],"title":"TriggerCapabilityConnection"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["use_case"],"title":"TriggerCapability"},"type":"array","title":"Capabilities"},"connections":{"items":{"properties":{"integration":{"type":"string","title":"Integration"},"state":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"TriggerDiscoveryConnectionState"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"connect":{"anyOf":[{"properties":{"endpoint":{"type":"string","title":"Endpoint","default":"POST /triggers/connections/"},"body":{"additionalProperties":true,"type":"object","title":"Body"}},"type":"object","required":["body"],"title":"TriggerConnectAffordance"},{"type":"null"}]}},"type":"object","required":["integration","state"],"title":"TriggerConnectionRequirement"},"type":"array","title":"Connections"},"guidance":{"properties":{"plan_steps":{"items":{"type":"string"},"type":"array","title":"Plan Steps"},"pitfalls":{"items":{"type":"string"},"type":"array","title":"Pitfalls"}},"type":"object","title":"TriggerDiscoveryGuidance"},"ready":{"type":"boolean","title":"Ready","default":false},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","title":"TriggerCapabilitiesResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/discover-triggers.api.mdx b/docs/docs/reference/api/discover-triggers.api.mdx new file mode 100644 index 0000000000..57cca13633 --- /dev/null +++ b/docs/docs/reference/api/discover-triggers.api.mdx @@ -0,0 +1,67 @@ +--- +id: discover-triggers +title: "Discover Triggers" +description: "Discover Triggers" +sidebar_label: "Discover Triggers" +hide_title: true +hide_table_of_contents: true +api: eJztWEtz2zYQ/iscnFnLdXriqa7saTxOE9V2etFo5BW5kpCCAAOASlQN/3tmAT4gUaJdTdpL64tFcl/Y79tdADtmYWVYMmVPmq9WqA2bxUwVqMFyJe8ylrCMm1RtUM9tIxIzjZ9LNPYXlW1ZsmOpkhalpZ9QFIKnTnv0yShJ70y6xhzoV6HJtuVo6Kk0OE/B+AduMXc/7LZAljBjNZcrVsXNC9AatixmlltBzx8NRmOnXcVkeMMz1H0DncKkkYlZhksohWUJS1VeKMMVGRE853YOwqKWYPkGw3i4tLhyyjmXPC9zllx2tt+RanQdqgZe3lTdMtTiE6a2ziHXmFH2u0zMOps1JDd1/re/l6i3zqxJNS8oxSxhDx6KaKGybbRUOnp+nnx4fIpGDVyjBsDn5wtWUSSdZ6tLdC9MoWQNxNXlJf3b9/JYpikasyxF9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qeTKL2Zq4lEzZbrcAgx+1qCp6/dnd0yTTWcw2oDksKE9T6gPrhgI75o49vsik/aG+FdiAKD3kB82LuOc1rtMUCzsoOwvoTrsC1k3/XGWko+ELVTF8YQljdN/Xbvncux0TIFcl9ZuEeZv09w28CPsh +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Discover Triggers + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/download-mount-file.ParamsDetails.json b/docs/docs/reference/api/download-mount-file.ParamsDetails.json new file mode 100644 index 0000000000..2b57fbbcdc --- /dev/null +++ b/docs/docs/reference/api/download-mount-file.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/download-mount-file.RequestSchema.json b/docs/docs/reference/api/download-mount-file.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/download-mount-file.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/download-mount-file.StatusCodes.json b/docs/docs/reference/api/download-mount-file.StatusCodes.json new file mode 100644 index 0000000000..2c8c80e1d7 --- /dev/null +++ b/docs/docs/reference/api/download-mount-file.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/download-mount-file.api.mdx b/docs/docs/reference/api/download-mount-file.api.mdx new file mode 100644 index 0000000000..06b4f7fc90 --- /dev/null +++ b/docs/docs/reference/api/download-mount-file.api.mdx @@ -0,0 +1,69 @@ +--- +id: download-mount-file +title: "Download Mount File" +description: "Download Mount File" +sidebar_label: "Download Mount File" +hide_title: true +hide_table_of_contents: true +api: eJytVE1v2zAM/SsBTxsgJFmxk08L1m4NumJB2+0SBIVqM7E621Iluqtn6L8PlGzHadoBBXZKIj5+5PE9tkBy5yBZw6WuK3KwEaANWklKV8sMEsj076rQMrstGXC7VQWCACOtLJHQcm4LlSwREogQlYEAVUECRlIOAiw+1MpiBgnZGgW4NMdSQtICNYbzHFlV7UDAVttSEiRQ16EKKSoYEIabLDPwXgzduuqh00ONtnlTq770iqt4v+FcZ3Tl0DH8ZD7njwxdapVhNiCB6zpN0bltXUyuOjAISHVFWBHDpTGFSgN5s3vHOe1+BO+9F/Dx5OS48E9ZqCykTc6s1fYNVcFYXhipOHeGJFXB3xRh6Y4BhU4PorJqvm/DEg8ZYqK7F1UR7tCC33jRv0lrZTOi8ZuOA4IXULrdvxi/ROfkDmEo9jo0kDG54ajnTZs6ENKHl+HBC0jpaVRG391jSqMyn5nLJ2L1HGH2ilkHbuL4HW6zr7FfUdzQ61ScxhW81KyHnN/crI4KRn0cCuO0c98kOuBLdF+JlGs25w4pmJFySGAW7OdmbW9DP2O3ullvYRDg0D72pq1twVnSqLDs+DMnMi6ZzbCepoWus6ncYUVyKlUEbrhGWltFTSiyWC0vsDlHmaGFZL0ZA65Zo1F1h7BhU9KoC2TuOksvasq1VX+ilDpv5zHLBwVs9VgAizDcZLFawnPmDkJsJpkG7fSdQhjEs7+9/7cgAMtgJSCU5achwptnDmOb+fTDdM5PRjsqZTVq8fLuDqYciGB5zkwhVTBQmKnt9rqOZ9WBgGR0YMNquV6/3I2AXDvihLa9kw5/2MJ7fo7HkbeVKSfvChb7VhYOj6YZjg68u+p88X4C4uUpf2Gzv8KPsqgZEhTyKK3iPv+/Z6+bqhn37GcZ6AmXKu9F2XbhRZqioVHi0WHl4QdzfT27Ae//Aq/Aavo= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Download Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/download-session-mount-file.ParamsDetails.json b/docs/docs/reference/api/download-session-mount-file.ParamsDetails.json new file mode 100644 index 0000000000..2b57fbbcdc --- /dev/null +++ b/docs/docs/reference/api/download-session-mount-file.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/download-session-mount-file.RequestSchema.json b/docs/docs/reference/api/download-session-mount-file.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/download-session-mount-file.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/download-session-mount-file.StatusCodes.json b/docs/docs/reference/api/download-session-mount-file.StatusCodes.json new file mode 100644 index 0000000000..2c8c80e1d7 --- /dev/null +++ b/docs/docs/reference/api/download-session-mount-file.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/download-session-mount-file.api.mdx b/docs/docs/reference/api/download-session-mount-file.api.mdx new file mode 100644 index 0000000000..ac2e0cc658 --- /dev/null +++ b/docs/docs/reference/api/download-session-mount-file.api.mdx @@ -0,0 +1,69 @@ +--- +id: download-session-mount-file +title: "Download Session Mount File" +description: "Download Session Mount File" +sidebar_label: "Download Session Mount File" +hide_title: true +hide_table_of_contents: true +api: eJytVN9P2zAQ/leie9okq+nQnvK0arBRMbQK2F6qCpnk2pglcbAvjCzy/z6dnaQpBaRJe2pr3313/X64A5I7C8kartFapSsLGwG6RiNJ6WqZQQKZ/l0VWma3NpTclrqp6HarCgQBtTSyRELDKB1UskRIIJSoDASoChKoJeUgwOBDowxmkJBpUIBNcywlJB1QW3OfJaOqHQjYalNKggSaxqOQooILLhk4WmbgnBin9eh+0kODpv2nUQP0ilGc23CvrXVl0XL5yXzOHxna1KiaWYEErps0RWu3TRFd9cUgINUVYUVcLuu6UKknMb633NPtV3DOOQEfT06OgX/KQmW+LTozRpt/QIXasHCkwt4ZklQFf1OEpT0uKHR6cCur9vvWi3jIEBPdn6iKcIcG3MaJ4UwaI9sJjd90WBCcgNLu3mL8Eq2VO4QR7PVST0Z0w7eOla4bT8hwvfQHTkBKTxMYfXePKU1gPjOXT8TuOarZO2btuQnr93WbPcZeoqDQ61ScBgleGjaUnN/crI4Agz8OjXHapzDqgxqFJHwJKSyRcs1h3SH5UFIOCcR9Ym3s82jjbsilizm+Nh6yDQIsmschxY0puF3WyqsffuZEtU3iGJtZWugmm8kdViRnUoXCDWOkjVHUepDFanmB7TnKDA0k68204JpNG2x4WDZKJ2t1gUxmn/FFQ7k26k/wVh/2PHQ5b4mtnjpi4ZeLFqslPKfy4IrTJVNvpmGSvwbx7G/v/y0IwNJnCwhl+Wm8YSswh2HMfPZhNuejWlsqZTUZ8baYB9uOhLBv47qQyifL79b1Qq9hEJqt4KUGAcnkEfZqM/Sg90ZAri1xb9fdSYs/TOEcH4cHlAXMlJV3BQdiKwuLR4uNDxO8u+qz8z4C8fLCv7Ddv9SPsmi4xJvmURrFc/7/zMFKVTudOewy0uNfs3zwaddfL9IUa5o0Hj2+vPwYvK9nN+DcX2TRfMM= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Download Session Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/edit-application-revision.RequestSchema.json b/docs/docs/reference/api/edit-application-revision.RequestSchema.json index 88789ef1ae..6dbc7f2f9c 100644 --- a/docs/docs/reference/api/edit-application-revision.RequestSchema.json +++ b/docs/docs/reference/api/edit-application-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_revision":{"description":"Full revision body. Edit replaces the editable fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_revision_id` in the URL path. `data`, `author`, `date`, and `message` are immutable.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationRevisionEdit"}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionEditRequest","description":"Request body for editing a revision's header fields.\n\nRevisions are immutable snapshots of the application's configuration;\n`data`, `author`, `date`, and `message` cannot be edited. Use this only to\ncorrect metadata such as `description` or `tags`."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_revision":{"description":"Full revision body. Edit replaces the editable fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_revision_id` in the URL path. `data`, `author`, `date`, and `message` are immutable.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationRevisionEdit"}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionEditRequest","description":"Request body for editing a revision's header fields.\n\nRevisions are immutable snapshots of the application's configuration;\n`data`, `author`, `date`, and `message` cannot be edited. Use this only to\ncorrect metadata such as `description` or `tags`."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-application-revision.StatusCodes.json b/docs/docs/reference/api/edit-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/edit-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/edit-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-application-revision.api.mdx b/docs/docs/reference/api/edit-application-revision.api.mdx index 4b286431ed..8b5550a618 100644 --- a/docs/docs/reference/api/edit-application-revision.api.mdx +++ b/docs/docs/reference/api/edit-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Edit a revision's header fields only." sidebar_label: "Edit Application Revision" hide_title: true hide_table_of_contents: true -api: eJztW1lz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Dew9pklVVYzn8F1FP4/sS3J/D/lkV699WJf250ukNPP60/D3n3nWW5gG4rV7P1q+oh6PYKhKtIu+pfD1YV/HqoqsfXQ2V1vR5xxfL6py9/Nya4enYT0xWo64G64FyPhepxY3G+GtyAddXd8Lsq1zZ+l091jaGqmtrADaXRsloaapR1Aa+qOtXbsh20qmHMOujLGfv769nhq73XPz3/ae/V68MXe9OXs3jvRfyPw5ezw0M2Y4fOrmUWVkVZ53Tkzclxj0PrTxgQWez2f+lB7s806rhz7cUun3XhkFpg2T+rv7RqC/Rg9Hx0gEO5MjZjssHCfQ809AVTd63LOmA/fsZ2n8/YQnTA+LyfC8Zlo27hg1+rQ9i4kB1waETH6z5ju4poqgzeiuhyOWUGLrRYrXD49wI0BrSr0DI2RTf8sqQJN/j/etOvNfDT03BoPCPrJCiDnsSI5z77omNKI/oNFhu+vXMnbFoG2GWgPvKM99w5WKP10gKM7H7GmzgG99K/nvaqcdScXJzTiE7DR3iZi1tUs1vUNbv1C1e5Vz/ek3BsSQWT88J1f1EPif/+B/ulGi0= sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-application-variant.RequestSchema.json b/docs/docs/reference/api/edit-application-variant.RequestSchema.json index f278821167..af9dbf5655 100644 --- a/docs/docs/reference/api/edit-application-variant.RequestSchema.json +++ b/docs/docs/reference/api/edit-application-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_variant":{"description":"Full variant body. Edit replaces the artifact-level fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_variant_id` in the URL path; `slug` is immutable. Configuration changes (prompt, model parameters) go through `/applications/revisions/commit`, not this endpoint.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariantEdit"}},"type":"object","required":["application_variant"],"title":"ApplicationVariantEditRequest","description":"Request body for editing a variant's artifact-level fields."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_variant":{"description":"Full variant body. Edit replaces the artifact-level fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_variant_id` in the URL path; `slug` is immutable. Configuration changes (prompt, model parameters) go through `/applications/revisions/commit`, not this endpoint.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariantEdit"}},"type":"object","required":["application_variant"],"title":"ApplicationVariantEditRequest","description":"Request body for editing a variant's artifact-level fields."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-application-variant.api.mdx b/docs/docs/reference/api/edit-application-variant.api.mdx index d3753fb92c..16a9c87cb4 100644 --- a/docs/docs/reference/api/edit-application-variant.api.mdx +++ b/docs/docs/reference/api/edit-application-variant.api.mdx @@ -5,7 +5,7 @@ description: "Edit a variant's header fields (`name`, `description`, `tags`, `me sidebar_label: "Edit Application Variant" hide_title: true hide_table_of_contents: true -api: eJzlWVFv2zYQ/isEX9YCspOmbbZ5L8vSFsnWrUHibA+tEdHSyeJKkRpJJfUM//fhSMmibclu0gwbtrzEou6+Ox6Px0/HBbVsZujoPT0pS8ETZrmShk4imoJJNC/xmY7o65Rbwsgt05xJ+5UhObAUNMk4iNSQJ7FkBcQRiQM1fER0/F+AZfHT4Qf5QZ4qmfFZpZ0pkuRMzsCQmSI216qa5YQRCXckUUXBLbnl7IOML95djckBC1w80HDLjfvlJeMhGefcEJBpqbi0REkxJ1ZVSQ7mg6w9Hwi4BUHQnZRZNqQRVSV4X85TOqKQcnsTGLqpFWlES6ZZARY0xmtBccZ0RDtkb3hKI8oxbiWzOY2ohj8qriGlI6sriKhJcigYHS2onZeIYqzmckYjmildMEtHtKociuVWoECwPORXb4acp3S5nHh0MPYHlc4RctNYoqQFafFV4OzB7wZXdhH4UmqMheVgNmRXQRgtNvLiTSVEkxVkqtL5kLhU0VAKloAhNgfCtOUZS5rg1znDJWHEcDkTQC6uxxExinCZiCoFAreg5wTXgk0FeA0clIRnhFtDbpmogHBDKukzKB2SmKcxKSpjScFskjvTcffyxGgd319fviW4Rt+R2IhqFiMkL4rK2R2S7lx9UmpVlDYihUpBkDYvnoZpHO/J14hIZYkNcxbTcX0RMuG254IyOX+XubxbF+AmzNYgo6ZKCWAySKFzQ4IsorjFM1YJS0cZEwaWEYIBRpZZpfdBvV4JdgMZycsS7D6Yq1qsG6Rgks0wk3eD/FyLdYMklbGq2Idx6qW6IYTYq/9W9CnnSn3cp32GMj3uqxT2Oo8yfSG0Sb4/gCjUDZABpFOW7J3Cm0auZxo525sMpyjToZ4zc1NpsVP9jBlyrUWfui9aexGuvFgPSM5kKmD31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Lyn0YDHbnBd1zYdNBSzIccE5C0IVULDml8cHW0T5V+Z4Kl38bXW7sR9IEtOwTLumiJ1md0UECpZe3ufY2Ky3KjMwemmatKBZ5SZdfXR26prDJtBW6r7RV0wyBjfYq65D04Ub1Km+QJN7KcAZmsZTzGWn/Z/YGFsvPu1XJCe7RL5FeoPxSu/BLvy6mw8vtgC9PlRgM0VXnvg1CJ/WzGi643rOsnMwaK7l76kETWgb5t7EdcmQwzultU/5taWZnRwANUwEapKh64dyIaMe8EJYiSV5nbuQE4uzn+C+Zm7ZKKj95NQ4Aqz0efXuthqTVjJfwKMUn1Hc1LZXGn+Z8NU3dWMv8FykcM8v2wvUV5/YkUpYMclyIpHb/JlRzY3mW87uGKx7dCqxd0ONQ3rdsT1n9tH31EOFFyLOMR0Pd92oO3htmN1QzZwzjdYA1jXMK2fVx3Q4LlpaQZDqwZlgFt3Gxs2X1Poll+uSFG7J9cr1moYDwD6PGPfvMyOXwxefv3s68GLl8dHg+nzLBkcJd8eP8+Oj1nGjt2ycpmpcAe77jIjJxfnWxbWXmE1ZIlb6CaB3GsabWRzm8Q0olC4WkgtsOL71Rvcurg1vJnD4bPhIQ6VytiCycCEuzbruOXbdHXRFuv/8q1svZOxkh6UgnFX6+sOvC9Tay0q7DQ3hYpGdNRzKzuJaK6MReXFYsoMXGuxXOLwHxVoLD2TGmeKGfN+QVNu8He7P3sX48llXdyfkj7/m/Ik585dUeETjehHmPffJLuDMG8q4aIWPvV2B+64asG2Tm8swV7jJEnAXSz0y06CE+HiekwjOq3vlAtXYahmd3iKsTvvtyp97PHSGccWVDA5q/C8HVEPiX9/AZdhNjg= sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-application.RequestSchema.json b/docs/docs/reference/api/edit-application.RequestSchema.json index 67eca0989f..0527929400 100644 --- a/docs/docs/reference/api/edit-application.RequestSchema.json +++ b/docs/docs/reference/api/edit-application.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Artifact fields to update. The `id` must match the `application_id` in the URL path.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationEdit"}},"type":"object","required":["application"],"title":"ApplicationEditRequest","description":"Request body for editing an application artifact.\n\nOnly artifact-level fields (flags, tags, meta) can be edited here. Editing\nthe `name` is currently disabled. To change the prompt or model parameters,\ncommit a new revision on a variant with `/applications/revisions/commit`."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Artifact fields to update. The `id` must match the `application_id` in the URL path.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationEdit"}},"type":"object","required":["application"],"title":"ApplicationEditRequest","description":"Request body for editing an application artifact.\n\nOnly artifact-level fields (flags, tags, meta) can be edited here. Editing\nthe `name` is currently disabled. To change the prompt or model parameters,\ncommit a new revision on a variant with `/applications/revisions/commit`."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-application.api.mdx b/docs/docs/reference/api/edit-application.api.mdx index 4636521635..f3ad2dbf8c 100644 --- a/docs/docs/reference/api/edit-application.api.mdx +++ b/docs/docs/reference/api/edit-application.api.mdx @@ -5,7 +5,7 @@ description: "Edit artifact-level fields on an application." sidebar_label: "Edit Application" hide_title: true hide_table_of_contents: true -api: eJztWW1v2zgS/isDfmoB2UnTNnvnwwHnTVskt91rkDj3pTEiWhpZ3KVILUkl9Rn+74eh3mU7ToMsbnHYfEgiauYZcjiceThaM8eXlk2+smmeSxFxJ7SybB6wGG1kRE7PbMI+xsIBN04kPHIjifcoIREoYwtaAVfAW/XxrbpVpMAXEiupCYQdwDCAMJF8aekfV/3N0PFwDKQo1BJCxTMMb5WwEBXGoHJyBbGwBBoDVzEYdIVRFsJ3x8fhGC6NznIH2kCmY5SjnBueoUNzq6KUqyVaWGpwqdHFMoXw8sv1DI4607ZHBu+F9f9FOsuECwNQ2oFLhb1VqOJcC+XGLGA6R+N1LmI2YRgLd9cBYgFrbJNr14yWwiasI3MnYhYwQa7NuUtZwAz+VgiDMZs4U2DAbJRixtlkzdwqJ23rjFBLFrBEm4w7NmFF4VGccJIEOjsIFzHbbOYlKlr3o45XBDU0EmnlUDl61Znc0S+WNn3dmUNuaM1OoB3I0mM/VKZVlNTx4TQUecwdjmGWIoQiDiErrIOMuygFR2N9z4QglB+/ufoM5B7yeX8Gi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ZzhF6Y3yBj2xgH3BxeYnU18y0zqJLiuhs9LewBe2BmSjzlP2LjXGUYS+3b9bdtqqHZc3ExawWfURNfMZhxn+QPWOP5Tz1XnpYPrKSmNLJrmaF1SZR6yEpJ//AXJk2jY= sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-evaluator-revision.RequestSchema.json b/docs/docs/reference/api/edit-evaluator-revision.RequestSchema.json index 2aa5304fd2..34112c16d4 100644 --- a/docs/docs/reference/api/edit-evaluator-revision.RequestSchema.json +++ b/docs/docs/reference/api/edit-evaluator-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator_revision":{"description":"Revision edit payload. Requires the revision `id`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorRevisionEdit"}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionEditRequest","description":"Body for editing a revision's mutable fields (currently limited; payload data is immutable)."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator_revision":{"description":"Revision edit payload. Requires the revision `id`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorRevisionEdit"}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionEditRequest","description":"Body for editing a revision's mutable fields (currently limited; payload data is immutable)."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/edit-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/edit-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/edit-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-evaluator-revision.api.mdx b/docs/docs/reference/api/edit-evaluator-revision.api.mdx index bfcec7b510..4001c80ee9 100644 --- a/docs/docs/reference/api/edit-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/edit-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Edit a revision's metadata." sidebar_label: "Edit Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztW21vG7kR/isEv1yCrmUnufhaFQXqcxLEvaQx/HL9EBs2tTvSMuGSeyTXjirovxdDcl+0L1KsKMAhdT5l6eEznOFwOMMZLahlM0PHH+nrOyYKZpU29DqiCZhY89xyJemYvk64JYxouOOGK/mTIRlYljDLRlfySp6FcXKLQ7eEG8KzrLBsIoAoGQOJVZZxayEZkYuUGwIyyRWXlnBzJadKV3hkykEkhigp5uRJYxURwYVGjvDpiFwoEqdMzuBKQrlwMoGU3XGlo8CPMCLhvlo24dJYYMmIRlTloBniniR0TCHh9qbCuSkn0IjmTLMMLGjU0YJKlgHSd0hveEIjylFZObMpjaiGPwquIaFjqwuIqIlTyBgdL6id5whirOZyRiM6VTpjlo5pUTgUy61AgmpHSKXgk4Qul9ceHIz9VSVzRGzzipW0IC3+ieW54LETdf+Twd1cNJaSa1SE5WDwq0cD40XLFKqloM5IzuZCsWREzvwKDLEp1Aq/5cktanuVzVQ4k1tQJucfpk6vqwTc3DSW3VDZRCkBTDZ0dGLIUYMUDXfKCmHpeMqEgWWEYJVcm6AqjQ8AGcnzHOwmmPNA1g+SMclmuFfrQd4Hsn6QuDBWZZswjj1VP4QQG+e/E0OTU6U+b5r9FmkGlq8S2Lh4pBlSoY3TzQpEon6AKUAyYfFGEd6UdANipGyjMRwjTc/0lJmbQou1098yQy61GJruz+VGhHNPNgCSMpkIWH80EOVtoOvALKNyopp8gtj2ebA37si3r5V3MGPxnEwLIUjtxd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80ahlzZcMuJnWOkFpg83+Wf2m89tO90bPRHg5lytg5kzUW7rOh7lcs7ZUuK0f9A35pFI4vOs/dTDAua4/93jPVmlON86bBN9GIjvu/NLqMaKoMJh50uZwwA+darFY4/GcOGr3NZeiwmqCVfFrShBv8f3UmB3fgSfiUJ3lKhlZfeCSJ7ggXiL9oRG9gMfhxlLv40sL3LQPtoWe7466nCqtzW6PT9TMO4hjcw/gw7WXtBjg+P6MRnYTvpObOqVDN7lDP7M4vWzkt+BwGx5ZUMDnLXasU9ZD4739aJxeL sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-evaluator-variant.RequestSchema.json b/docs/docs/reference/api/edit-evaluator-variant.RequestSchema.json index 8f1b6ed08b..935bc34461 100644 --- a/docs/docs/reference/api/edit-evaluator-variant.RequestSchema.json +++ b/docs/docs/reference/api/edit-evaluator-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator_variant":{"description":"Variant edit payload. Requires the variant `id`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariantEdit"}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantEditRequest","description":"Body for editing a variant's metadata."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator_variant":{"description":"Variant edit payload. Requires the variant `id`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariantEdit"}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantEditRequest","description":"Body for editing a variant's metadata."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-evaluator-variant.api.mdx b/docs/docs/reference/api/edit-evaluator-variant.api.mdx index cd1e2b9dcf..d9026bbad0 100644 --- a/docs/docs/reference/api/edit-evaluator-variant.api.mdx +++ b/docs/docs/reference/api/edit-evaluator-variant.api.mdx @@ -5,7 +5,7 @@ description: "Edit a variant's metadata." sidebar_label: "Edit Evaluator Variant" hide_title: true hide_table_of_contents: true -api: eJzlWdty2zYQ/RUMXtrO0JLjJG6rp7pOMnabtp7YaR8SjbMilyIaEGAA0I6q4b93FryKIqXYcac3P5ng7tkLFouj5Zo7WFo+e8Of34DMwWlj+TzgEdrQiMwJrfiMP4+EY8BuwAhQ7gvLUnQQgYPJW/VW0VvLtJIr5nQeJrXcgcQblK0su9IsTEAtkWFt7K1aYAI3QhsW6jT1ZhTeMoM3wgqt2I2At+rdtFGw0/qVnZYa7yY84DpDA+TtecRnHCPhrhuV68ofHvA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ighezXGzqwHiIzHkPrHVhmxQXCY3IL7ysKTgMMjJ3w8417OAyw782SVRfJ7OHkfYCsnCUr8HZy8CrCVk5quxeoJS3VN1o+rqljXfD2pl5qtxktN2JN6qelqvHzLPVlfj/8xKTyIta31brJOH7UWfBHThtGEIASVVsh8jwWTyYMC6GjYXi9Y3aHUBXrpDMwKtZQDgdTC+cXJyVDjUYrE3+HstTH+An6kUE7QgfCNj6ru9g2kjrfePuTemG96pbpz3elKg9ClZZdDjeC2DFsLS2xr97ipJ4Pd0FtKPv/DkszrHKp/acbuSwdmZy/Picsvh39KETch/Mquk6/tFoUdGqfiVdiCfcl1cXNztQMY8iNHl2nq2dPSotBun/Fuv79KKDtdD/XpNzziFs1d3dL3bTA+hUL4LQ2PmXOFnU2nWE5iqctk4tt9MAERDOeEEZdGuJUHObu6/AlXFwgJNbM+zLsG15SJIbe2zZr9gEL8hMRQ9XnhrHSZNuJftWj13xWyMIsooBx/134DeP0F8kLiaA+/EdR94exVZ18Ct4ONnG2HmgZ2O1S3o9sR311uH0O/uDPBN4C7mL6j2w60Hdp2rGq3doIL7dMOrG+HVs9Nf7PzXDcsO0NN+7GDW/USa1lfqelWajb6qD2N27WqGaa7gD9P4c8v09MXRy9/ePbD0YuXpydHi+dpfHQS/+X0eXp6Cimc+k0VKtXds+t7x8DOri53PGy9ojoIsd/oOn38ax71crlNYR5xzH0V5A4h/2vzhg4tHYzg5njybHJMQ4W2LgfVceG/7+18oOoHum6L9H/BF8HqMFIhnBYShC/VVZM8VJlOL4mawXWd4RGfDX4RnEc809bRxPV6ARbfG7nZ0PBvJRqqHPMKZUFb/mHNE2Hp//aAjfL5XfXVLfmejcVeVxe18sHKkp54xD/jauwbpr/BsrqMrSvT8+D1yN8zLdTOtUv1M8w4i2P0Xf9x23mnlF+9v+ERX1TfM3NfILiBe7p+4D5ErT0Jvo75sTWXoJYlXZQzHiDp799ENpEe sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-evaluator.RequestSchema.json b/docs/docs/reference/api/edit-evaluator.RequestSchema.json index d19a39392f..326dbd7a0f 100644 --- a/docs/docs/reference/api/edit-evaluator.RequestSchema.json +++ b/docs/docs/reference/api/edit-evaluator.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorEdit"}},"type":"object","required":["evaluator"],"title":"EvaluatorEditRequest","description":"Body for editing the metadata of an existing evaluator artifact."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorEdit"}},"type":"object","required":["evaluator"],"title":"EvaluatorEditRequest","description":"Body for editing the metadata of an existing evaluator artifact."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-evaluator.api.mdx b/docs/docs/reference/api/edit-evaluator.api.mdx index 204a1c5c34..ecfc92344c 100644 --- a/docs/docs/reference/api/edit-evaluator.api.mdx +++ b/docs/docs/reference/api/edit-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Edit an evaluator artifact's metadata." sidebar_label: "Edit Evaluator" hide_title: true hide_table_of_contents: true -api: eJztWdtu3DYQ/RWCL00Aee04idvuU13Hgd2kreFLX+yFMyuNVmwpUiEp29vFAv2IfmG/pBjqRu3VMRK0KLpvooZnyMPhzNnRjDuYWD685sd3IEtw2lg+iniCNjaicEIrPuTHiXAMFMPGhoFxIoXYfWVZjg4ScDC4UTeKLC0Dg0yKXDhMmNOtBUsFysSyZwF6xGgBkbd5PrhR56ggF2rChGUO80IbMEJOWSIsjCUmDFTCDLrSKMte7e0N2KVmcQZqgjeqW98YM7gT2kQs1nlOq2cK75nBO2GFVkwr5jJkd2AEKMf++uNPZhFv1IfdFsPuNtZ2twL5MOAR1wUaoJWfJnzIMRHutp3CI16AgRwdGiJ1xhXkSGaNxa1IeMQFkVqAy3jEDX4shcGED50pMeI2zjAHPpxxNy1ornVGqAmPeKpNDo4PeVl6FCecJIP25NhpwufzUYWJ1n2vkykBLbqItXKoHL2CopAi9vvZ/dXSYc+CFRSGdusEWnrqtjmcLQZI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To2kO7kORM5Cd0vdoNQFetUFzAo1keESGinVSKsn+/vLauo3kCLxhZsdG+Or7j2lVIIOhH89rnPtooHUce/pl9SK0XwhPQclTtfCgwqVnaxqUXap11qYYJev15t6MtglPaWA868fZN7ETfM+ErvPAczSKR4Rl5+3627iplp+bRfEaHdE1Qmtp+JFdQSbwurk8vJsCbCKjxxdpql7TFuLqkbwkIed51nYMJ7ziFs0N01P2fdG+C4Uwp9g9TdzrrDD3V0sB7HUZTLwPSAYgKgMR4QRl0a4qQc5PDt9hdMThIQ6HO9HocEFBV4VSn2zln4oxCskQur+9mHpMm3EH40w9Q3urJpFO6aQPu+a0sefIS8kLjWVAynOH6fw49P04MnO02ePnu08eXqwvzN+nMY7+/FPB4/TgwNI4YAH+npRR3sRuqiIu8FW3XZDbQO0G2ramd2I7052f6t+YzDBNxBDTN8R7Aa6Dl83VrfrgsVV7bcA1rfT6v9tfyz43zS8gqG2fRXg1r2oRuXX2roTnq1a6u5pP4u1w3c/o7m/1qkOb7XvPQI7PDtd8tB7RBkSYp8Qmkjzj3m0EPZdtPOIY+7zI3cI+c/tE7rOdIcqN3uDR4M9Giq0dTmowIX/2tV/O+qJvzZt//9dLPguVmcGSsK7hQThy0Tdxq0yXND0oHblsPdRbBTxTFtHVrPZGCy+M3I+p+FPJRrKWaOI+2WNKYLez3iz8zbA1x7Tg/ozVPKQrVtok9cUJTVaF/3jEf+I08XPd75EZk3inNUmR5W3HV/IOoiluk4Zu5pxGMfom8/rbUdBrTh7d8kjPq4/6eU+z3ADt1Tf4LZarfab9+nQj824BDUpqRIPeQVJv38A7JVQKA== sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-metrics.RequestSchema.json b/docs/docs/reference/api/edit-metrics.RequestSchema.json deleted file mode 100644 index 2277a3f431..0000000000 --- a/docs/docs/reference/api/edit-metrics.RequestSchema.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"metrics":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"EvaluationMetricsEdit"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsEditRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-metrics.api.mdx b/docs/docs/reference/api/edit-metrics.api.mdx deleted file mode 100644 index 7a6c82db49..0000000000 --- a/docs/docs/reference/api/edit-metrics.api.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -id: edit-metrics -title: "Edit Metrics" -description: "Edit Metrics" -sidebar_label: "Edit Metrics" -hide_title: true -hide_table_of_contents: true -api: eJztWNtu20YQ/RVh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dcEGbSE6urs63AIM+msLg76hOpcGU7Dzj28EcbTyHiH/nMIQeVVeJveKbpcd1gjRXL+9epyVbYi68b8Pj3NrcDHs9cjuxzFyygzNSFndQBMMxY8ROC7vwIKPz0w+0OCFMSPtIqBlcsiSDyJpma8dgLj4QU6Uw5eeRs/NMi7+DctjBvKUwi7lgsV9UF5/Ht5jmkhoXmdfVF1j1dVK17kU7ALtT/G1/erDX3T98c9jd2z8YdCe707g7iH8/2J0eHOAUD6BW6uvXKlXdrhXloiqufEwINc3quhx5Ejuj81PYdGjjFcc4xl7SJSP+NUQb7qm8woU+9REOljD9Y/2m0alAf+fNTp+H8szYFFVtiQ1JNba39hSHSy+XKHxA+80sC7FdQ01sUH0iR8DhMs8Mp0hYLido6LOWqxUPf3ekWUHjCG5QC5wwT9fM3bzU0hL+okUZrMp2fdSzuXRBOxtJkEUcZozimHLbajuuxc756OroBCKYFHfpaZbwJI0/OB3gDxgC8G18OOBwGcaWIFHNHCeuIQRQ/vsHIr4jQQ== -sidebar_class_name: "patch api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Edit Metrics - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/edit-mount.ParamsDetails.json b/docs/docs/reference/api/edit-mount.ParamsDetails.json new file mode 100644 index 0000000000..63809830b6 --- /dev/null +++ b/docs/docs/reference/api/edit-mount.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-mount.RequestSchema.json b/docs/docs/reference/api/edit-mount.RequestSchema.json new file mode 100644 index 0000000000..57f9ca9608 --- /dev/null +++ b/docs/docs/reference/api/edit-mount.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"mount":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"MountEdit"}},"type":"object","required":["mount"],"title":"MountEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-mount.StatusCodes.json b/docs/docs/reference/api/edit-mount.StatusCodes.json new file mode 100644 index 0000000000..eee3b3bbcb --- /dev/null +++ b/docs/docs/reference/api/edit-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-mount.api.mdx b/docs/docs/reference/api/edit-mount.api.mdx new file mode 100644 index 0000000000..2cd0dd5667 --- /dev/null +++ b/docs/docs/reference/api/edit-mount.api.mdx @@ -0,0 +1,69 @@ +--- +id: edit-mount +title: "Edit Mount" +description: "Edit Mount" +sidebar_label: "Edit Mount" +hide_title: true +hide_table_of_contents: true +api: eJztV0tv4zYQ/ivGnFpAjrN5eFud6k1SbLDN1sijl8AIxuLI5lYStSSVjSvovxdDSpb8iB0ECdBDc4lFcr55fTNDlmBxZiC8hytVZNbAJACVk0YrVXYpIAQS0j6kvAkB5KgxJUuaRUrIMCUIwe0+SAEByAxCyNHOIQBN3wupSUBodUEBmGhOKUJYgl3kLGesltkMAoiVTtFCCEXhUKy0CR9wNvUuBVTVxOORsZ+UWDDIOnykMkuZ5S3M80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AvCOBvWnRfxq5NzRumlvX2mdfUd82kFd/orVwiXmIURZTbnWcnnaIc391CANP6xZwqwSIaf3CPwR/eUuUcd5Xi1kpIMJsV3A1D8JD89y+5e3sU +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Edit Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/edit-queue.RequestSchema.json b/docs/docs/reference/api/edit-queue.RequestSchema.json index 8be4e2967a..515dc66c4b 100644 --- a/docs/docs/reference/api/edit-queue.RequestSchema.json +++ b/docs/docs/reference/api/edit-queue.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"queue":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"}},"type":"object","required":["queue"],"title":"EvaluationQueueEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"queue":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"}},"type":"object","required":["queue"],"title":"EvaluationQueueEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-queue.StatusCodes.json b/docs/docs/reference/api/edit-queue.StatusCodes.json index f815b1ad52..babed34b89 100644 --- a/docs/docs/reference/api/edit-queue.StatusCodes.json +++ b/docs/docs/reference/api/edit-queue.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-queue.api.mdx b/docs/docs/reference/api/edit-queue.api.mdx index 49b8b4f629..15a165104d 100644 --- a/docs/docs/reference/api/edit-queue.api.mdx +++ b/docs/docs/reference/api/edit-queue.api.mdx @@ -5,7 +5,7 @@ description: "Edit Queue" sidebar_label: "Edit Queue"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xl0vkVmh7KC7cEuxKkRd3d9drgC4/molBZ7jOm/x6Oka9SAJ3A+0v7H21XsAQeljdcPfs/qB6q+LWOqMNAuV9caltZEQqLOV2id3jQutUDXs9NEd+lJjgiM1RaHbEuBOcEIZvJNdLCzK6vnqJyxfIApQwHE/qAreUmS7XmmLl+rCUv0SKWH7BPjJ6kUj+xSVQfsu+cFoUEsr5m+p2/PIzi9MIG7fb5ZGwdfSzJ7DmKa442eUnquq4UXLkKg+bi1EOUxuCpyH74yQ8Pe6enD056x6fnA66s6eh3x34f54+DU9PWchOocYX6rdk1eZf29mLrbXaQsf7GZm0N7oD9Ko9alz4N2nuKf32jtC3ecpFmNRrcWQzpjO6vlqLW+MV9TXm2zIult++Bq+Vi1UKEp2JbVcDjSz+q3zT4GPQP3py1KehNFE6ZqJmolFGrUNMnpTUIHppxLhtYXYqq7zAxlArsIKC0Y9h+Wlo4sEiUZpkV6sZU/hWRllGwx8NSiqaiQf3THI2o2iNVxBwRb+DMkdb0yr7Pzy6yVvU4051aGxOtygsQVVFc6Un8OADLusfsGwDXxRVu8pfnztLXdtmK/W1XYfahdMY+T6meqfspNaurkd35y/Ag1n+aStOAlKS7BP1X/bJzTVJXXzp2xeNrSBiYm5opxiCA6W//wDQnnea sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-queues.RequestSchema.json b/docs/docs/reference/api/edit-queues.RequestSchema.json index 8b69cdffe8..16a4a87d53 100644 --- a/docs/docs/reference/api/edit-queues.RequestSchema.json +++ b/docs/docs/reference/api/edit-queues.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesEditRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesEditRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-queues.StatusCodes.json b/docs/docs/reference/api/edit-queues.StatusCodes.json index 868401dc1b..bdfd9245c8 100644 --- a/docs/docs/reference/api/edit-queues.StatusCodes.json +++ b/docs/docs/reference/api/edit-queues.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-queues.api.mdx b/docs/docs/reference/api/edit-queues.api.mdx index 6e7b26c63a..83229b02bf 100644 --- a/docs/docs/reference/api/edit-queues.api.mdx +++ b/docs/docs/reference/api/edit-queues.api.mdx @@ -5,7 +5,7 @@ description: "Edit Queues" sidebar_label: "Edit Queues" hide_title: true hide_table_of_contents: true -api: eJztWdtu2zgQ/RVjnnYBOXbdJN3V07pJinp7S5O0L4Zh0NLIZktLKi9pXUP/vhhSd18SZ1NssWheYlMzZ8jDmeERvQbN5gr8MVzcMmGY5kmsYOJBkqK030Yh+IAh19MvBg0q8EDiF4NKP0/CFfhrCJJYY6zpI0tTwQPr1/ukkpjGVLDAJaNPqSRUzVHRtxzOXwPXuFSbBpGwU1sDi1fvIvDHbQOupoqmEmvOBA3oVYrgwyxJBLIYPNBcCxoZqc51ZelBiBEzQoMfMaEwy7zCNZl9wkDXPCta3tN8X9g5ZV4ZKzZCQDYhhI3ZsjDk5MnEZWPelUVrwjVcpSWP53ZkOwwEXAZGMPnbazZD8bdK4u4oTo3+HdqrySbVelrGsLH0zbVVzjdu8bBEzR641Nq68hEea5yjbAZezpojdYbu4uOFEfvp8MqUu4cTk5Kt9rLSdD2M0TfEZOZBzJZ4T742MN6Sb0ZJrQLJU6LmoVDnNYjMAx7uA/IgSuSSafDBGB7uBR7RY7hFqfLZtaEKw4+5Sa1GYdAfnHT7z7pPjglEaabN3uTyAGOzpKaWYhy6EdttQmpeJo7dkDJBgIoaWsS4MBLJUcpE0lDA4gCFwBAm25rBtZvE1kYQsnZ1NNuWUSinPGwtoWyC5Ye72G5n6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Nj2zt4+BQOmsau5nc/uKOcOtjOyZJkk+BFB7hxsFiRAgT8gyIWDzYLkdM3Xs+8nF3Oynq07TjnmfH3XKDlbRZScsO8aJaeriPIDVfVj0j9X3D+9tK5eCfLov+T2L7n9H8ltm+9Zn9i/ZSX0tYlsE7hHWWfAu5X1/eK9UiyTQ64GqhDZqVXsJ4NBW5O/Z4IH1qdzSVX9eEEeoGZc7FHWIvZrTw+RV9PdLL2K3QSttlOLfW8kXqNSbFGhfLepJaNzS0+pz9vXQWSet+v8/ZCvv1ZgWltyTlx+3Z6k1TQhbtz0M7tqVy+2yO3Qbiou3Bbsy5EXt7dXLUCXH/XEoAtfp8jAFeplTO+gEyo98Oj/EobQw/KFdc/drXp0aKCko8xurpGCDFnC7c66r0utEzXs9dAc+SI2wRFbYKTZEePOcEoYvpFcry3I6Gr8EtcvkAUobRlUDG4oIV2K1c2KbWEJf4lElJOpMDJ6GUv+zeUNbS9NyXkRE5Tq1+Xr9cuvbJUIrL4un1Quio0Lob2X1e92+X0vu2eVl5BCOZcJWN+FYpiaEzwJ2R+n4dlJ9/Tp8dPuyenZoDt/Evrdgf/n2ZPw7IyF7AwqKqL6uq2UBJXzPj9wy4N18rAg0+bxd4BfeXJN8vVN6ydNv3lO9FPbAXgUxtUqHNmk6Yyuxi3iao+oozHfFnCeAfYxeI10LLOQVM7K9jPQyFZ/FU9qMg36R8dHfRpKYqVXLKqEqBdQ43KTJSb1hl4iGLfdy85lk5XWBCqlBcWLCw+IrGWs6DSAzWbOFN5JkaY0/MmgpHqZevCZSc7mxNKEmFvmlbOBj7jOG1Oku7bDkbkwrlIaDZ9K1nmMfB8Tvdd2WmkUV6Pb8xfgwTz7fWoVB+Qk2RdqfewLDAHoBy63vuHGjW1AsGhhqEkPwYHS3z9S4jmy sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-result.ParamsDetails.json b/docs/docs/reference/api/edit-result.ParamsDetails.json deleted file mode 100644 index 4ef842aa90..0000000000 --- a/docs/docs/reference/api/edit-result.ParamsDetails.json +++ /dev/null @@ -1 +0,0 @@ -{"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-result.RequestSchema.json b/docs/docs/reference/api/edit-result.RequestSchema.json deleted file mode 100644 index 85a89ec97d..0000000000 --- a/docs/docs/reference/api/edit-result.RequestSchema.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"result":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationResultEdit"}},"type":"object","required":["result"],"title":"EvaluationResultEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-result.api.mdx b/docs/docs/reference/api/edit-result.api.mdx deleted file mode 100644 index 4626ca10d7..0000000000 --- a/docs/docs/reference/api/edit-result.api.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -id: edit-result -title: "Edit Result" -description: "Edit Result" -sidebar_label: "Edit Result" -hide_title: true -hide_table_of_contents: true -api: eJztWVlvGkkQ/iuonhJpMITYzi5PSxxH9majWJjkxUJWMV1AZ+dKH44J4r+vqntOcMbH2tJ6Fb8Yuqu+qq6us1mDwYWG4QUcX2Fk0cg00TANIM1IuW+nAoZAQppLRdpGBgLIUGFMhhQzriHBmGAIfvtSCghAJjCEDM0SAlD0zUpFAoZGWQpAh0uKEYZrMKuMGbVRMllAAPNUxWhgCNY6FCNNxARjh9w5FbDZTD0gafM2FStG2cYP08RQYngLsyySoTtG76tOE16rxGeKD2kkaQ/jTrezPo+cgdaAyerT3B0YhZCMidFZg7SiyE82S9OIMIFNsH1YXrkZBkKpQhuhevEXzij6U6dJ9zTJrHnJFvEg6ewrhQbYGIWNtohhs0Nc6ZDYKGowv3dnZJb//1kn+VFjMvjAo9bOla/IxNCCVFNwPGuu1C10mz3e26jdHMEapKH4bkyoFK7aPaDBej+LfmRLbgKQos1a2+HdhsiRHsAVKS190G5DFYRfcpIABM3RxS8M+oODbv9N99U+gyxRLy8fT7MT1MuOV88oDOkW6FZHZP4Ci7QJUd8Gdx9NJzlkLoGUStUvf38Mfz92ptwEoA0a22qyACixMZfXjBLhV75ZssTlTdkk8UvahiFpzfeLMrKKIL8wXgoxCSmKSEBdh7Jan3sldhXe7BzqJnZfW4+FNHATQ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BXU2q9QLqUuiyBa5/tHXlTXJb6Kf6cOcPR6jlEYUmZaaae1/HE2mhydQACz/OepOBXMpPA72xO/e2XTzJuYo4zX1hBhsrCcu4fgQfnvHzRkZ3c= -sidebar_class_name: "patch api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Edit Result - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/edit-results.RequestSchema.json b/docs/docs/reference/api/edit-results.RequestSchema.json deleted file mode 100644 index 843dbadf76..0000000000 --- a/docs/docs/reference/api/edit-results.RequestSchema.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"results":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationResultEdit"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsEditRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-results.api.mdx b/docs/docs/reference/api/edit-results.api.mdx deleted file mode 100644 index d15f4b3cb5..0000000000 --- a/docs/docs/reference/api/edit-results.api.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -id: edit-results -title: "Edit Results" -description: "Edit Results" -sidebar_label: "Edit Results" -hide_title: true -hide_table_of_contents: true -api: eJztWVlvGkkQ/iuonnalwWB87fK0xHFkbxLFwiQvFrKKmQI623OkD8cs4r+vqnsuwB4by37wKn7B9FR9Xf11ncMSDM409K/h7BalRSPSRMM4gDQj5b5dRNAHioS5UaStNBoCUPTDkjbv0mgB/SWEaWIoMfwvZpkUoVPsfNdpwms6nFOM/F+mGNYI0vytwOsvQRiK9bbEVDrjloDJ4ssU+tdLwCgSjI7yck20kjCLjKAPkzSVhAmsgnJJGyWSmVu5HwZCoUIrUf32CSck/9Zp0r5IMmt+h6AASSffKTSwGgdghJG8tCEMqy3hyobESrmm/MGdkVX+/2cd5UeNyeAzj1o7V74iEkMzUusbx5P1lTpDj/HxwcpmOoLSYZ+ghErhotkD1lR3Y/QzM7kKQERNbAUwTVW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6p5tP1TuepQEXzUiu4VT0bu5iYpvWQGLj7aw0uL2DTl9YecXrB0EVTcRnuMQQbnlE5BJsTu+QChjD+q3yy1rdCd29/r8tLWapNjEltiw1vXjOvdBKO1E4mUbhc4oxZ5n5+DTU/h+qFSQAcqfNUc3aG5XKCmr4quVrx8g9Lip13HMAtKoET5umauZsXbrwEVwZ9nkhM2yUcFpfWu+1G/uX48RqDMKTMNMqOa2F7ORidnkMAk/wnpjiNWEnhTz4N/oQ+AP9I5Q/Ifs5rS5CYzCznzD54UP77DyVsKCE= -sidebar_class_name: "patch api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Edit Results - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/edit-run.RequestSchema.json b/docs/docs/reference/api/edit-run.RequestSchema.json index c700bfc620..b7d8fc4f69 100644 --- a/docs/docs/reference/api/edit-run.RequestSchema.json +++ b/docs/docs/reference/api/edit-run.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"run":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"}},"type":"object","required":["run"],"title":"EvaluationRunEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"run":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"}},"type":"object","required":["run"],"title":"EvaluationRunEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-run.StatusCodes.json b/docs/docs/reference/api/edit-run.StatusCodes.json index af6f5e9ecc..43fbfeddf9 100644 --- a/docs/docs/reference/api/edit-run.StatusCodes.json +++ b/docs/docs/reference/api/edit-run.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-run.api.mdx b/docs/docs/reference/api/edit-run.api.mdx index e9fe2b1309..75d91707c7 100644 --- a/docs/docs/reference/api/edit-run.api.mdx +++ b/docs/docs/reference/api/edit-run.api.mdx @@ -5,7 +5,7 @@ description: "Edit Run" sidebar_label: "Edit Run" hide_title: true hide_table_of_contents: true -api: eJztWltvEzkU/iuRn0CatGlpy26eNqRF7UKXblp4qaLKmXESg+MZfClko/nvq+NLxjPJTNJQJHYVXiCecz4fH587XiCFJxJ179HFI2YaK5pyiYYRSjMizK+rBHURSah6EJqjCGVY4BlRRADXAnE8I6iLhOYPNEERohx1UYbVFEVIkK+aCpKgrhKaREjGUzLDqLtAap4Bl1SC8gmK0DgVM6xQF2ltUBRVDAgGmreuEpTnQ4tGpHqTJnOAqILHKVeEK/iEs4zR2Eh/+FmmHNaKvTMBZ1OUSAOj+erimBmlLBDm8w9jc84yAZUPjD6S4CijNGUE80D2K9l6DzQRSsgYa6ZQd4yZJHkE7DhWWwD0LNV6iJilEs7fDNG3VOshvmqiNwrxtyGqkQHH0y1ksFTrIWTGqNqEcGuI1gBMsTmFcBdTi3GJzUEMXQ2MIlJJojbj3HnCGiBiXSkVm6EuCtIasFhLlc42AvUtWQ3IVM8w34hxaahqILBW6UaEHhCtAOSR50pHn0msAqYi6gw0f2vcLo+Wm3DNGMqHwL/ikDhJKPBhdlNyzYKiIm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qRtd34HfKsm6lIwl9D+9BqGqBlKiTQrdczLMgnHuc5DMMdBYs1DdAD5hTPQE53axRRAf8ubniFpY3bRT9MrGf4sVdoaZlVZ9UYmDTgE36hwJ6h5VF7zaUzmO6Ax2ad/q1JjNzkLVcPltrMGIUhyWQr7dTzEtej2/EFCtDMPhRL0ggmcfwFxIi/GE7TzEgWLCqMrVGM2UKBex4iAwp//gMBWeT3 sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-runs.RequestSchema.json b/docs/docs/reference/api/edit-runs.RequestSchema.json index 9e22d55097..4721873b8f 100644 --- a/docs/docs/reference/api/edit-runs.RequestSchema.json +++ b/docs/docs/reference/api/edit-runs.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsEditRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsEditRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-runs.StatusCodes.json b/docs/docs/reference/api/edit-runs.StatusCodes.json index c33d986a40..4c295cd97f 100644 --- a/docs/docs/reference/api/edit-runs.StatusCodes.json +++ b/docs/docs/reference/api/edit-runs.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-runs.api.mdx b/docs/docs/reference/api/edit-runs.api.mdx index 4b2ff0ea6d..4e14acd786 100644 --- a/docs/docs/reference/api/edit-runs.api.mdx +++ b/docs/docs/reference/api/edit-runs.api.mdx @@ -5,7 +5,7 @@ description: "Edit Runs" sidebar_label: "Edit Runs" hide_title: true hide_table_of_contents: true -api: eJztWltv2zYU/isGnzZATpw0STc/zXVSxGvSZEnaPRhGQEu0zY6iNF6Seob++3BIXSjZkhw3BbrBfalFHX4kD8/5ziVaIY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ezBbG3IGHWJh2UH+aJu7PSdnH+x32yR3aFmVZzZLWizkIu7u+stQGsfZcPAEmvPEeWSqkWCv39JMcDJHc+QHNPixzLHWMs8RvdBxaO5pU7WRAuOYpAys6v2caFUKofHx1QfhTzR0RE80FjBETArOEWMUAumVgZkdH35ha4uKBiWmEx9ARPjWvMqi222BFL2xThLGzGQkVaLRLA/8qQQpnzIwvZCLaCZ3xQ/7Tl/hmXKjanYYu3EK8tuyq+mnlOqpxYteXm0aHHVTk/EVS+LFleMdA2l4qLXVlQK/UZX9avIuRqe1+qX47zmvLDmNbkymddiq155HcxVoYoSzSZAKw5W2bo2zZhmIu/n8NPH+emH/sdP7z71P3w8PenP3s/D/kn4j9P389NTmMMp8XKs/lezi4Splw3N05Eu7ThxsZl3zHN+sWnCPPdXpPhKCTwvO1CFMsZYZG9KWRo/qVC6B2cZdttcdwZbdxT/LjKo3CQGlWvAoBR6T/zQ2gbTxarLe+LFsRXtuOOdy6HPmZrFzBOfBEfm3PZG15db+1t6hQ4FQsOf+SE0r0lQYYSCCNDlL407IYrC8p+bN6VcOxkcvTsamKA6kcqVct0QPn9V6lNu85GYj1MONmNrZrJ2S58Qj9mI+55GQJCVFwmGaBOyXs9A0l8EzzJsxuOJdDUNyCMIBjPUkIkrFzlx5WoeW//av7P3axzIElXF1yJj2h6jMKSpapWdeix9PbobX5CAzNxPE5dJhJ0EPOFS4IkMCdp8aleHzIZta8IhftDoH4fEguLf/wBEEJBI sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-scenario.RequestSchema.json b/docs/docs/reference/api/edit-scenario.RequestSchema.json index b4e5a1bdb4..15e5a07856 100644 --- a/docs/docs/reference/api/edit-scenario.RequestSchema.json +++ b/docs/docs/reference/api/edit-scenario.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioEdit"}},"type":"object","required":["scenario"],"title":"EvaluationScenarioEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","title":"EvaluationScenarioEdit"}},"type":"object","required":["scenario"],"title":"EvaluationScenarioEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-scenario.StatusCodes.json b/docs/docs/reference/api/edit-scenario.StatusCodes.json index d47506f850..c4c09b0c8c 100644 --- a/docs/docs/reference/api/edit-scenario.StatusCodes.json +++ b/docs/docs/reference/api/edit-scenario.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-scenario.api.mdx b/docs/docs/reference/api/edit-scenario.api.mdx index 2060605d76..7858df6b4f 100644 --- a/docs/docs/reference/api/edit-scenario.api.mdx +++ b/docs/docs/reference/api/edit-scenario.api.mdx @@ -5,7 +5,7 @@ description: "Edit Scenario" sidebar_label: "Edit Scenario" hide_title: true hide_table_of_contents: true -api: eJzdWN1P20gQ/1eieWolh6Qp0Ds/XUqpyvWqIqB9QRGaeCfJ9tYf3Q9KLvL/fppdO3YcmgIHUnu8EK9nZmd+8+lZgcW5gfgSjq9RObQyzwxMI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XQEoj8CBJI3ERRzRi+w6/bX19S4eUIXx2Njg/bRycHJ+3Do+Nue/hylLS7yevjl6PjYxzhMQTlMvz5q659QWGrK0tnoTKQ4iEpdl/3D47io4O4+2qvc3Lwlz1Wno+K8Fr3bMy1epcX0LwPC19RisTEZoQqgOzXEDWiuQ5iqqqZTZCgGWa/z79ZaAugs3ew1yFRWSjt5zu/RPNGLtg3j2xKN/ulQG4TorVm6u/qDQR3FepfcejvOHwiHEQwLpQmjel0iIp9lmI2IzEFG92/QQT3KDkOyW03U0i5or/rUG0YN68p8NuVT3svWvW4sGh0dUdzuqBkMX2CCP5mk8Zbpq0L4yoHTD3i1C3Wttm7ZlgqZpR8nEYvSVipN2IHQQq87PVPzyGCoX/izIqUlCR+p7SO3525RekcTW+gJJuCwPzOUAGKwZHSv38BJfo1vg== sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-scenarios.RequestSchema.json b/docs/docs/reference/api/edit-scenarios.RequestSchema.json index 4fb7634ea8..c61cdc0bbd 100644 --- a/docs/docs/reference/api/edit-scenarios.RequestSchema.json +++ b/docs/docs/reference/api/edit-scenarios.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioEdit"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosEditRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","title":"EvaluationScenarioEdit"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosEditRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-scenarios.StatusCodes.json b/docs/docs/reference/api/edit-scenarios.StatusCodes.json index 7be12bfdc4..f2d1c0c6cf 100644 --- a/docs/docs/reference/api/edit-scenarios.StatusCodes.json +++ b/docs/docs/reference/api/edit-scenarios.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-scenarios.api.mdx b/docs/docs/reference/api/edit-scenarios.api.mdx index 0c82e17a82..b847859206 100644 --- a/docs/docs/reference/api/edit-scenarios.api.mdx +++ b/docs/docs/reference/api/edit-scenarios.api.mdx @@ -5,7 +5,7 @@ description: "Edit Scenarios" sidebar_label: "Edit Scenarios" hide_title: true hide_table_of_contents: true -api: eJzdWNty2zYQ/RXNPrUzlKUottPqqYrjTNzcPLaTPmg0HohcSUhBkMHFjqLhv3cW4FWSadmVZ+r6RSa4ewCc3T1cYAWGzTUMx3B6w4RlhidSwySAJEXlns4iGAJG3FzrECVTPNEQgMLvFrV5nURLGK4gTKRBaehflqaCh861900nksZ0uMCY0X+pImDDUfvxAnG4Am4w1ps2M+EWuAIml59nMByvgEURJ3wmzhumlYVZpghDmCaJQCYhC8ohbRSXczeyHQZCrkIrmPrlA5ui+FMnsnsmU2t+haAASabfMDSQTQIw3AgaWjOGbMO4WoO0QjSc37o9ksv/f69X+VZjNOyRW63tKx/h0uAcVXPieNocqTN0Hx9vrWinIygTdgcnphRbtmdAw/VhjH4kJrMAeNTGVgCzRMXMwBCs5VEr4hm9hhtUmvsCXocqDL/mJgFEOGNWEPqgPzjq9l91XxwSiDbM2NYwBoDSxiRBKcrIj3y3aDEinbFS+iFtwxA1ac+McWEVkqNSiaKhkMkQhcAIaruoFO3SL2Jzy9kG0Vvdc5k6jXg9ND6qlcNlqWbbYEkxucKINlrp3vblFq9pwguvtJARaAVilEU3oNNEal8og36ffiLUoeKpcbGDS8/bzIrORW5MhD1OsMPEeqe1uqt2ceIsavnQpyR4Jjr/2ZoHiJ+3fr5K//S7fWZafychrWK/4fUAtX8MqYXchwqZweiamR1lP2IGu4bH2Ap/4mE7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UmgaMHeKY+8CyRDzjHBuadsQfsQJ7SbR885DwiUiRPDf7RQ84jkrFvu0JvzcgPiDWPiOApXw+6S0ReOmtct0qY2i0fAfunIiOxuSseho0+cPBPnUMKDFsLtEonVnCu0baJB/5ZxeIa+veoRl1Xne7ctc2H3e5qY/wZBE+cWesM69f3d8UJM8BFQ28rJF14+xjKNtyc1pfST9DxRX3XdLH0nmkNd6yuEZtVnTNafXzrwgfZFqpX4VDQL2q+BTAru3KKvsSM2VLa0Dd++oVeeH5VW+R3aLMr3vgtaAqT837/agXQx8diYOCtSyssmSkzE4nfunIwdEIi/D8hMdln9Yex/eqOYx8PSabw6HZbbJVAXci521//ODEm1/H+PrN7VEib7MEdywzsAfeKQ8SgVnEzdSC9q4t3bHrOwBWNwTBUuMGw9IG2qFZtDuT8HUN3ZZDic8+aiVT8Hx89uMk4JW+F/sCAv64/4519gzQXbOmz3CC4s6nuZlyzt3DZUkvKu5NaUlyFBCrF1UYtKW4qCsHCzUMgq68RQmFxJbCkVzT4gTTs1QNx2XUHoqKHDiS+JS6b5KJFrfu3ghOSF2N4eTQ+PmwfnRyctA+Pjrvt0YsxbXfpq+MX4+NjGMMxCfheeOtbk7eAmdVlvbNAbdDwEA27r/oHR/HRQdx9udc5OfirvJ0dyzCbey7sWr2rC7KcBguvsDICdYWgjCH3mkRLAV3HMR5gqauLxDBIf6veLBBb0tk72OugKJfaFDcUxRAribgwwSq6sczs5wK4K4RuOrMiRQckSFESXkRGBAvNRCL1GJDZbASafVJiPkcxhhjm3TAi96A4jNBXji9Nygyckb/ZtCxzmWm7eonqwvqMWzo+MPW9RY9SlptG3WFQc656/dNzEpFR8T09lQkaKXjAQgoPJCYEv8n7JcYzL5sRAdmdxZIfEw+Kf/8C2EjbAw== sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-simple-application.RequestSchema.json b/docs/docs/reference/api/edit-simple-application.RequestSchema.json index 3c246349df..6988d018ec 100644 --- a/docs/docs/reference/api/edit-simple-application.RequestSchema.json +++ b/docs/docs/reference/api/edit-simple-application.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Fields to change. `id` must match the path. Supplying `data` commits a new revision with that configuration; supplying `flags`/`tags`/`meta` commits a revision with the updated header but the existing `data`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationEdit"}},"type":"object","required":["application"],"title":"SimpleApplicationEditRequest","description":"Request body for `PUT /simple/applications/{application_id}`.\n\nCommits a new revision on the application's variant whenever fields other\nthan `id` are present. If only `id` is sent, the current state is returned\nwithout committing."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Fields to change. `id` must match the path. Supplying `data` commits a new revision with that configuration; supplying `flags`/`tags`/`meta` commits a revision with the updated header but the existing `data`.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationEdit"}},"type":"object","required":["application"],"title":"SimpleApplicationEditRequest","description":"Request body for `PUT /simple/applications/{application_id}`.\n\nCommits a new revision on the application's variant whenever fields other\nthan `id` are present. If only `id` is sent, the current state is returned\nwithout committing."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-application.StatusCodes.json b/docs/docs/reference/api/edit-simple-application.StatusCodes.json index e62734f03b..7fe983aa98 100644 --- a/docs/docs/reference/api/edit-simple-application.StatusCodes.json +++ b/docs/docs/reference/api/edit-simple-application.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"properties":{"playground_build_kit":{"anyOf":[{"properties":{"agent_template_overlay":{"anyOf":[{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-application.api.mdx b/docs/docs/reference/api/edit-simple-application.api.mdx index 133aea6981..06d7acdafd 100644 --- a/docs/docs/reference/api/edit-simple-application.api.mdx +++ b/docs/docs/reference/api/edit-simple-application.api.mdx @@ -5,7 +5,7 @@ description: "Edit an application and commit a new revision if configuration cha sidebar_label: "Edit Simple Application" hide_title: true hide_table_of_contents: true -api: eJztW91z2zYS/1cweGkyQ0uOk7h3updznWTsa9p6/JEX22NC5EpESgIsANrRafS/3ywAkqA+bdW9ie/kFw/A/cAuFovFD9CUGjbWdHBNj8oy5wkzXApNbyOagk4UL7FNB/Rjyg1hgrCWijCRkkQWBX4hAh6Ignuu8QsfkUSKER9XypEmGRNjSHs34kZ84pCnmkiTgSImY4LEPI0JF8RkQBT8UYE2ZCjTCWEKiFHADKSEaS9Fo+IbUSqZVgl41W4cSFcPokcuqrLMJ1yMSZwyw+KG32RwIzoD/AfRDbEU+YRkwFJQZOTG+ioe5Wys44jExv8vwLD49Y3Qhuc58YPR84544CazZlVlaq3wcoeVcaOAb1ybdog9go7GNjKFzo4FKyAmXJOkUgqEySc3IuWaDXN0jkDDTaWEJvG7/f24RyMqS3DWnaZ0QCHl5k7zoszhLhBMI1oyxQowoDAOphQV0QENaO54SiPKMQ5KZjIaUZwlriClA6MqiKhOMigYHUypmZTIrY3iYkwjOpKqYIYOaFVZKYabHAmCcCOnKZ3Nbp1U0OYnmU5Q1LySRAoDwuCnYHD9rxojdBqMoVRouuGg52ix2Y1rH4xG+uDouWAsKm1IwUziZg+tXhZPNuhWTTozZGWM+Xjqu3Dqu2gK5D02gMh8/OB0dqy3iqwbxOS3kZ3gLgHXd3Me8lM4lDIHJoI5O9XkqBM5KYxYlRs6GLFcwyxCYXDP8ooZqTaJ+tgQLhekBS9LMJvEXHiy5UIKJtgYQ2i9kF882XIhSaWNLDbJOHZUy0Xk+Ub+z/kq5kzK3zdxnyDNiuHLFDYOHmlWudAk2WYHItFyASOAdMiSjSZ8qul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z94lR0csIwd0AZbdxh6w8LHYf3ZoNttYLVBTSsTmx4t/LIDLLRhtQ4SNF+EIPxM4zJT7WzidjSMHJ4cL+9c2z9hZmaJS0RVWLufa9uqOdZMLYSDc5eXqQWW/1b/gmmkBuLpfv9Ffx+bCmVszmRLhHu46pecpdswnUpgvW7s3ro+wbeuIW/iarVXCMZlq4Tkl4Jv1C8FtHMXC0+hg4WnrlcRHStjsctsNmQGLrSYz7H5jxI0pverAOwMMf6/zWilW5081sbWs9OwbD4n67SulgCJ+R9zMX7RiN7AdPlZrttajKtVZhaIjry8ntsANEyW9kO4vPkeh0kCrr6ynvaqtcaeXJzTiA7DQ93cZXGq2S3uC9it11cV3sH4khfbZlQwOSpxBzOgniX+/QeohcOs sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-simple-evaluation.RequestSchema.json b/docs/docs/reference/api/edit-simple-evaluation.RequestSchema.json index ed41345a0e..f2045ffc8c 100644 --- a/docs/docs/reference/api/edit-simple-evaluation.RequestSchema.json +++ b/docs/docs/reference/api/edit-simple-evaluation.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluation":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationEdit"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluation":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationEdit"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/edit-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/edit-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/edit-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-evaluation.api.mdx b/docs/docs/reference/api/edit-simple-evaluation.api.mdx index 891a46b5dd..c19fe23c35 100644 --- a/docs/docs/reference/api/edit-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/edit-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Edit Evaluation" sidebar_label: "Edit Evaluation" hide_title: true hide_table_of_contents: true -api: eJztWutzEzkM/1cy+gQzmzaUUu7y6UJbpj3g6LWFL51MR/E6jTnvAz8KuUz+9xvZ3lc2r/Zg5g7ClxKt9LOklSVL6xkYvNPQv4HTe5QWjchSDcMIspwr9+s8hj7wWJhbLZJc8lteMkIEOSpMuOGKMGaQYsKJvWS5FTFEIFLoQ45mAhEo/tkKxWPoG2V5BJpNeILQn4GZ5iSsjRLpHUQwzlSCBvpgrUMxwkhiqDTtnMcwnw89KNfmVRZPCWlxDZalhqeGHmGeS8Gc9P4nnaVEq1TIFdltBNf0q2Zp69lYOr/NANPp+7Ezvskg9K0U97xm2CjLJMe0Zsm57rwlnghiPkYrDfTHKDWfRySOzGwBMPBcyyGYzDS5YT3EsedaDvHZcrtRiT8d0wodkE220MFzLYfQuRRmE8KVY1oCMEFnhQovZiXGGTpDHN8KGMO10dxs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5i4TydtN3pHdMSrhlxbHtZjXOGFzjUyx/zEc8ZM+qmOyrHlX3JZjGKzlGX95vH9+hb6z6jq9c7OSvyL6hblec2FewaY+cXV9fNADt/qhuDBwVDk7L13xCppaxby/x0KW596OWZEz27Z2g/WJIJ/dXlds/ayyfmLjLbghpEaAcJNy8bPtzqVQix/v7TO/RINb+HtyySMEecMs4RQyqBVepAZlcnL9h6RkDnwkyvpmWGa5wj9pdV2XL3xQk/A1D37nbShOtlrHgXzNjzW2lpZVC5+DuvywuGJ3eA9pMGheE8hlkPms0w4vK8LCgZLPAguJGeyUWN6orKG7y5giVSVqJVozFykQ34qrxuYFViVqePZXI2RSpRHIzoRLFjniyoY8buRTziLyJLg5ddeflZGw6yPMF/PZicXQ4fPHy2cvh4Yujg+H8+YIOD+jvR88XR0ewgCNSaijKH4aL7iDrAqolflF33/RbZ9qoWvsLtlR8/YUblVJ/0bzGGDWKhHIxMKql8lEtD49skODRIi4Hwok5pIPJxXnjPVYeYVIBamJoduLMY+LVjn9x6rFAC01KIYpB+Ef+pNJAktHes70RkpJYKjefdEs0Y1ht9OKCAYbo/SQAbpKI0WflotsNsdGNlD9CYMc3rt5vnHpkGUuFAqvVHCT7IIL1Gslmn2GA8sgdCA5z9NvNivhc4v+Lo13TLU/D5MmlyxRPB8W8q6pzFtUiDGmoGP4iHvmHpY2rmCaZLrO4uXI8x3a5oUl5BUajAsCAbSUmlLJEbeSdlrLGxeT6+Ix4ZO7uZ4axj0ICvmAuhC9W4TixDsYLnEhbkQCiW41Ze0wsKP77F5MRnhY= sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-simple-evaluator.RequestSchema.json b/docs/docs/reference/api/edit-simple-evaluator.RequestSchema.json index 0025b26c7d..df97696882 100644 --- a/docs/docs/reference/api/edit-simple-evaluator.RequestSchema.json +++ b/docs/docs/reference/api/edit-simple-evaluator.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Simple evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorEdit"}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorEditRequest","description":"Body for editing an evaluator via the simple surface."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Simple evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorEdit"}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorEditRequest","description":"Body for editing an evaluator via the simple surface."}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-evaluator.StatusCodes.json b/docs/docs/reference/api/edit-simple-evaluator.StatusCodes.json index 08c2b6a232..d50b7d8e32 100644 --- a/docs/docs/reference/api/edit-simple-evaluator.StatusCodes.json +++ b/docs/docs/reference/api/edit-simple-evaluator.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-evaluator.api.mdx b/docs/docs/reference/api/edit-simple-evaluator.api.mdx index b44226fda5..da8da1e899 100644 --- a/docs/docs/reference/api/edit-simple-evaluator.api.mdx +++ b/docs/docs/reference/api/edit-simple-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Edit an evaluator via the simple surface." sidebar_label: "Edit Simple Evaluator" hide_title: true hide_table_of_contents: true -api: eJztW9ty2zgS/RUUXjapomXHSTy7elqP45S9M7Pj8iUvjsqByJaIDAhyANCOVsV/32oAJEFdKEdxtuJZ5Y1Q4zT6AGg0jpE5NWyq6fCWnt4zUTKTK01HEU1Ax4oXhueSDulpwg1hkkBtQ+45IyYFonlWCCC6VBMWw+Cj/Civ8zJOQZMMDEuYYYTJhLx4SEGST/j9iXBNdFkUgkPyksR5lnGjCSMSHj5KBfdc81ySXFoHjcu/aXLPFGfSDMglSJZxOUUkA1mRK6a4mH2UCddsLCCxPhWYUklN3hwcDGhE8wIUw4DOEzqkkHBz50Z/1/igES2YYhkYUEjKnEqWAVrXFnc8oRHlSErBTEojquDPkitI6NCoEiKq4xQyRodzamYF9tVGcTmlEZ3kKmOGDmlZWhTDjUCDhnlyntCqGjlM0ObnPJkh0KKLOJcGpMGfGNIY27D2P2ucrHkwgkJh0IaDxq82zOF8YYKv3DS284v0kILNRM4S5NsOQHdnhHziyae1k0HquUDuuwOZCLvm5pTJ2e8Ty3PXgOu7ILCAy3GeC2AyIO9ck+PAFFfuhJXC0OGECQ1VhGCdyPugToOVsApIS14UYDbBXHmz1SAZk2yKs9kP8ps3Ww0Sl9rk2SaME2e1GkKIjf1/Fes6p3n+x6beZ2izZvh5AhsHjzbrKDRxuplANFoNMAFIxizeGML72m5NGCnbuBhO0GZF95Tpu1KJ3u5nTJMbJdZ1d1t4I8KVM1sDkjKZCO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4af5nwQQTD9n4hGJeBmuNi4i117tDgk6imER12/jEximiaa4Pm8/mYabhRoqqw+I8SFMa5kc+wxjgVbue07lWzjtYS/cL/OSF5Sdb1uI6FEgMh9gufaES/wGzxvx12d03rYDv3JieutT27B7YQSykBRnlX4ziOwYoc621HwTZzcXNNIzr2//fIbDijij3g1sgeXG9z67xdd7ZsTgWT0xI38SF1kPj7L5o23FI= sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-simple-workflow.RequestSchema.json b/docs/docs/reference/api/edit-simple-workflow.RequestSchema.json index 8975b3603c..1a62814692 100644 --- a/docs/docs/reference/api/edit-simple-workflow.RequestSchema.json +++ b/docs/docs/reference/api/edit-simple-workflow.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Simple-workflow edit payload. Updates artifact-level fields and commits a new revision when `data` changes.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowEdit"}},"type":"object","required":["workflow"],"title":"SimpleWorkflowEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Simple-workflow edit payload. Updates artifact-level fields and commits a new revision when `data` changes.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowEdit"}},"type":"object","required":["workflow"],"title":"SimpleWorkflowEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-workflow.StatusCodes.json b/docs/docs/reference/api/edit-simple-workflow.StatusCodes.json index dbfc15cc3b..7a2b42e02a 100644 --- a/docs/docs/reference/api/edit-simple-workflow.StatusCodes.json +++ b/docs/docs/reference/api/edit-simple-workflow.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-simple-workflow.api.mdx b/docs/docs/reference/api/edit-simple-workflow.api.mdx index 5066c824dd..5dd5b32124 100644 --- a/docs/docs/reference/api/edit-simple-workflow.api.mdx +++ b/docs/docs/reference/api/edit-simple-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Edit Simple Workflow" sidebar_label: "Edit Simple Workflow" hide_title: true hide_table_of_contents: true -api: eJztWtty2zgS/RVWP81UUbbjJJ5dPa3HScremdlx+ZJ5cKlsiGxKSECAA4B2tCr++1YDvOpCOYpmK95VHlwh2H1AHACN7iPMwbKJgeEd/KH050SoJwOjEFSGmlmu5EUMQ8CY23vD00zg/VNpBiFkTLMULWryn4NkKcIQKoN7HkMIXMIQMmanEILGP3OuMYah1TmGYKIppgyGc7CzjFyN1VxOIIRE6ZRZGEKeOxTLrSCD6huDixiKYuQh0difVTwjnMUeIiUtSkuvWJYJHrkxHX4ySlJb8wGZphFbjoae6jEO5xCjiTTPyA+GcO1IGFQGATETZGwmFIsPgtssZhZNwLTlCYvsQOAjiiDhKGITMBkHkUpTbk3AAolPgcZHbriSwdMUZfAQM8segmjK5ATNARHc+apEuJmaA5Oz3xNHedeAm/vWKFu8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t3mDtvqIcMzU+GzTD9KfmF3IxTXYPRwevDo6oqMiVTjHzmljjJBa0RbfnyBEeFgJ55ska1oHcgXUg0N4MKghh6P8hwCiEaa40Gc/nY1TsVoqqouI/SybJKYxcpDEm4u7mEHNF/99uooV+NQcdfHflfPH3QRuAdftbO46MvAZtYvqCED6z2cJfLJjDalo7prmzOLONDcyR0iIsnbDkEW2N0yhiJtVfbzvyHPLl7Q2EMHZ/xpCavQ8SaT7oX9PZ3IzdLFJTNgeB2aSkM3EIFpL++w/zFCLp sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-trigger-schedule.ParamsDetails.json b/docs/docs/reference/api/edit-trigger-schedule.ParamsDetails.json new file mode 100644 index 0000000000..18752008c0 --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-schedule.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/edit-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..dfe6157cc4 --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"schedule":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerScheduleEdit"}},"type":"object","required":["schedule"],"title":"TriggerScheduleEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/edit-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..801282857b --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-schedule.api.mdx b/docs/docs/reference/api/edit-trigger-schedule.api.mdx new file mode 100644 index 0000000000..a4964fe990 --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-schedule.api.mdx @@ -0,0 +1,69 @@ +--- +id: edit-trigger-schedule +title: "Edit Schedule" +description: "Edit Schedule" +sidebar_label: "Edit Schedule" +hide_title: true +hide_table_of_contents: true +api: eJztWl9v2zYQ/yoEX9YWspO4TdoJw7CsSdGsaxsk6R6WGgYtnmw2NKmSlFPN8HcfjpRkSY7dJMuAYUhfmpB3v/vDu+OdmAV1bGJpfEkvjJhMwFg6jKjOwDAntDrhNKbAhRu5sD2yyRR4LoFGNGOGzcAhT3y5oIrNgMa0IhgJTiMqFI1pxtyURtTA11wY4DR2JofIU84YjRfUFZlndUaoCY1oqs2MORrTPPcoTjiJBOclNjnhdLkcBkiw7lfNC8TpSki0cqAcbrEskyLxRu18sVrh2kqBzKDJToCt1r2Nazup9N7qLgs7YokTc2gYM9ZaAlMN7U8sOQxUEeWQsly6oOhyGVVcevwFEtdgKo+lsvyNVwDpS0WYKj6m3v+Mc4HmMXnaUm5F0dFsGXU9jys3w9BEmCSXzDz5nY1B/ma16p2oLHdPaVd3PJdK+w4xXTO0oYPKpWwxX5SmzsCxe5rasKtcEcrBBExb8GzcXml66Hv+eJPL7e6IFlQ4mN2OiRnDiq1eabPezaPv0ZPLqEzVW/lrDeMD8i4xgm1iRIauuS/UUQNiGVHBtwF1q8I2YCwPEeXM3ZDcMAflRldQ3FR4KoBjJCLvAI+iVQ42MVT56ekdM27kxHYfN+zhzEHP028z6hxhyUUgo6D4w4s4VrwWIDC87CgVIPmtKk0ouRuD8Rbx4CPakjdB5BLLewoGVNLN7k353z7pORj7D6Lzj5IdT1Tmk/vCnCPvg0f3lhvjrHLa3WrD2crXaDFISJw2bZ3b/i1z6D5OKTPLNwb3hDhF3m1+OK9M6NSqeoOk2hD45gze3WpCbAaJSEVCsHCQ1OgZAeUEmtv/rD6rU8kS4IRJrSZWcCC1yzyS56rgtAoAdQTzNlaI8fiz6pFnz66gePYsJm9QHTUXRqsZlh8Dc4ERaIlWsuiTD2wuJsyBJU57af1VfvR/uoLi5+izIiTVUuprS9wUgsy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J5NM+GrltVmUtl/SKpUax4U/x833+GFEp9o6JF8sxszCJyOXS1z+moPB9BhGdM6MYGP02eWCcmHxZ07jlEkLa5rV1Z4+OSsL0lOy+ijS1rhKIYX5M2cyx99oVJ1mQ1FfsadVilbn/ToI6/m6ukJYu2awNgSOwySBzG2lHTaK0+mnCxrRcfnXBDPNkcWwayy37Dooq73tPln92oJKpiY5XgwxDZD4729GG3Q3 +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Edit Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/edit-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/edit-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..1717ea76d5 --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"subscription":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"TriggerSubscriptionEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/edit-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-trigger-subscription.api.mdx b/docs/docs/reference/api/edit-trigger-subscription.api.mdx new file mode 100644 index 0000000000..b69bd428c1 --- /dev/null +++ b/docs/docs/reference/api/edit-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: edit-trigger-subscription +title: "Edit Subscription" +description: "Edit Subscription" +sidebar_label: "Edit Subscription" +hide_title: true +hide_table_of_contents: true +api: eJztWl9v2zYQ/yoEX9YGspOmbboZw7A0SbGsaxskaV8Sw6Clk82GJlWScqIZ+u7DkZIsyY7teOlQDOlLKvHud394d7yjPKOWjQztXdFLzUcj0Ib2A6oS0MxyJU8j2qMQcTuwfnlg0qEJNU9wlQY0YZpNwCJf72pGJZsA7dE60YBHNKBc0h5NmB3TgGr4lnINEe1ZnUJATTiGCaO9GbVZ4tit5nJEAxorPWGW9miaOhTLrUCCixo+OY1onvc9LBj7VkUZYrWlhEpakBaXWJIIHjoDd78aJfHdXIlEo/mWg3Hv6/YurMbCea/9mpsBCy2fQs2ooVICmKxZcWrIoacKaAQxS4X1yuYBIkyZ4NE6gC+OaCm/BWPXsV8iTY07ZsJAngclkxp+hdDWeIooqW/AO+cD5Cl8wWT2KXbhwKKIIwkTZw3/zClayuVBOwjwzXIYGnIdpoLpZ3+xIYg/jZKdU5mk9jlt64/hUVrQIqYLxtZ0kKkQDebLwtQJWLalqTW7ijdcWhiBbgqeDJtv6h5a5493qVjtjmBGuYXJZkxMa5at9EqT9WEe/YCezIOicmzkrwWMj8ibYxg3UnUbqOMaBKZRtAqoXaBWAWOVckVIQliWxQdUvKOKkXikiNkl1QqmIO3gBrJl2CXWCRKR95C5nSrqeqhkzEebxLQvpw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pe8j+ABaBpr2rfp3gAiPVx16TrNovlnA8vcrpjR6mdqw0/5sVBruPwmPPhS7CHDiff8U9uWOTRMCyr7DV7UrtPsU3VfPrkerZX3f4C4zqLmI+qFfT5TxMm3tVvUZU+jJmP7+OD151Xr958abz6vXBfmf4Mg47++EvBy/jgwMWswO60Glvyla2wbXGt5Y97d52Se/ZbgVbDUoLsYixsjS4QOUyVvVkPHQhQg7PThc801jCwsZCl8flfrtlGrSCbx5zNKAwcWWNWmCT36sVzMKqJ6V73RfdPdcEKWMnTNZELMuj1pxfBCMWit1EMO5KmdNoVth/VXrW0OYFHz732j9m6Ad0rDCiruhsNmQGPmuR5/j6Wwoa86Yf0CnTnA3Rf1czGnGD/4+KIFzQsDoS6LPzomo9J/MrlqbmZW5JTKwpEyk+0aDc2ZayrrSPy/wt9//IC+y4AjxHWTiPsHB4jsMwhMSupO3XKtjZ50sa0GHxU4yJipBFs1usy+zWK6wKF+NvNfDdjAomRymeID3qIfHfP3Hz+AE= +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Edit Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/edit-webhook-subscription.RequestSchema.json b/docs/docs/reference/api/edit-webhook-subscription.RequestSchema.json index 815babeb4f..75d9aad01f 100644 --- a/docs/docs/reference/api/edit-webhook-subscription.RequestSchema.json +++ b/docs/docs/reference/api/edit-webhook-subscription.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"subscription":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"subscription":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-webhook-subscription.StatusCodes.json b/docs/docs/reference/api/edit-webhook-subscription.StatusCodes.json index bedd7f2965..7e5e0d98fd 100644 --- a/docs/docs/reference/api/edit-webhook-subscription.StatusCodes.json +++ b/docs/docs/reference/api/edit-webhook-subscription.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-webhook-subscription.api.mdx b/docs/docs/reference/api/edit-webhook-subscription.api.mdx index 88a8db163c..e092969299 100644 --- a/docs/docs/reference/api/edit-webhook-subscription.api.mdx +++ b/docs/docs/reference/api/edit-webhook-subscription.api.mdx @@ -5,7 +5,7 @@ description: "Edit Subscription" sidebar_label: "Edit Subscription" hide_title: true hide_table_of_contents: true -api: eJztWttu2zgQ/RVinraA7DhuLq2eNr0EzbbdBknaAtsYKS2NbLYSqZKUE69hYD9iv3C/ZEFS1s2y4wQp0O66L004w5nhcG5H4Qw0HSnwP8FHHI6F+Kpg4IFIUVLNBD8JwQcMmb66duQrlQ1VIFlqqOBBSiVNUKM0MmbAaYLgQ5XpioXgAePgQ0r1GDyQ+C1jEkPwtczQAxWMMaHgz0BPU7tdS8ZH4EEkZEI1+JBlVopmOjYM5xX55CSE+XzgxKLSz0Q4NbKaWgLBNXJtSDRNYxbYA+58UYKbtdKIVJrja4bKrlfPu0SNYuu9GVA+fRdZF9AwZIaZxqc11pIjP+VQiBgph7nXPLhZaRcDAZNBFlP5yxs6xPg3JXjnhKeZfmS844SI4RcMNBiXLPzVYIb5EnNpA8/iuLb52J7RbPnvn/UiP2qCmt7zqJVz5SuMaxyhrCtOhvWVqodu88dxFq93hzcDpjHZbBOVkk7XR0Bt6908+tZ4cu7llWEjfy3J+N3snXsQYi0V7yPqRUXE3INAItUYXlG9TmClEIVUY0cza89qLc+dWHJknZWl4fdQ8t6JzZWEGON3UPLCic2VLNw1nJqqvpkeW7o3cdazqS3lpb8eVMvCW4WWhcMeVMvCXYWWhxOdW011S5PKZNzWPhN68wb5SI/B7/eePPYgYXyxsFvVLVmlub6XsdE0Rhratr5JFWwm4B0KxKtcz9wME9NY0PAqYhiHG2l2rX1zZadOAzl2GuYe0EyPrx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5tvWyH82Qfd1Brb+iRebWE7OxK8/Ql7d3xwP6xplf8nmxUW+R26HtrnjutmBXmPxweXmxIdDFRzMw8FKEvG1+ys/AzCR+78fFB+5jfUiP1gniqNFKHC1b3/hXFA+Xmq9fAthOkx6xnNstd//OjMl1eHQERT9KZRH32RSEYX3GHePYHtBCcbOwQkYX5z/BwjV+NPw49hneYqS62GuyVfvFcv4ToAfLVwmjRhtWvklw3av1Kp6BN/Ujghe3LMtT6HoEUN25eLcs9takugCpbwcqSFuHYXMvqmEfY9LhYHjSGzzuDb+7PD4NT4/D4ZP+4PHxr7QJE3fx+UhvF18LrNFHCXtympyd9E4fHz/unZyeDXuTR0nUG0bfnT1Kzs5Yws7oBvrad1oLTu077V4qSuzjgq7ybw1UuiBEs8Vv9O+NPvyu5nrsVZkq6dksk0g/yYxs6JPRxflGRDRImLBZZPPTOo4tGXegcajqs4QmZzZdUwMs+76iYHbBE+rUDPrH/YGFU1KbjAlPRVd+aF2qlIcME+BRnjJuU3SJL13uqD1Fm9eZ+H/YfiM0DuhMaoPTlssJ0/BOpasVDmMviflgHNA5Uxx7GpsdYq7x75iGCUs1bFhYlTr6zZsyG39L6vuspuXrnCEwYcyxEaQhpQH9DIuOB022ZM3WeWlZcj1zCntla7qWslFnMSG6GaMogtzs5B17mfni3SUN6KR84VRGqmI3WG/YjTNYli7GJ1A4tqQpE9MCK2NInUj8+RsB8jhk sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-workflow-revision.RequestSchema.json b/docs/docs/reference/api/edit-workflow-revision.RequestSchema.json index 7c2f0d2410..24fa9002be 100644 --- a/docs/docs/reference/api/edit-workflow-revision.RequestSchema.json +++ b/docs/docs/reference/api/edit-workflow-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision fields to update (lifecycle metadata only). Data and configuration are immutable — commit a new revision to change them.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowRevisionEdit"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_revision":{"description":"Revision fields to update (lifecycle metadata only). Data and configuration are immutable — commit a new revision to change them.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowRevisionEdit"}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-workflow-revision.StatusCodes.json b/docs/docs/reference/api/edit-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/edit-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/edit-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-workflow-revision.api.mdx b/docs/docs/reference/api/edit-workflow-revision.api.mdx index 8e9ecd54cc..58f9a8cda8 100644 --- a/docs/docs/reference/api/edit-workflow-revision.api.mdx +++ b/docs/docs/reference/api/edit-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Edit Workflow Revision" sidebar_label: "Edit Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztW21vG7kR/isEvzRB17Lz5ruqKFCfkyDuJY3hl+uHxLCp3ZHEhEvukVw7qrBAf8T9wv6SYsjlvmhXq1hRgMPV+ZSlhs+Qw5nhDGe8pJbNDB1/oP9S+vNUqDtDryKqMtDMciVPEjqmkHB7fVf+fq3hlhuuJI1oxjRLwYJGhCWVLAU6ph3Ka57QiHJJxzRjdk4jquHXnGtI6NjqHCJq4jmkjI6X1C4yxDBWczmjEZ0qnTJLxzTPHYrlViBBWC45K5mQk4QWxZXHBmN/UskCAVdZxUpakBZ/YlkmeOz2uf/JKIlj9UoyjVKwHAx+dbc/XtIETKx5Zt0nrVYy5SASQ6wieZYwC+SR4FOIF7EAkoJlCbOMKCkWj0fkJf6fyYTESk75LPdiJ0wD4WmaWzYRQP77n99IrNKUW8KIhDsSFoE84jmTMyB2DukIz6S17Klwx7ukTC7eT90ptQm4uW6IoXECE6UEMNkQ+YkhRw3SiCYwZbmwdDxlwkARIRjcMpEzq/QmqFcVYT+QkTzLwG6COS/J+kFSJtkMz34Y5F1J1g8S58aqdBPGsafqhxBi4/y3Yt3kuVKfN81+gzRrlq8S2Lh4pFknQhvPNwsQifoBpgDJhMUbt/A60K3ZxpxtVIZjpOmZPmfmOtdicPobZsilFuume0PfiHDuydaAzJlMBAybBqK8Kek6MEUUJq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sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-workflow-variant.RequestSchema.json b/docs/docs/reference/api/edit-workflow-variant.RequestSchema.json index f38cc970f3..f8a988c4df 100644 --- a/docs/docs/reference/api/edit-workflow-variant.RequestSchema.json +++ b/docs/docs/reference/api/edit-workflow-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_variant":{"description":"Variant fields to update. `id` is required and must match the path parameter.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariantEdit"}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow_variant":{"description":"Variant fields to update. `id` is required and must match the path parameter.","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariantEdit"}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-workflow-variant.api.mdx b/docs/docs/reference/api/edit-workflow-variant.api.mdx index 501d3b39aa..0f877b275f 100644 --- a/docs/docs/reference/api/edit-workflow-variant.api.mdx +++ b/docs/docs/reference/api/edit-workflow-variant.api.mdx @@ -5,7 +5,7 @@ description: "Update metadata on a workflow variant." sidebar_label: "Edit Workflow Variant" hide_title: true hide_table_of_contents: true -api: eJzlWdty3DYM/RUOn5IZeddxErfdp7pOMnaTtB5f2gdnx8ZK0IoJRSokZWe7o5l+RL+wX9IBdV3tLXbcaabxk5cCDkAQPICgOXcwtXx0yX/X5kMs9a3l44BHaEMjMie04iN+kUXgkKXoIAIHTCsG7LaSZzdgBCg3eKfeqfME2bWIrplQzCXIJjqasTS3jqXgwsSvZeASloGBFB2aATvFG2GFVpZwXYLvVIXIwCBT2jGIYwwdRuzvP/9ioU5T4RgwhbfMVLrMaRYmoKbIyEPvyxniiF3+hoYEhJqOHw0NxmhQhTiETOxMcxHh8KYReDzgAdcZGqB9H0d8xDES7qre6VXlFw944z6Fbs4VpMhHvC94JSIecEEhpE3zgBv8mAuDER85k2PAbZhgCnw0526WEYR1RqgpD3isTQqOj3ieexQnnCSB+pjYb1WQjiNeFOMSGq37SUczwutbCrVyqBw9giyTIvSbHL63dMLzjiOZoRA4gZZ+Le19NO8lR+1HLFBGlg4i9+kyqBLBstoVBirakgwU2gX7sfTpOeegZr/GPtiLAsJedfbTieREa4mgOqE7tuygI0pZHkMuHR/FIC0WAYHhDcgcnDbboF42gquBrBJZhm4bzFkl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rq8vtgCr+EjRJhnNocm1oBoiz/i0DkEz9TFopuuB2XPJA25Q39dTaje/4TT6dgda/Uyszc1sOsViEsqsiCZuTgUTEJXgnDDCQgu7ciAnF+c/4OoMIaIpzM28K3BFcVhF1qZYcxqQix+Q+PET85PCJpkW/6hbSzcrT6pdRABF+GU72H7/FdJc4thguul6+92taw37fWq72PSc7VIzeG2X6jFqu+Kmou3Pas7Z2eAGl11MN4lsF9rJYrvmx4Qd46qxXwfWjfH872Yu1/ldD9o6S83YrIPrZ2B17+173rYhbLqY9ipuJqpmmTI2fx3Dn97Gx28O3n736ruDN2+Pjw4Wr+Pw4Cj88/Hr+PgYYjh2ZypUnHUvrpt5Aju5ON/SsPGIkiCE7qDr6HGPedAL5TaCecAxdSmQW4T0L80TurH+ww+f8cPJq8khLeWZsSmojgp6x2f9by59O9dtgv5DfSvzl5rS6TSXIFzC91PiKle18xSahtbZigd8NvStbB7wJDOWtq3XCzD4ScuypOVfC9SUf+YeZEGRc7PmkTD0f3tPR8/lxaXP7S/ZmOV1jlIrZ6ss6BcP+BdcjXzcc0UwqXPh2kueVkoPXKlqkbYqNyXhasdJGKKbeY/LzjvV4OLTNQ/4wn/pS12a4RoeqILBQ2V05jhw2dCtrbkEtSyo1s54BUl//wHA51qG sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/edit-workflow.RequestSchema.json b/docs/docs/reference/api/edit-workflow.RequestSchema.json index 22ef100706..3a977bab08 100644 --- a/docs/docs/reference/api/edit-workflow.RequestSchema.json +++ b/docs/docs/reference/api/edit-workflow.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Workflow fields to update. `id` is required and must match the path parameter; only supplied fields are modified.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowEdit"}},"type":"object","required":["workflow"],"title":"WorkflowEditRequest"}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Workflow fields to update. `id` is required and must match the path parameter; only supplied fields are modified.","properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowEdit"}},"type":"object","required":["workflow"],"title":"WorkflowEditRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-workflow.api.mdx b/docs/docs/reference/api/edit-workflow.api.mdx index c3174d15d3..698315c914 100644 --- a/docs/docs/reference/api/edit-workflow.api.mdx +++ b/docs/docs/reference/api/edit-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Update artifact-level fields on a workflow." sidebar_label: "Edit Workflow" hide_title: true hide_table_of_contents: true -api: eJztWdtu3DYQ/RWCTzGg3XWcxGm3L904NuzWaQxfkgd7YXOl0YoJRSokZWe7ENCP6Bf2S4ohddu7bThoUCQPRkTNHJLD4Zmzoym1bGxo/5J+VPpzLNSdocOARmBCzTPLlaR9epFFzAJh2vKYhbYj4BYEiTmIyBAlCSN3pXP3Sl7J8wTIDY9uCJfEJkBGKpqQNDeWpMyGiRvLmE1IxjRLwYLukvdSTIjJs0xwiK5kic00kFRFPOYQdcmekjEf55rhssiz2tsE5OL0OCAmTCBlZosIfgu4sCup4ZYbrqQh//z1NwlVmnJLGJFwR6pXxCoSJkyOgdhEGXBbOAPok8s6JMNnPQ0xaJAh9FjGO+OcR9Crdm22git5+QE04nE5XmF+WxtsdWlAVQZ+K0cR7VOIuL2uAGlAm93R/uWUSpYC7dPK4JpHNKAcDwcjSQOq4UvONUS0b3UOAfXBoP0ptZMMXY3VXI5pQGOlU2Zpn+a5Q7HcCjSodkuOIloUQw8Jxr5R0QRx5mcIlbQgLb5ieG6h20zvk8GcmbYWkGncquVg8KneY386l2b1AsrTt4rkLvO6ZToZUq2BMBmtT6lfiGqnFFmWURjmmbXFSkSgMbi4KTl5H7vgr49gEdQWMheCYuiqmB44QBfRgMbCXbU28uz03Fy3Itk6u5FSAphsHdaRIYOWKd7YmOXC0n7MhIEiQDC4ZSJnVulNUPu14XIgI3mWgd0Ec1aaLQdJmWRjiDaBvCvNloOEubEq3YSx562WQwix0f9YrHJOlPq8yfsQbVYsX0WwcfFosyqENkw2BxCNlgPEANGIhRu3cFDZrdhGwjYmwx7aLHFPmLnOtVjrfsgMudBilbsnjY0IZ95sBUjCZCRg/dVAlMPSbgGmCCpHNfoEoV1CpQfuxs+X02MYs3BC4lyIunASJAdiwHa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QyfRmzn17HO686r9+8eNN59XpnuzN8GYed7fDnnZfxzg6L2Q5taOB5reuE4rxqrQcrBVoPVX3FeqjsEtYjrulXP/o2XmOC68s1MV2jrR6oG2f1WNEFayzOd7UasK5LVTxXbafGc9lHagxVXaEGbtHiKZV4IYBrdVhJmvqSzqawavjhZzR1dzpWzSvtWnqM7J4cLXiYeYXpkYUuG5SB5l7TYC7q62CnAYXUJUdqgaW/Vm/wLhdfTmifbnVfdLdwKFPGpkw2XOAPW/Kp/oIyJ9CqlP3jc9Y3+ZxVZBhM5b1MMO6KTdFm9Xmy7ktgO7Hf/JY1CGiijEWbyWTIDFxoMZ3i8JccNGa+QUDvmOZsiIF4OaERN/j/+tqvPO6N06KIbJJVyyyzo8TUiGkHn2hAb2E899HNVdmkzL6TwmLPO+u4WlgjLEgDTPt+xm4YgusMr7YdNMrNycU5Deiw+BKXumxFNcMwx79uscrt3SVVNzahgslRjsW8Tz0k/vsXbMVQWw== sidebar_class_name: "put api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/export-mount-files.RequestSchema.json b/docs/docs/reference/api/export-mount-files.RequestSchema.json new file mode 100644 index 0000000000..7ee040e7d8 --- /dev/null +++ b/docs/docs/reference/api/export-mount-files.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"mounts":{"items":{"properties":{"mount_id":{"type":"string","format":"uuid","title":"Mount Id"},"prefix":{"type":"string","title":"Prefix","default":""},"path":{"type":"string","title":"Path","default":""}},"type":"object","required":["mount_id"],"title":"ArchiveMount","description":"One mount to include in an archive. `path` scopes it to a folder within the mount (\"\" = the\nwhole mount); `prefix` places its files under `prefix/` in the zip (the folded drive layout)."},"type":"array","title":"Mounts"},"filename":{"type":"string","title":"Filename","default":"files.zip"}},"type":"object","title":"MountArchiveRequest","description":"Zip several mounts into ONE archive (the drive folds cwd + agent-files into one tree)."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/export-mount-files.StatusCodes.json b/docs/docs/reference/api/export-mount-files.StatusCodes.json new file mode 100644 index 0000000000..2c8c80e1d7 --- /dev/null +++ b/docs/docs/reference/api/export-mount-files.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/export-mount-files.api.mdx b/docs/docs/reference/api/export-mount-files.api.mdx new file mode 100644 index 0000000000..03b933e746 --- /dev/null +++ b/docs/docs/reference/api/export-mount-files.api.mdx @@ -0,0 +1,67 @@ +--- +id: export-mount-files +title: "Export Mount Files" +description: "Export Mount Files" +sidebar_label: "Export Mount Files" +hide_title: true +hide_table_of_contents: true +api: eJyVVm1zGjcQ/iua/ZRMD3CwTdrrdKa0dSaeJDVju/1QzBih2+OU6iRF0mFjhv/eWekw4Bfa8uXutM+uVs8+u2IFgc895GP4YhodPEwyMBYdD9Lo8wJywHtrXLityXxbSoUeMnD4rUEffjHFEvIVCKMD6kCv3FolRXTvffVG05oXFdac3qyj4EGip686bZmvQAas/SuAW1nQe1hahBx8cFLPIYPSuJoHyKFpZAEZBBkUAeI52HkB6wysw1Lev+S9QY8SIoMCS94oihcdeagOupF932mdbdBm9hVFaFmSDgui9/Eok22UoROVXGDMOEbzwklL1EEOFxpZdGLBMKmFagpkUjOuGU9+XTalPKfMC2PRMxmhnJVGFejYnQyV1CxUmzhvbuAG2E+0cqPvKqNaw9sf2TQxNWVWcRFDeRZrzRpNsVp7b8raiA/Ssjf0EjcrWOHkApniS9OEt13YksGd48un5fEEoPia13iI5w8bzC7XMbHug7Qvkr63UcvwZZLrM47/kpZ5XKDjKlHhmdTBsIvfzzYkp1Om49FZPRN3BfuO8Tnq0EkcRR+jkQWHSKenvLbFD67BuOCt0T4pu390RI/9dK4aIdD7slHssgVD9p+bax23Pen3nwf+kytZRDd25pxx/yPqk44sMHCpDrSsMmLPyvXyooR8/LTG6+xxReqAc3Swnrwum88mJUjCqf38kGa+oPd8jlsNvg6NZLBrsq4zkNo2kZCN+TwurDMQYXeIPJPar8TlffjXGUDcpPRb3M4s2JYoVeh1Kn5LJTik/Y/X16NnAZM+9oVxFoc7SzPzQzvcawyVodFvTeyZNAyhlzqkFzXfS9cCZODRLdD5WOLGKQJyK2N902cVgvV5r4dNVyjTFN3YOrzLZQJOKIZonAzLGGQ4Ov+Ey4/IC3SQjye7gCuSZRLaPuyxONzKT0h0pdECwyZUxsmHpB4qMqWUvIgPEvzl9jY7u+e1Vbh7O4137yE4Lvn3p+XgpHP6/t37zsnpoN+ZHZei0xc/DI7LwYCXfADbmwe2/MWTbofe7hijtEqzK71h5IgNR+fPhtaeidqYi6jazYGjGbIn7G9Jhwywjk0MAXn986OF8qBSpm2Ouu+6R/EuND7UXO9s8aJq9pJ8LAf1Rc8qLmPnxpRWLSHjDcOJFXq2oppkUJH08jGsVjPu8Q+n1mta/tagI5VMMlhwJ/mMyBrT3Kg2elnB37jcNKUOndjdBFdN0seTYUdCTR5DIdCGg9jJTneMLq6uIYNZ+x+oNgX5OH5HXc/vUu1NJCQKNq6tQHE9b2g+5ZBi0u8feDk+4w== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Export Mount Files + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-access-roles.api.mdx b/docs/docs/reference/api/fetch-access-roles.api.mdx index 1acb85213c..9b87aa73d1 100644 --- a/docs/docs/reference/api/fetch-access-roles.api.mdx +++ b/docs/docs/reference/api/fetch-access-roles.api.mdx @@ -1,11 +1,11 @@ --- id: fetch-access-roles title: "Fetch Roles" -description: "Return the effective role catalog per scope." +description: "Return the effective role catalog per scope (organization," sidebar_label: "Fetch Roles" hide_title: true hide_table_of_contents: true -api: eJztVMFuIzcM/RWBp7ZQx2mPPq0Pu22wlyDpnjJGhtHQHu1qJJXiOOs1DOxH9Av7JQU1juME6L2H+jKmSJF8j3w6gOC2wPIeVs5RKbC20FNx7LP4FGEJtyQTRyMDGdpsyInfkeEUyDgUDGlrMrEpLmVq2tjGO/1XDDKZLvEWo/+GmqqzpntK/KVkdKRG5vSZnHSNeY9uMBSF92bA0sZO02vIRSedNRh702Xi0ZfiUyxdY25erFqRa7PUt3FH/IjiR7PhNBqs4H52KQqnUKzx0YWp93FbgXUt/NRCZ5586B1ybzaJ29ilp0jcmb+//2UchkBcjAwoJhL1RpJhij1xzbCZQjAvvZngi7SxDGkKvaGvWXvXuHMFGWgsFHZUzA+FqI0dUVPYNYV45x2VxiUFIcSleZgzPFyC/7EBCykTV3ave1jChsQNDzPWB+WwgAWmklMsVGB5gF+vrvTzesJ3U72xmYK5PQWDBeWKomg45hy8q3UWn4veOUBxA41YvX3v1YXhhrUf8XMtLzSWfw8QnsiC7DPBEtKjrgIczwfIjPsL+xRgQbwEqms5d2o+KGgzb6+5raCP+rMwkgxJedmS3swoAyxhMfOzeOZH+SZWCRxg4lAjsoejfTYHkVyWiwVNjQtp6hvcUhRs0M+Ba83hJvayr0lWN9cfaf87YU8My/v1ZcCdsjbT8zrscAae/Ufag4WIo9qrSYbEJw2BBa8TG+ZbCtLHTarXT7ysanNmdXMNb5X8yqXjRVfH+1ypusG+gf2CFizQiF6dQji+O3t0TsrhXOaq+aW50qOciowYL0rMs7o9Mf+qu8PLwv3/5PyXn5zTngp9lUUO6KOOuq7M4SSxe5ix6+NTR722MKQi6jkcHrHQJw7Hox7/ORGratYWdsgeH3WH79dH+7ziKqgvtNf1dI6y6niHYZqV8uZVUqGdNf/b+z/gePwHSLd0EQ== +api: eJzdU0tv2zAM/isCTxsgJNmO3mXZsEfQw4pkPXVBy8h0rNaWNInOlhn+7wNlJ20K7A/MF0N8iPwe6oFxn6C4haUxlBJsNZSUTLSBrXdQwJq4i05xTYqqigzbA6noG1IGGRu/V4GiSsYHUq983KOzf1B69Q/3y8fHFNCQViH6BzL8eqbWH5YflU0Knfq22aiKkLtIWiWvuLZJUonigUplndp5rn84Kq3cmN7lNaroHZMrVSQsUw7dnyfdT6tUPuZMS+2OYlI3qxlo8IFiXm5VQgEVsanvMAO/E0gJNERKwbtECYoe3i4W8rtkZNPljqpr1HoqBg0mL8VSjiE01uQ584ckPT0kU1OLOVuOaLC5jrIP23GWZWrTvws4dqSBj4GgAL8TMmE4BzBGPD47TwUa2HJDWcZxU/VZQKtRbbXOoAf5NLTEtRde9iSdAbmGAuYjP/MTP1mbKJbpoYtNrggWBn061swhFfM5dTPT+K6c4Z4c4wztWLiVO0wXLR/zJcvr1RUdvxKWFKG43T4v2AhrIz2XZf0ZeLBXdAQNDls5LzuufZwsCBqsKFaPXQLSusrn9omXZV5OLa9X8NL5FymRF02W9zQpp0G/gP2EFjRQi1aSTNi+P2dEJ+FwHLOYvZktJBR84hbdsxGjVuuJ+Yvt+ifD/V9PdNKV6TfPQ4PWCTWZ4n6y5C2MlpTHmqnZaqh9Ysn0/Q4T3cRmGCT8s6MoLttqOGC0uBPNb7eDPllCDPhIR5HTGAri+wM23eisF69YjHl+I18+fYdh+AvyydDi sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -37,14 +37,9 @@ import Translate from "@docusaurus/Translate"; -Return the effective role catalog per scope. - -Scopes are `organization`, `workspace`, `project`. Each entry has -`role`, `description`, and `permissions`. Permissions are returned -verbatim from access-controls, including the `"*"` wildcard for -`owner` — callers that need to render the full permission list -should expand the wildcard themselves (see -`ee.src.services.converters._expand_permissions`). +Return the effective role catalog per scope (organization, +workspace, project). RBAC is an OSS feature, so this is served in both +editions; the frontend reads the `workspace` scope for the members UI. diff --git a/docs/docs/reference/api/fetch-application-catalog-preset.StatusCodes.json b/docs/docs/reference/api/fetch-application-catalog-preset.StatusCodes.json index 36dbdc740b..c9cb7a6a55 100644 --- a/docs/docs/reference/api/fetch-application-catalog-preset.StatusCodes.json +++ b/docs/docs/reference/api/fetch-application-catalog-preset.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},{"type":"null"}],"description":"Catalog preset definition."}},"type":"object","title":"ApplicationCatalogPresetResponse","description":"Single preset response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},{"type":"null"}],"description":"Catalog preset definition."}},"type":"object","title":"ApplicationCatalogPresetResponse","description":"Single preset response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-application-catalog-preset.api.mdx b/docs/docs/reference/api/fetch-application-catalog-preset.api.mdx index 57b9951be7..c3d63631b7 100644 --- a/docs/docs/reference/api/fetch-application-catalog-preset.api.mdx +++ b/docs/docs/reference/api/fetch-application-catalog-preset.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one preset by key within a template." sidebar_label: "Fetch Application Catalog Preset" hide_title: true hide_table_of_contents: true -api: eJztWN9v2zYQ/leIe1kLcHZa7MlPC5J2zbqtRpJ2D6mRMNLJYkuRKkk59Qz978NRlE3/iLKm3YABfUos3n13vO945N0KvJg7mFzBcV0rmQkvjXYw45Cjy6ys6TdM4CX6rGRGI6stOvTsdsk+4pLdSV9KzQTzWNVKeBy91+/1OfrGasd82cv/4NhNLry4Yc6wTEnU3rFMaNY4ZNIzEYXFUhmRs8JYJt7rQlrnmcWFdNJodleiZplF4aWeM6GZ2PjMCmuq1A/gYGq0YfEshwkUtIXrROU6E14oM7/uXAQOtbCiQo+WIrICLSqECfSQ1x9xCRwkxaMWvgQOFj810mIOE28b5OCyEisBkxX4ZU26zlup58DBS6/ow2UEY69xCW3L11Y6J76JjWlHUWdhRgiuNtqhI6XnR0f0Z5veiybL0LmiUew8CgOHzGiP2pN4ErbxB0c6q8SR2lKovewsZKbplKJ/Unuco00cPAkSuzl28+ymo7gwjc45uzm6YcaXaO+kC3zmWIhGeZgctTzGK/iml2+KQNi2H11g0/XtgFHw4xfdKAUUqt7DP0i33fHwcVCnCUTLgQge4C6QxiETHufGxp1szEqPldvXb3n/QVgrloP+nGygWw6FCuf//ihKdy1sVsoFZeAa9dYYhUInjp85dtzLJVQVQjlsOcFYzExVoc4fRjpPRA+DJQn5oFuJ6GEwXAjVCG/sQ1Av1oKHgZyWdY3+IZiLKLYHsuHR3H7AzCdqfxr7sVDm7qQrWi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YVA7est/Lyb9aTlp+z+7CQ+nhZ9I0No1n9Bg6EMADod80WlfhlZ54ljxr4/ur67EObme7q4nyfd+cYyF12NbRYP7dZzFpz3ZaOKnnat2e9y0fQ71AZWoka2Tvp+fP99u/d0LJvGujX1gbXtyP7P1y9EKGx+G6U9kWUCbbWv2SYzHbbXM2dP1mYtPRcqjcfKjD+h2dE3PcpOb9ooEMdkmr/f0WxNMKHbo1/zmB2YvlKXH52R+Md5p0xE3nfpRLn6brEHURup+Ksy4EQ8n16vJysgfY5UeFvjQ0LpnHiYgvYQyjJAfcKM5NRv1gxI1W6YykHXVJ6EarzVCjBQ4O7aKfrYQWgnBlCHX3s/S+duPRCJujTJkmPxJz1F4cCdkJzggja6z0ywByMjl/jcvuEQvjq1kqEIp3l3PbYus4iVq+DtOWOIE5aXxprPyr717DEKZrVAKbUhcmDf9JcI6dTM73DuPWEh0lkfnNSCIuA9/Z9ma39NSuwkECj6L6eb1CcV83OXB89OzomD7VxvlK6MREN7BLqgjrC9Gkn3btzDbWJ/7/OeyLQaWDNqqVkDppVLssvkormYMwZCFGSLnPZOAw3pn3xWSmlWRGN+NQGucJdbW6FQ7fWtW29PlTg5bSc8ZhIawUt5QsVyvIpaP/8/UVdi//T6axKDxl922sT2FNHtKghH5BnC5tTyzpeP2HthOOQsEu+9O5igInWYahXexV9+4XOsbrOvTLi0to278B1mTYzA== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-application-catalog-template.StatusCodes.json b/docs/docs/reference/api/fetch-application-catalog-template.StatusCodes.json index e44f4da530..3c78158865 100644 --- a/docs/docs/reference/api/fetch-application-catalog-template.StatusCodes.json +++ b/docs/docs/reference/api/fetch-application-catalog-template.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},{"type":"null"}],"description":"Catalog template definition."}},"type":"object","title":"ApplicationCatalogTemplateResponse","description":"Single template response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},{"type":"null"}],"description":"Catalog template definition."}},"type":"object","title":"ApplicationCatalogTemplateResponse","description":"Single template response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-application-catalog-template.api.mdx b/docs/docs/reference/api/fetch-application-catalog-template.api.mdx index 94f81310e4..2da9b3976c 100644 --- a/docs/docs/reference/api/fetch-application-catalog-template.api.mdx +++ b/docs/docs/reference/api/fetch-application-catalog-template.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one application template by key." sidebar_label: "Fetch Application Catalog Template" hide_title: true hide_table_of_contents: true -api: eJztWEtz2zgM/iscnNoZrZ129uTTetJ2m3a3yeTRPSSemJEgiw1FqiTlxuvRf98BJVmUH0qbdm852SKBjyA+ECSwBscXFibXMC0KKWLuhFYWZhEkaGMjCvqGCbxDF2dMK2S8k2MO80Jyh+xuxe5xNbpRN+rKIn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TJVOhJz1F6MhGwIpyQjqaz0yyDk8PT4Iy6bdytMrqYxQajXTXj1ydaQiFJ+DIOadnxzWPncWPlv17CG+U3TmwTHSZ2ZGOnDYBw7PD3eybzeFmWNSPxmktFuA9869ua09LouQs6AR1H8sd4hiNd9DRyMXo0OaKk0zhdCRyqa0V9UNFhXeS42Y6ytocg6vZ8Hh981OGzjiNJ4XCohddQONzlyFddJB2GUQyDAZvBFq5Pe5HDKITfOE/dqdSscXlpV17T8tUJLkT/lsBBWiluKw6sVpNLR/3R9IT4I7IuztrS8ZA8doMsOTalBYxf6gnbe1Z9xhuKbd+m3akkOkwRDC9gx79wVlKfrmvLn2wuo6/8AOCjr3g== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-application-revision.StatusCodes.json b/docs/docs/reference/api/fetch-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/fetch-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/fetch-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-application-revision.api.mdx b/docs/docs/reference/api/fetch-application-revision.api.mdx index cfbf2b8a51..a328faa617 100644 --- a/docs/docs/reference/api/fetch-application-revision.api.mdx +++ b/docs/docs/reference/api/fetch-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one revision by its ID." sidebar_label: "Fetch Application Revision" hide_title: true hide_table_of_contents: true -api: eJztWktz2zgS/isoXDappWVPak86jceO195JNi4/Zg62S4LIlogYBBgAlEer4n/faoCQSJGibEc+7JYPqVhS99foJxpAL6llM0OHd/Q4zwWPmeVKGvoQ0QRMrHmOn+mQnoGNU6IkEA1zbriSZLIg3BpycTq4l/fyCmyhpSE2rZFwGYsi4XLmKMcJs2xMcrYQiiUDcqY0EUo9FjmZLO7lnGnOpCVGFDOiNAE551rJDKSNSGGAjC+/Xd+QQ1Zb6GEQhX9ZzWEO4wGNqMpBO4qLhA7pFBc/qvGNAhuNaM40y8CCRissqWQZ0CHtIh7xhEaUozlyZlMaUQ0/Cq4hoUOrC4ioiVPIGB0uqV3kCGOs5nJGIzpVOmOWDmlROBTLrUCCmtXJVTDbRULL8gHhTa6kAYOIn46O8L+mW66LOAZjpoUgVxUxjWispAVpkbymx+F3gzzL2ipzjYay3EuIVeGZqsVzaWEGurbaE0exGRvjX8bkKQVJ2NrzT8yQqSpkEpHx0Zgom4J+4gYGjnvKCmHp8KiMOg3tFi4X36bOI81F1umriBlhxDR5muYvo9U3shCCom27HPBHFYHXiFdG9Enpx6lQT3sR9GcF1pJS12hfmrQ02MvKu1YcTMOTPvjNBHipRzAjOvyxP6Et73iJdU3fRsMNzd5AIy9hHyHcilxt+ZTFP5mAFcgKdf/O3fBpWPUeHRp0qCQUNlV6b+AerYxowiw8ExVJDyzPoBf6FAHLiGZgDJv1YvfBfK3Yy4hOhWsnttdvbuobcW23mSglgMnabnNhSC1T6hvHlAkDZYRgMGeiYNabuw/q84qwG8hInudgd8FcV2TdIBmTbAbJLpCvFVk3SFwYq7J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iEFG4c6z/mFqbm/H+PhSjWKgiGbmnSzZi3AveIUZcaG6XDuTw/Ox3WPqrKFdt1ATcEcxHWFNs7RWW898Beao65Xx7Av9PeKR3/XH+utFxF3brdTa6yZHD87NW8jV+wsRhsYuToMn9TKMNs5+sdXWPSxtqgWW/rn9p3EHTg9EvowP8KlfGZkzWVPg2x66mvM3Jrp4y+3+tObJyJKbSfi4Yl7UrZh+nN/W1yrjsqpBoRMd9vZF3EU2VwQKWrlZTZuBai7LEr38UoDH27qrunilGws2KJtzg38n6lNlL8YeLKr8/kj4LQnxKDE5s9sBPNKIPsBxo6HSLYRpyYVVJH8YxuCvWgNNauzFp1jn+z89XtCz/C3sIATE= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-default-queue.ParamsDetails.json b/docs/docs/reference/api/fetch-default-queue.ParamsDetails.json new file mode 100644 index 0000000000..4a85adaf34 --- /dev/null +++ b/docs/docs/reference/api/fetch-default-queue.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-default-queue.RequestSchema.json b/docs/docs/reference/api/fetch-default-queue.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-default-queue.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-default-queue.StatusCodes.json b/docs/docs/reference/api/fetch-default-queue.StatusCodes.json new file mode 100644 index 0000000000..babed34b89 --- /dev/null +++ b/docs/docs/reference/api/fetch-default-queue.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-default-queue.api.mdx b/docs/docs/reference/api/fetch-default-queue.api.mdx new file mode 100644 index 0000000000..69c5029d86 --- /dev/null +++ b/docs/docs/reference/api/fetch-default-queue.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-default-queue +title: "Fetch Default Queue" +description: "Fetch Default Queue" +sidebar_label: "Fetch Default Queue" +hide_title: true +hide_table_of_contents: true +api: eJy1WFlv2zgQ/ivCPLWAGqfBPulp3RytN7ubNE76EhgGLY1tthSl8AjqGvrviyF1W3GcbPpkm5z55uQc3oJhKw3RPZw/MmGZ4ZnUMAshy1G5X5MEIliiidfzBJfMCjN/sGgRQsiZYikaVASwBclShAiUlXOeQAhcQgQ5M2sIQeGD5QoTiIyyGIKO15gyiLZgNjlxaaO4XEEIy0ylzEAE1joUw40gghsrg0kCRTEjNJ1nUqMmgJPjY/pIUMeK56QyRDC1cYxaL60IbkpiCCHOpEFpiJzlueCxs3D0XRPPtqVUrsh+w72EOLOeqdSVS4MrVC3lT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bVImWyKGY9gbpUtHUJqOcsG4e0hOp20Z33toxdf3f/qI6v8NfJBb++cshHWmDbFutwum8U6JoqDjB4uK4jYL4ZEpzhbkxfstJFzT96RcXXe0rIsSvLsp3837oNlkutpXsZUUWFKdfkEIP3DT/N3hasq6SptteTmOY8xNi22nBFJ+1c/g8/ktFMV/LdT9eQ== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Default Queue + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-evaluator-catalog-preset.StatusCodes.json b/docs/docs/reference/api/fetch-evaluator-catalog-preset.StatusCodes.json index dd18f967c2..d9c7870049 100644 --- a/docs/docs/reference/api/fetch-evaluator-catalog-preset.StatusCodes.json +++ b/docs/docs/reference/api/fetch-evaluator-catalog-preset.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a preset is returned, 0 otherwise.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},{"type":"null"}],"description":"The catalog preset, or null when none matched."}},"type":"object","title":"EvaluatorCatalogPresetResponse","description":"Envelope for a single catalog preset."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a preset is returned, 0 otherwise.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},{"type":"null"}],"description":"The catalog preset, or null when none matched."}},"type":"object","title":"EvaluatorCatalogPresetResponse","description":"Envelope for a single catalog preset."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-evaluator-catalog-preset.api.mdx b/docs/docs/reference/api/fetch-evaluator-catalog-preset.api.mdx index 2e08c28443..fbe635fec4 100644 --- a/docs/docs/reference/api/fetch-evaluator-catalog-preset.api.mdx +++ b/docs/docs/reference/api/fetch-evaluator-catalog-preset.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one evaluator preset by template and preset key." sidebar_label: "Fetch Evaluator Catalog Preset" hide_title: true hide_table_of_contents: true -api: eJztWF9z2zYM/yo8PLV3nJ329uS9LJema9ZtzSVp95D4cogEW2wlUiUpt55P330HipIl21HWtNvL+mSLxD8CP4IANuBx6WB2DacrzCv0xjqYS0jJJVaVXhkNM3hJPsmE0SSopRKlJUde3K2Fp6LM0ZNAnbbLH2g9udE3+jx8OoGWhDZeOCrRMi1pr7wi95PwGa3DfkEeU/Q4EW8d8fKNtuQrq6kTW+I6N5gKdLwvnEfrlV6K0ijtxaeMtEgsYVjDG63pU8/ihTWFwM7cibikoEZsjy6WlUppAhJMSRb5+GcpzGDBDrjtRN0m6DE3y9vGLJDApyrIk2VfbkBjQTCDVtXtB1qDBMW+LNFnIMHSx0pZSmHmbUUSXJJRgTDbgF+XzOu8VXoJErzyOS9ctW5+TWuoa9lpaYz4JjqacEUNc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yDOy5hBVahXcMs+sNpMrx/7S7D++N3ZOLWEyeivuO1YJfs4V8Jv6COKoaTkI5Mf9D3T0fhUKftXm9iQTHSUKh92xZ9+4lLgBd/frl9Arq+m82HQ7n sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-evaluator-catalog-template.StatusCodes.json b/docs/docs/reference/api/fetch-evaluator-catalog-template.StatusCodes.json index b790281bcb..f9779e385c 100644 --- a/docs/docs/reference/api/fetch-evaluator-catalog-template.StatusCodes.json +++ b/docs/docs/reference/api/fetch-evaluator-catalog-template.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a template is returned, 0 otherwise.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},{"type":"null"}],"description":"The catalog template, or null when none matched."}},"type":"object","title":"EvaluatorCatalogTemplateResponse","description":"Envelope for a single catalog template."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a template is returned, 0 otherwise.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},{"type":"null"}],"description":"The catalog template, or null when none matched."}},"type":"object","title":"EvaluatorCatalogTemplateResponse","description":"Envelope for a single catalog template."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-evaluator-catalog-template.api.mdx b/docs/docs/reference/api/fetch-evaluator-catalog-template.api.mdx index 90849536b7..b4bd96f1d8 100644 --- a/docs/docs/reference/api/fetch-evaluator-catalog-template.api.mdx +++ b/docs/docs/reference/api/fetch-evaluator-catalog-template.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one evaluator template by key." sidebar_label: "Fetch Evaluator Catalog Template" hide_title: true hide_table_of_contents: true -api: eJztWEtzGzcM/iscnOIZVlIyPelUj+MkbtrGIyvpwdbY9C6kZcwlNyRXiaLZ/94B963HunHSQ2dyssUFPoIfQBDAFrxYOZhew/laqFx4Yx0sOMToIiszL42GKbxCHyXMaGRYSzGPaaaER3a/YQ+4Gd3oGz1Dn1vtmNAM08xvGOo1KpMhe3YXmVz7KZvcnbDPCWqmTQuRCh8l6G60TzCAsXn96QE3jkUmRba0Jr3Rd6/P52wcCS+UWY1rBDe+GwEHk6EVZPNFDFNYktW3jcW3ldJtrQQcMmFFih4tUbAFLVKEKdQCtw+4AQ6SKMiET4CDxU+5tBjD1NscObgowVTAdAt+k5Gu81bqFXDw0itaaE7yFjdQFAvCcJnRDh2pvZhM6E+f76s8itC5Za7YrBIGDpHRHrUncZFlSkbhqOOPjnS2HVMyS0R4We4QiO9YKLXHFdqOiWdBYtfpz0s/idZN0jEbPIwxZxNmfIL2s3Q4CrpLkSsP00nBGwKDqXrzbhnY7ZtVct393mew4M2KzpUCYq42+C/SLXYMfhrUyw5EwYE8PuDM4EMOkfC4MrY6Sbut9Ji6fX1ipFwQ1orNoD1nLXTBYanC7TzOonS3wkaJXFNINqj3xigUumP4hWOntVzHWUuhHBacYCxGJk1Rx48jzTqih8E68fmoWR3Rw2DNDX4MqklhR4CcllmG/jGYq0psD6T1o7n/iJHvqP1t7MN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MCBB1zfdm/X4aXfsax5i1avr7ptO3icfqM0T5BVvWXTK3FmLCP5utnVdZcbjwaj8pgdnT6wv/t53WIvjWWCOalXat8e2pS2/fXFi/1284NQMg4venZubXiOP7HXjNELGV6OTRvTF1Am6n39lpxZ7PZALWt/mKojKTikbjXUwv2JzokVtnF7XDSQweb0tb78gni3fIdWzn/pwOy59Iy4/OIPur0bkcRNaX4l1323Ni4qPXScipelC4Zi7M18frkHWMZHij4xNDxZhYYqTD2mMG5aOndg9LLtzksK4ODQruuRSmgkYCwyGXxa/ky8z9x0PMZ8FCmTxyOxQu3FSMhScEEYUW6l3wSQ08uLt7gpn7IwvV50BUIJL4OrL9Y4RGTybRjkVOOd09wnxsqvdQ8b5jtluxJok3ppun4+Dcax08uLveTrfaKcEZFvhxvVZ+A7x25PSw/uNGQMeBTpb80XcnDT6sBk9Hw0oaXMOJ8K3dmiHM01VYNVZaMZoO2avG1T+38z1qv8SEk0zpSQutOhlhF6DW2EQpitEA60kyhanfbmegsOiXGedLfbe+HwvVVFQcufcrQUdwsOa2GluKcouN5CLB39Hzc31FFin82qtD5hx8yvY1NTYJLt9AuqAVR/AhkKX1IH/7YSOY0iDD1ZrbxXpylLmnx+fT6HovgHLgCXTQ== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/fetch-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/fetch-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/fetch-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-evaluator-revision.api.mdx b/docs/docs/reference/api/fetch-evaluator-revision.api.mdx index 4047f82e91..f927074c7c 100644 --- a/docs/docs/reference/api/fetch-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/fetch-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Fetch a specific evaluator revision by id." sidebar_label: "Fetch Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztWltT4zoS/isqvexMrQmcqX1K1VYtB4aFPTM7FJdzHoACxe7EGhTJo0s42ZT/+1ZLlmPHTgJMeNnlCZJ0f31VqyX1glo2MXR4Qz/PmHDMKm3oXUIzMKnmheVK0iE9AZvmhBFTQMrHPCUQiYmGGTdcSTKaE54NbuWtvADrtDTE5kDGToglDZepcBmXE/KQMcseyIecyUyAJk7z5FaaNIcpMwlhMiMF02wKFrT5OCBXihQ8ffSYglkwdomqJGG3csY0Z9KSJ25z5Sx5lOoJJXFrCM8S4gzcyof9WnOzHwHwP6s5zOBhQBOqCtAMDT/L6JCO0fT7mus+MtGELhWkw5sFlWwKdEi7pPc8ownl6MiC2ZwmVMMPxzVkdGi1g4QGu+lwQe28QBBjNZcTmtCx0lNm6ZA651EstwIJ6miRi+iGs4yW5R2Cm0JJAwbxPh0c4J92OC9dmoIxYyfIRUVME5oqaUFaJGdFIXjqnbD/3SDPoqFjodFFlgcJqXKB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4HOFRa6Ro8o2jUotYKlkdS2YGABax7gQZbc6S14tf6VDbKlVyAUBmQqdLYocTlTHSt/KgPNf7t06d2Q8zvTPDEvyESX6Bf3w2TgGVcNJaGpoBQcXOr8IJt6EP/uvJFFW+geDNvZl2tRB1vsUGkX9STQW7w1/I86cXrJyJ/42n/rMG0onmCXP5pOyNeX+iQm2B+Idd4oS9DFCLUT8VpCMG29Dq/ublsAYb8mINNFTZ+zfwTrm/YGtLutrFVZ69XTrHi6kXZF+Yv5+ghy7gPaviYWpuZ4eEhuEEslEsG/jGRDRgPgg+IETvN7dKDHF9e/AbLcD3k9ww1AX8sCtnVFKsiwjL+GyBHRY9aaBjg/ymfzX1vWrgC9LyVy3XVYOCNI8eXF6351/gJJw2LfY6UmvzPNNpwe+2t3734KUMtsPk/ql8a98L0aPDL4Ai/ypSxcyZrKkJzYrshbtPU1XpO/381NBZJgFPwMBOMy9qVccjvu3ULk/FzssChER129zM+RDRVBrevdLWaMAO3WuQ5fv3DgcacfSj6dCaYQXcrmnCD/yfVibE3OB+uiprwkfRZX+a1xKRGA/ETjegjLHtbMH35TMsZtCpkj+MY/GVpidKq9jjVqqrwz883NM//C5J6+k0= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-interaction.ParamsDetails.json b/docs/docs/reference/api/fetch-interaction.ParamsDetails.json new file mode 100644 index 0000000000..da0abe482a --- /dev/null +++ b/docs/docs/reference/api/fetch-interaction.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"interaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Interaction Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-interaction.RequestSchema.json b/docs/docs/reference/api/fetch-interaction.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-interaction.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-interaction.StatusCodes.json b/docs/docs/reference/api/fetch-interaction.StatusCodes.json new file mode 100644 index 0000000000..42f9c46899 --- /dev/null +++ b/docs/docs/reference/api/fetch-interaction.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interaction":{"anyOf":[{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"created_at":{"anyOf":[{},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"status":{"anyOf":[{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},{"type":"null"}]}},"type":"object","title":"SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-interaction.api.mdx b/docs/docs/reference/api/fetch-interaction.api.mdx new file mode 100644 index 0000000000..84de2de0df --- /dev/null +++ b/docs/docs/reference/api/fetch-interaction.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-interaction +title: "Fetch Interaction" +description: "Fetch Interaction" +sidebar_label: "Fetch Interaction" +hide_title: true +hide_table_of_contents: true +api: eJytWFFv2zYQ/isEX9YGmp0VexKGYWnTrEbXzWjc7iExDEY82axpUiUpp5qh/z4cSSmS7apJ4CfL4t13d98dT0fuqGNLS9Mbeg3WCq0snSdUF2CYE1pNOE1pDi5bLYRyYFiGb2lCC2bYBhwY1N1RxTZAU9qRWQhOEyoUTWnB3Iom1MDXUhjgNHWmhITabAUbRtMddVWB2tYZoZY0obk2G+ZoSsvSozjhJApMHuDJhNO6niOqLbSyYBHo1fk5/nCwmRGFdzWl12WWgbV5KcnHKEwTmmnlQDkUZ0UhRebjHX+xqLPrOFcYZMOJYCHTZVCKPmPESzAdJ994iYRyyFkpHU3P66RLjLeoqn9yT1wfXfD+6jAxddJKqFJKinS0VOEyzQwwB3zBXA93SPFNUCEXDgHKgj8V4FNQiQAcJDwR4DKoRIAmhLtqcTp2miBfVyQQ1cR5UisNE62VhoyTWmnoaq0URn+BzJ3QxDQgRnwbGkXE30dtdGI7iTquNOoHDg05MCtNi6TXoIYMz7xAndC1UEc9BFVusOGVFsyCFYXRWyZpEv4LVZS4ezMpQLmF01rS+UFUnUb0Hq0gK4650g4z3lguQPHwJnQvDjw8a7n1jxlTGUgJfNj2dbB5yBzWGnNsqNVgNwbb35WUcS4QmMlpRzi062hB32EpDGbrY4SuMaYcDKgM7GMM7fu4BWMPOubjq+ZzVMfsyHL5XJhr1MUeftLmXO8z2uUvkkYPhIZpb7n2u1RC5rQZqoE1VM8l5T1Uvtfgp/2ZEFPUHeLhugkh2f+ixwWSa0Pgm/PbQS2JLSATucgIFj/Jjd4QUE5guKNbdaumkmXACZNaLa3gQFrKPJLXauC0CgBtBfM+1pUAyW16q34mZ2drqM7OUnKF7qitMFptQDliYCv8TEW0ktWI/M22YskcWOK0tzZ62B+j39ZQ/Z7cKkJyLaW+t8StINisSKH9BEFyXSqOCwbICxgtR+Rem3Uu9f2iMfYyIX5gQysr5hAwgCSop4ifdsASTB1hSyaUdUQ4GxwK8eAaBnSpHVHa+dEoKAjltHes6VYR/KdWn5BJTtZQEWGJBZdEQ9Fq1LaQacWZqQbVlXZHILgwkDlZkdaTfoZasOON0TteHk5ip+p9Lfpwae/38kvs10cdzqWf0HcPEyU+SrEFA3wh1OKO4YcuZ9JC0lm5h7uV1uu4EgaDzuY/AtEav9NaAlO0N2UEaTJR5DVKdybcxsAR24+C/DdKH0A+icErzxOqRL5OndtZxN/A/qf1NPgfEPdYzA8np5vu9NUMQ3HUGRwVjpXWk9htj051jYq/vnp1eNL6zKTgoVm8NcY37mceszg4JqQ/EjnYHBkNpM56q4/4ADVHNb+p4jtmDKs6cf+lg4M+zXY5NGd+AGvZsvON/r6oJ4PMcNWfBXHERPH2WIsv8KzjvnVgDpLyBrn85n5YIshNcD/KdWeiNkUhQ9+n4jKkYKhK3s1m0wPAUB/9wrjCDxKZ9G4QNuBWGq8XluBoM0nQcaxvO+4cme14179ZqCkOOGbbXD+URqIuK4RPePi7cq6w6XgM5SiTuuQjtgTl2IiJIDhHjKw0wlUe5GI6eQ/VO2AcDE1v5l2Ba6zTUHl9sTZbrBA4EyXNVchF6VbaiP9YDNffhKyCVu2rINfdIrjwzpGL6eRg3Okt4YZima+fxpJfxgNML+yHaPHksfHbiTpgmz/aFcx+O2PT89Evo3M/1GnrNkx1TBzLX8/HlgYs0HEhmfBbyHu0i7lte5elvQsR/Jvu3RzNE7rSeDq5obvdHbPwyci6xtdfSzCYr3lCt8wIdofs3ewoFxafux/Cnn9tI6IvPsa98pLQ5LjfTU4VJnTLZIn/sM/iwLx/y+X7yaopmzhV04ssg8J11A/aH9ZXuwn+fDujdf0/4Fu+8g== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Interaction + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-legacy-analytics.StatusCodes.json b/docs/docs/reference/api/fetch-legacy-analytics.StatusCodes.json index 59c8acbcf4..6fc0a0b62b 100644 --- a/docs/docs/reference/api/fetch-legacy-analytics.StatusCodes.json +++ b/docs/docs/reference/api/fetch-legacy-analytics.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"total":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0}},"type":"object","title":"Analytics"},"errors":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0}},"type":"object","title":"Analytics"}},"type":"object","required":["timestamp","interval","total","errors"],"title":"Bucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates with fixed fields (`total`, `errors`) holding `count`, `duration`, `costs`, and `tokens`.","default":[]}},"type":"object","title":"OldAnalyticsResponse","description":"Legacy analytics response with a fixed metric schema."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"total":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0}},"type":"object","title":"Analytics"},"errors":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0}},"type":"object","title":"Analytics"}},"type":"object","required":["timestamp","interval","total","errors"],"title":"Bucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates with fixed fields (`total`, `errors`) holding `count`, `duration`, `costs`, and `tokens`, ordered oldest to newest.","default":[]}},"type":"object","title":"OldAnalyticsResponse","description":"Legacy analytics response with a fixed metric schema."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-legacy-analytics.api.mdx b/docs/docs/reference/api/fetch-legacy-analytics.api.mdx index 7103ccb596..de22d8f53e 100644 --- a/docs/docs/reference/api/fetch-legacy-analytics.api.mdx +++ b/docs/docs/reference/api/fetch-legacy-analytics.api.mdx @@ -5,7 +5,7 @@ description: "Aggregate span metrics using the fixed legacy schema." sidebar_label: "Fetch Legacy Analytics" hide_title: true hide_table_of_contents: true -api: eJztWN9v2zYQ/lcIPrWAamfFnvw0r13RoF0TtO5e4qA+S2eLDUWq5CmJa/h/H46UZDpuXDftsGHok23p493H+31eS4Kll6ML+RqXkK/kZSYL9LlTNSlr5EiOl0uHSyAUvgYjKiSnci8ar8xSUIlioW6xEDocFz4vsYLB1EzNW6TGGS9IVfhk3uRXSFgI6MR5caOoFNCe90jCLsRCoS781Dya5bYxNMvErGgcMBf+nltPnr+QvULjZ4+Fr7UioQxZfkigZwJMMTUzdM46PxuISYnCl1CjqB0WQfPM15j72ZPCqWs0AgzoFfGtwBRCeXGFNU3NwrpwQbxVnvi2du7RXcNcaUUrUYAv5xZc4QWVQCK3xjcVCkXh+m/whmnhMrL3wpe20QWTWKATs/OzdxMxJAe5MsthT2H4qUG3mmVTc1OqvBSQ51hTTzkwzMEI31QVOPUZBbi5IgduFR0ERE7NG0KfTY2xJD42nqKjbONaa7deHMhM2hojw9NCjuQCKS8/RGd+6EnJTNbgoEJCx8GylgYqZLjNG36rOFICc5lJh58a5bCQowVoj5mMQSFHawlmdbYIAmhVswBPTpmlzCSapuIwZIOgzCTfhYORFGkGvgiaNll/0jRay80+giE9O1cB/VB6sERDEM1mCDWyJVe7RIPSw0wjJKFqdYH+R1BN9IboQ3eQylnUm1IxePOvUHkT9aZUtKrUdzE5Ru/roCRVy6fcNeh/WvNppydV7oDwexSbppp/Re9bVrGTKEoTum/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8tDljzTRW/MpFLvXi0uDMnw3DWA3cE+jprdYiA3G1b869On++3hL9CqCJcTf7ABHt4bCiRQ+kDJ1jbfefstI8zl/VHw2kaCHCiVX36pH3TQP9F7WOI2pO6HBmOICb8NbaJuKO3Bp+EBpy/dJmL2nPqMbXlLX00Otk2k3+KSPNi6KHroflM8jy44FGUvJ5PzPYExPiqk0vI+UtswitZApRzJfl3i7cAP0/2EN7NuOWmcZjDUKjgw/lsS1X40HGIzyLVtikEc5QegIvCSZeSNU7QKQsbnp69w9RKhQBfyJQG847iLkbQL660PtXqFbI92who3VFqnPnd1NwxaZTy1CV5d2NSp40BOjM9P9/Ju5xUnCOQhHjpN3Yaye+3tbbnAVSE9JCFUv/Vv2Jtsw6jmZPDL4IQfsQsqMImKF7wkijb/x4kTdoiut9n78yPC//wjQhv1XF+GtQYVKmAIwHWbu3Gzj4UtZK/M5DZ/LzNZcqaPLuR6PQeP753ebPhxXEY4IQvlYa6TdeQKV8kniGvQDXMIKX8vtv0gcAy4X8mPAfdL8zHgbq09BpuMJ8fA2+3xKGN0S98WfMn/OMXoUPKyrkSx/eOpcQil5NReX2Ypff3mAJWbzd/LtQtZ sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-metric.ParamsDetails.json b/docs/docs/reference/api/fetch-metric.ParamsDetails.json new file mode 100644 index 0000000000..505e0aa923 --- /dev/null +++ b/docs/docs/reference/api/fetch-metric.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"metrics_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Metrics Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-metric.RequestSchema.json b/docs/docs/reference/api/fetch-metric.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-metric.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/create-metrics.StatusCodes.json b/docs/docs/reference/api/fetch-metric.StatusCodes.json similarity index 100% rename from docs/docs/reference/api/create-metrics.StatusCodes.json rename to docs/docs/reference/api/fetch-metric.StatusCodes.json diff --git a/docs/docs/reference/api/fetch-metric.api.mdx b/docs/docs/reference/api/fetch-metric.api.mdx new file mode 100644 index 0000000000..275be30c01 --- /dev/null +++ b/docs/docs/reference/api/fetch-metric.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-metric +title: "Fetch Metric" +description: "Fetch Metric" +sidebar_label: "Fetch Metric" +hide_title: true +hide_table_of_contents: true +api: eJztWEtv2zgQ/ivGnFpAjbPBnnRabx7bbBs0SNxeDCMYU2ObXYpS+AjqNfTfiyElWbIdJy3c0+4pETnzzfCbB4deg8OFhXQCl0+oPDpZaAvTBIqSTPi6ziCFOTmxfMjJGSkggRIN5uTIsOYaNOYEKcRt+yAzSEBqSKFEt4QEDD16aSiD1BlPCVixpBwhXYNblaxpnZF6AQnMC5OjgxS8DyhOOsUCNxF6cJ1BVU0Z0ZaFtmQZ5Oz0lP9kZIWRJfsMKdx7IcjauVeDu1oYEhCFdqQdi2NZKinCEYdfLeusO46VhglwMloQhY9Ktb9SO1qQ6Th4HiQSyGiOXjlIT6ukIYQVpaPc7gLPVWB/DahXn+aBTMwyyU6huu2JbiRqJ2ZFoQg1VMk2j7yyHwaENMIrNG8+4ozU37bQ7z55V3r3lg8TUYrZVxIOmOfmeNvSUO1Ib7zQXqme9lU4Jav8F047rg+bk8OfPGznZFsZ1zOcz/orXY5eYuTKqxcISdqsfY0WGoOrw1nQ1/0xUm+YzCoBYQgdZQ/oDhHXaSQZOnrnZE4H4c8j7GAU3PJl9iuMfI6wtZGMFP0CIxcRtjbS0DVbcVd+nZ3Qel9D1p+r0I83fB3VSsNWa6Uh7KhWGrpaK8eDjnhPZKyMt8srynwH5EutXiVgHTp/sF8kQNrnfJmXpLO48ujJE1+lxmsdl2y8GvkwKJU3fDGSMYXhJYFakFKUQceLzWxwH53Y53J79bXWOWj4fxM8WhO8wNgEmQfzhGovbXtJ2k7NBoDNy5ysw7w8ahsat6icuYI0GlkcsW7va8i6ao3XNfhrJ8o7r+M0uR2A7rg6aYD31kI9lHZiGOO/M7Z258LJdJ/JZ8Hb2bWqWO/3s7PdUfcLKpkFpcEll/HPz7kZOZTqwLyqCtHb/ZGinT7P08ciOhjGJrvYF8cNpdbigjakPy8ayBiMeTcUDdcbi7dFUBegcN86MDsxOWcuv7kXU4W5ie7Xct023oYoRuh5Ki5iCA4lyfvx+HYHMOZHPzGu+NU2uGlebTm5ZcGvuQW58IhzS0hhSJuH37B+sQzXm7dcxTcGmafmseeNYi0sZYhy/Fw6V9p0OCR/IlThsxNckHZ4gjIKThlDeCPdKoCMbq8/0Oo9YUYm1ERH4J6TM6ZbX6wNEZbyAzFp9cNz5N2yMPLfmEP123MZtaoQ+nnRjfwoODcY3V7DNmW9La4iFCFpGkthG5KtY29Oy1dpHmoIHGH+R7vTmwXg9OS3k1NeKgvrctQdE1tB67nXMsAJOSwVylAywZl1HdAJdAIKm0doAmnngT5NYFlY7kewXs/Q0mejqoqXHz0ZDtI0gSc0EmdM2WQNmbT8fwbpHJWlHc/algNv7uqqeDvYXI19j5tAao4iu8tfkMA/tOr/kBC6xrLJk3UtMBKCStdR3WlynFBtvv91OYaq+g4lxsdN +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Metric + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-mount.ParamsDetails.json b/docs/docs/reference/api/fetch-mount.ParamsDetails.json new file mode 100644 index 0000000000..63809830b6 --- /dev/null +++ b/docs/docs/reference/api/fetch-mount.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-mount.RequestSchema.json b/docs/docs/reference/api/fetch-mount.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-mount.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-mount.StatusCodes.json b/docs/docs/reference/api/fetch-mount.StatusCodes.json new file mode 100644 index 0000000000..eee3b3bbcb --- /dev/null +++ b/docs/docs/reference/api/fetch-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-mount.api.mdx b/docs/docs/reference/api/fetch-mount.api.mdx new file mode 100644 index 0000000000..bee1bfaf62 --- /dev/null +++ b/docs/docs/reference/api/fetch-mount.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-mount +title: "Fetch Mount" +description: "Fetch Mount" +sidebar_label: "Fetch Mount" +hide_title: true +hide_table_of_contents: true +api: eJy1VttuGzcQ/RVhnlqAtVSjT/tUNU4aI3UrxEpfBMGglyMtU+4l5NCIuuC/F0PurlYXO67hPOnCmTMz5wyH0wLJrYNsBTe1r8jBWkDdoJWk6+paQQYbpLy4K/kUBDTSyhIJLfu0UMkSIYN4eqcVCNAVZNBIKkCAxS9eW1SQkfUowOUFlhKyFmjXsJ8jq6stCNjUtpQEGXgfUUiTYYOY1ORaQQhrxnNNXTl0DHE5m/GHQpdb3XC6kMGtz3N0buPN5GNnDALyuiKsiM1l0xidx+qmnx37tKO0Gsu1k04R8ljzPltdEW7RjtJ707GicCO9IchmQSQyYqxq99cm0nSEa1ESqjt5ZPUoKUoS/kS6RAhiMKu8McCsDMkk2MmcIAjwjfoeQT4l2C6IQoPfIchVgu2C9HTd77jDnhcnttFzyPptF7trz9erRunZGqL0hL1qlJ6uIUq6lY+DPwX2p4ziHN6rl0FdjSCCAGf89qVQt+wbBLweaYmpxtafMadOjOdOpUXy6th26Jyuq28I+mR1CaHvEUmnwyiI3ru+59jHM/KKnYKAjYnj/H96v4tebNV576uQSmlWUJrFCDHN80PMpypcdvglptpeG/+GccOZMvdP0Gos9vqIgDPg59AOfIYHJgS2/eXy8vQ9+lsareJrM3lrbW1f/hgpJKkNf9OE5anEYOr84PQZjdg/aGG9r1VaK3ejUv+oU4JRPbc9d032Ijgnt3F6JJPHTSMZkyWf8q2uGp8e2v5yxj949tPXEcyJDm+Yy6/0TeWZm5R+ZzfSfy9RUuhxKq6SBE81xvvlcnECmPrjsDHe8VY1uen2hxKpqHnZ2mJasqiADKZxk3DTtl+vAvC0sQ/99uWtYTPZ6Khq+lkQNS6bTtFf5Kb26kJusSJ5IXUyXDNG7q2mXQSZL64/4O49SoUWstV6bHDLzZja69BskEQ2+gMySd0mOPdU1Fb/m3qmWweL5BWi1Jt6rPQ8JjeZL67hmKKDI741Mo9N0keKxyCOyt5XCwKwjHcGCGX563DCEjOHKczs4ueLWXwLakelrEYhDkU6ehE7Arj/po2ROt6QmEvbCbhKq6ADAdmwIa8FFLUjPm3be+nwkzUh8N9fPFqWZC3gQVot75mgVQtKO/6uINtI4/AkkWGgwA8fu57/cQLifIK9bBVr9iCN518g4B/cjff4OBGKvifa7nie59jQyPFkgHHzDM38+9slhPAfQjsxcA== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-organization-details.StatusCodes.json b/docs/docs/reference/api/fetch-organization-details.StatusCodes.json index 7465aa4a76..c36a3ff4de 100644 --- a/docs/docs/reference/api/fetch-organization-details.StatusCodes.json +++ b/docs/docs/reference/api/fetch-organization-details.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"},"default_workspace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Default Workspace"}},"type":"object","required":["id","owner_id"],"title":"OrganizationDetails"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"},"default_workspace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Default Workspace"}},"type":"object","required":["id","owner_id"],"title":"OrganizationDetails"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-organization-details.api.mdx b/docs/docs/reference/api/fetch-organization-details.api.mdx index 96012bb077..49001ced56 100644 --- a/docs/docs/reference/api/fetch-organization-details.api.mdx +++ b/docs/docs/reference/api/fetch-organization-details.api.mdx @@ -5,7 +5,7 @@ description: "Return the details of the organization." sidebar_label: "Fetch Organization Details" hide_title: true hide_table_of_contents: true -api: eJy1VlFv2zYQ/ivCPa0AYafBnvQ0Y2lXo+saJN72YBgBI50ktpSokqe0nsD/Phwly5QTZ1uwPtki77473vfdkT2QLB2kW/hoS9movyQp0zjYCcjRZVa1/A0p3CB1tkmowiRHkkq7xBTh00SOCxBgWrThY51DCgVSVt3FNnejPw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Au//BX1Oros= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-queue.StatusCodes.json b/docs/docs/reference/api/fetch-queue.StatusCodes.json index f815b1ad52..babed34b89 100644 --- a/docs/docs/reference/api/fetch-queue.StatusCodes.json +++ b/docs/docs/reference/api/fetch-queue.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-queue.api.mdx b/docs/docs/reference/api/fetch-queue.api.mdx index a11afcda5b..c40ebaee89 100644 --- a/docs/docs/reference/api/fetch-queue.api.mdx +++ b/docs/docs/reference/api/fetch-queue.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Queue" sidebar_label: "Fetch Queue" hide_title: true hide_table_of_contents: true -api: eJy1WEtv20YQ/ivEnBKAsVyjJ56q+NGobhvHsnMxBGFEjqRNVkt6H0YUgf+9mF2SIinZll3nZGp35pvnzsMbsLgwkNzB+QNKh1bkysAkhrwg7X+NMkhgTjZdTu8dOYIYCtS4IkuaGTegcEWQgL+digxiEAoSKNAuIQZN905oyiCx2lEMJl3SCiHZgF0XzGesFmoBMcxzvUILCTjnUaywkgm+MHA0yqAsJ4xnilwZMgxxcnzMfzIyqRYFqwsJjF2akjFzJ6PrihhiSHNlSVkmx6KQIvXWDb4Z5tm01Co0225FkJDmLjBV2gplaUG6pd6pp4ghozk6aSE5LuPgDC9LrT/PvZu6uHPp/f44gTBTQ/eOlBUoWwrM8lwSqpYCIxONt5QtReYoDZVlXLPms2+U2hbnNubexxdepzJuZCknJZQTRtjRFrNMMCfKq47eW4qewi3cKuR8sh8GUqFT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vr95GR77P6KUmSeJbrgh/v6mTsji0J2nlqXQOZp5/YlE9S4n6StwS8PCvrxzcx3hWkzkBiDc9pk/NOk3hnRLd9yKVc8/DB5XZFVNQ2l9kcLZisiZ+zLH7vzsJ0J7JugfkXXLtxNiEKEnnbFeQjBvhT5dHt7vQUY8qObGJe8PEZfquVxSXaR8045J+t3SbuABAa0WT8Hvj2YwbreKEvuD6Qf64XTacksWAgf4fBzYW1hksGA3FEqc5cd4ZyUxSMUgXDMGKnTwq48yOn18IpWnwgz0pDcj9sEI07MkGpdsiY8WIgrYodVy++ps4tci58hf6oNeBG4Sh/2Wd6O+qlXLjq9HkLfXZ0rfkGY+oSpJflriHtmb6zlxrn07wcs4fKP5qbT+eH46LejYz4qcmOXqFoiugHrzcuVAzgXB4VE4V+L12VdBfMeWsGsuz1/SZq/CMYxLHJjmXa9nqKhOy3Lko8fHGkO0DiGR9QCp+yu+zVkwvD3rFpIt9RqSg28u6lew/tos5901a2DqDiCrCv/ghi+06r9R4avFYs6Q9bV9WmaUmFbjFuljVOpSfM/L26hLP8D6A7t4w== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-run.StatusCodes.json b/docs/docs/reference/api/fetch-run.StatusCodes.json index af6f5e9ecc..43fbfeddf9 100644 --- a/docs/docs/reference/api/fetch-run.StatusCodes.json +++ b/docs/docs/reference/api/fetch-run.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-run.api.mdx b/docs/docs/reference/api/fetch-run.api.mdx index d286867d50..4ecde7b7b1 100644 --- a/docs/docs/reference/api/fetch-run.api.mdx +++ b/docs/docs/reference/api/fetch-run.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Run" sidebar_label: "Fetch Run" hide_title: true hide_table_of_contents: true -api: eJy1WEtv20YQ/ivCnBKAsZygJ52q+lGriRtXcnIxBGO1HEmbLpfMPoyoAv97MbukRFKkKDvOyRY58837wdmCZSsDowe4emLSMStSZWAeQZqh9r8mMYxgiZavH7VTEEHGNEvQoia2LSiWIIxAO/UoYohAKBhBxuwaItD43QmNMYysdhiB4WtMGIy2YDcZcRmrhVpBBMtUJ8zCCJzzKFZYSQRTpwaTGPJ8TmgmS5VBQwAfzs/pT4yGa5GRojCCmeMcjVk6OZgWxBABT5VFZYmcZZkU3Ns1/GaIZ1tRKtNktRVBAk9dYCp0FcriCnVFuQtPEUGMS+akhdF5HpEjvCS1+bz0DqqjLqX3dzeBMI9SPGFF8CJNJTJVETwxg09EUxG9ZNJgHhE74/YEgHGgaofgMjUUtuMQF4GqHeK7Q9erxD+eqEMHxtcn6BCo2iFMJoXtQ5h5ohaANfNW6CIwnRg3zBvi6TpgLBpr0Pbj3JeEHUAYqjTV/VBXe9IOMO6MTZNeoItA1gGydglTvRg3nqoDgjmb9iKMiegAII9KrnTxDbmtMO0b2tSpa192ebQTopyUkM+J/6AgWRwL4mPyrlaae4qGphXcoqPRk3YY4EJzJ5l+84ktUP5lUvXus7OZs2+haQx1vdKcJjUcmH5o3Z77PpgPCVr2QmMrljU6Yk1wsqg/qfqozyPXTvY4JNqCsJicyMW0ZpujfmnwPs+pt+TMPCpG4EkuO8D4m3jzqD7IXgZ1WYHII+AamcX4kdljgJXRGzOL76zw+nRLuQiwg7F3lsviXyHkS4AthMQo8RcIuQywhZDSXYsN7TGnyfHLyinO+mPjt5i9v15VSumtn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wi5fCzMl3qMfkI5RZ1K4ar9/NRC5QcBF93jp1CB3t4w+OIjGQzKx8pwZNjWYXpNGldzs0b+vvRlZset2rnrlTfr3CHSUEehu59KWpPrt3Fc7d5fcieP+7dljefY292dXUSXwaV5UGhbHHhUvp9j2xUpPO1QOX1QGp242cE0zRVZPlK6g14AmOX9pRnmfuSu90CrSfN1VYOeMri01/9G8DvVR4CNBDKYEQesqe35UaFRbZvdBvGHPg0mO4Txk1PoxQsHWjZD756DBSUatB+cOovcNBMX1rOTGxruImKUpl/X7iJa+HCbCxrKhX3MZdTZs+r20trbR+dX0UJ4TWI7VldI33rIzr7Ob0TF97ejqrrs7yO7o934n1EH1UNwfyQOQeURy43qgvuiQ3xTJ8aKc61m7Gvl/hnf7IJBlxPPHhw/77wdfmeCRYxhc0Fb1+seDCA3jwt3nNx8WkYSVX1/SJGf1KJVu5YrViA6vXnYl5Q1qzZbYtXptHUnOGBRblV/EiLw8F7g7C/NcgtmLxxn58tkcTFvyjVc/pyuvRNsQ+Qi1u+Lch6ArQa7u7+/2AH1+VBPjkt6/BhP3/hWjWSX0KLZEUxzYEQxx9342VFbq4cY/iWV0/FA9Fe9lVgkiZyl3sfUfV8akejQcoj0JRWKjE7ZEadgJ455wRhihVdysHcj47voTrq+QRahg9DArE7gZwSdZlWwbGJbyT67Y5G93Y2tWieI/iqXaPeGtPFfmAr5IyvEeO+UG47trqDuq8hOdHRa6VCkkuZ8hqJm9s5ZW89idHDDI4j+3v1QuZOD05P3Jqau8iTb5fX8uohyq2iVmbj7l4DAVzK/1TpNNHsYHKIXR37zQn1H+ujkLYJVoQ3SbzZxp/KJEltHX9E5EoZkF8MQUZ3Ny1MMGIq7p/yh/H9hTaVte4M0kPwFvB7uxs6pqET5JsSM96RMEvkkVL7CuOqyKzMg7GIzDEFNTYtsrZpRC29T+6+Iesux/3u9N1Q== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-scenario.StatusCodes.json b/docs/docs/reference/api/fetch-scenario.StatusCodes.json index d47506f850..c4c09b0c8c 100644 --- a/docs/docs/reference/api/fetch-scenario.StatusCodes.json +++ b/docs/docs/reference/api/fetch-scenario.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-scenario.api.mdx b/docs/docs/reference/api/fetch-scenario.api.mdx index 13e9b2100f..c2acbcfb91 100644 --- a/docs/docs/reference/api/fetch-scenario.api.mdx +++ b/docs/docs/reference/api/fetch-scenario.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Scenario" sidebar_label: "Fetch Scenario" hide_title: true hide_table_of_contents: true -api: eJzlV0tvG0cM/isCTwmwsVyjpz1VdezGTYsYtpKLIBjULCVNOju7nocRdbH/veDMPiX5kcA59STtDPmR85FDcipwuLGQLuDiAZVHJwttYZlAUZIJX1cZpLAmJ7Z3VpBGIwtIoESDOTkyrFuBxpwghVbgTmaQgNSQQoluCwkYuvfSUAapM54SsGJLOUJagduVQdUZqTeQwLowOTpIwfuA4qRTLHDbYE+uMqjrJUPastCWLKOcnZ7yT0ZWGFmy36zihSBr115NbhphSEAU2pF2LI5lqaQIx5x+taxTDTwrDZPgZLQgCh+VGoeldrQhM/DwPEgkkNEavXKQntZJR0kwp3ef1oGvMfRahRgMBTDLJLuF6nok2ks0bqyKQhFqqJN9KnnlOAwIaYRXaN78hStSf9pCv/vkXendWz5ORClWX0k4YKbbA+5LQ30g3XuhvVIj7ctwSlb5P5x23hw2J4c/eNjByfZybmQ4X41Xhhw9x8ilV88QklQgHeUv1EJjcPd0Fox1v4/Uv5nMOgFhCB1ld+ieIm5QSzJ09M7JnJ6EP4+wk1lwy5fZzzDyOcI2RjJS9BOMvI+wjZGWrtWOC/PL7ITq+xKyft+Fitzz9apWWrY6Ky1hr2qlpauz8nrQEe+BjJWxv7zgmh+AfGnUuZ84dP7JepEAaZ9zSy9JZ3Hl3pMn7qbGax2XbGyOfBiUyhtujWRMYXhJoBakFGUw8KKfEG6jE8dc7ppfZ53p1I7MA6qjbh8tavsstgBcLmRO1mFevuqNmXeodWCpya6XT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bRrfRLCSUYrH8ggT+peXW/zahgGRttqwaxFgpqrgnu1PvJK26xP/zegJ1/T/gOENw sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-session-mounts.ParamsDetails.json b/docs/docs/reference/api/fetch-session-mounts.ParamsDetails.json new file mode 100644 index 0000000000..d7acfab6f1 --- /dev/null +++ b/docs/docs/reference/api/fetch-session-mounts.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-mounts.RequestSchema.json b/docs/docs/reference/api/fetch-session-mounts.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-session-mounts.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-mounts.StatusCodes.json b/docs/docs/reference/api/fetch-session-mounts.StatusCodes.json new file mode 100644 index 0000000000..edbeddfd38 --- /dev/null +++ b/docs/docs/reference/api/fetch-session-mounts.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id","session_id"],"title":"SessionMount"},"type":"array","title":"Mounts"}},"type":"object","title":"SessionMountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-mounts.api.mdx b/docs/docs/reference/api/fetch-session-mounts.api.mdx new file mode 100644 index 0000000000..ce93577e01 --- /dev/null +++ b/docs/docs/reference/api/fetch-session-mounts.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-session-mounts +title: "Fetch Session Mounts" +description: "Fetch Session Mounts" +sidebar_label: "Fetch Session Mounts" +hide_title: true +hide_table_of_contents: true +api: eJy1V02P2zYQ/SvCnFqAtd1FTzrVzSaNkW5rZJ1eFsaCFscWU0pU+LGIa/C/B0NKsvzZ7WJzMizOvDd6b8ihduD4xkL+APdordS1hSUD3aDhTup6JiCHNbqifLRp/bHSvnYWGDTc8A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shSwpnvgH3akv4YSXmxe1jnNlWf8qdFgY0bZJ2cf4TSb4Hf3y4ghG82QXuj +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Session Mounts + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-stream.ParamsDetails.json b/docs/docs/reference/api/fetch-session-stream.ParamsDetails.json new file mode 100644 index 0000000000..1395151c44 --- /dev/null +++ b/docs/docs/reference/api/fetch-session-stream.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-stream.RequestSchema.json b/docs/docs/reference/api/fetch-session-stream.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-session-stream.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-stream.StatusCodes.json b/docs/docs/reference/api/fetch-session-stream.StatusCodes.json new file mode 100644 index 0000000000..c8627182f2 --- /dev/null +++ b/docs/docs/reference/api/fetch-session-stream.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"stream":{"anyOf":[{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"flags":{"default":{"is_alive":false,"is_running":false,"is_attached":false},"properties":{"is_alive":{"type":"boolean","title":"Is Alive","default":false},"is_running":{"type":"boolean","title":"Is Running","default":false},"is_attached":{"type":"boolean","title":"Is Attached","default":false}},"type":"object","title":"SessionStreamFlags","description":"The nest as primitive bools (alive ⊇ running ⊇ attached).\n\nresumable (alive & !running) and reattachable (running & !attached) are\nderived client-side, never stored."},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"}},"type":"object","required":["id","project_id","session_id"],"title":"SessionStream"},{"type":"null"}]}},"type":"object","title":"SessionStreamResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-session-stream.api.mdx b/docs/docs/reference/api/fetch-session-stream.api.mdx new file mode 100644 index 0000000000..c24372962a --- /dev/null +++ b/docs/docs/reference/api/fetch-session-stream.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-session-stream +title: "Fetch Session Stream" +description: "Fetch Session Stream" +sidebar_label: "Fetch Session Stream" +hide_title: true +hide_table_of_contents: true +api: eJy1V01vGzcQ/SvMHIIYYCTX6GlPVb4aIzVq2EoutiDQy5HElMvdkLNCVGHPBfoz+0uKIXdXK8tfLeKTbe7Mm5k3bzj0FkgtA2RXcIkhmNIFkLtfZxLKCr0iU7pTDRkskPLVPKTv80AeVQESKuVVgYSekbbgVIGQQWdmNEgwDjL4VqPfgASP32rjUUNGvkYJIV9hoSDbAm2q6EreuCVIIEOWD9qUxKmGppkxQqhKFzCw08nxMf/QGHJvKk6WPeo8xxAWtRUXrTFIyEtH6IjNVVVZk8faxl8D+2wHiVSeKyeTIrSVspfb/L6IVe5bGH1X+ovSF4ogg7qOLHTlcBkSco+KUM8V7SPfi6IV4WsyBUIjezNXWwvMSQf+NsGKCXGQutLPEeRzgm2DaLT4DEHeJdg2SEfXzWae2H5CnMj7U8h6sxGpKR1fPzRKx1YfpSPsh0bp6OqjVL78ijnN/5s4z5NXizGY4ifOp4SFjZcKj+RC1TaKwoS5smaNkC2UDSj5wNfOMc7gSBGpfMVXQzxLRQznrIfpk7kpS4vKDccriEk0krsMOrhh2IchLlqzu0F2iT6SSGd3ANPIzrG8YcIP6byM186HyKa8db9NVygcBhIqiMqbwpBZo+AUgngVKRL//P2XaGuNv3cpH42u3bXzGOpC3VjszF+KF631kVBOC54Mdkg2HdBL8aLHEcrjtdPozRq1yK1BR6+D0SiFwzV6Eaj0qEesCWolsRO60tpwMcqeD1qcNsI+MQ+Jfsq4jYQCST0H/hnjcv61d4/M6oNp1r7dXodd363DK4iTOJjbvQGc3aOQOyI/WV3dcjwrNVpoGnb8+eTkcKF+UdbouC7Fe+9L//+3qUZSxsZpJizCoYEt872vTyDcOMIleq68L1x5rzaDun8rU4JRLmH50H12hiGoJUIPdr9pJENM+SvfDK6qIyH9FRAPeH3R9wHMQVPeMpff6VGBMDcp/dZuIIpdi1KH7qfiXWrBQyr5OJ2eHwAmfewL4wM/CkW3AS67R2GBtCr50bhEim9EWkEG41bOYZzeVGEcJe7X3eOx9pbNVGVie9OfK6IqZOMx1qPclrUeqSU6UiNlkuGMMfLaG9pEkMn56SfcfESl0UN2NRsaXLIqk872zfreqMp8QmarfchOalqV3vyZxNO+ZVfJq4k9X5TDlk9icmJyfnpwa+994vFReVRLFyl+Bnmr7F21IAGLODxAqIpf+i/ca+YwhTke/TQ6ji+AMlCh3CDEPd3aS7NnghU5rqwycWZiUtu2k1fdxcSrqe0lSGA5rspAbLDd3qiAn71tGj5Or39ujzaBl4ruF/+t6P29Aq8uWukfCZB3Z/UHbm7/s7FWtmbDKIy18oajRR3Irm+cRvKc5DlWNPA6uMoYpVfzr++n0DT/ArGwhD0= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Session Stream + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-application.StatusCodes.json b/docs/docs/reference/api/fetch-simple-application.StatusCodes.json index e62734f03b..7fe983aa98 100644 --- a/docs/docs/reference/api/fetch-simple-application.StatusCodes.json +++ b/docs/docs/reference/api/fetch-simple-application.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"properties":{"playground_build_kit":{"anyOf":[{"properties":{"agent_template_overlay":{"anyOf":[{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-application.api.mdx b/docs/docs/reference/api/fetch-simple-application.api.mdx index b44acacd4c..b70f34a6b1 100644 --- a/docs/docs/reference/api/fetch-simple-application.api.mdx +++ b/docs/docs/reference/api/fetch-simple-application.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one application with its current variant, revision, and `dat sidebar_label: "Fetch Simple Application" hide_title: true hide_table_of_contents: true -api: eJztWUtv2zgQ/ivEXLYFFDst9uTTepNmk74S5NFLYkS0NLbYUqTKh1PX0H9fkJRsyc8kdYEFNidb0sw3w2+GQ3I4A0PHGnq30C8KzhJqmBQaBhGkqBPFCvcMPThBk2RECiR0IUcemMkIM5okVikUhkyoYlSYiCicMM2kiAgVKYlTamhMclRjTDt34k5cZ0gUGqsEzj8zkXCboiYmQ8LERFZWYqt4HPm3cUEVzdGg0vGdMB4kGCIPVJNE5jkzBlPvWbDthN5fnX8msU4yzKmOyUgqwkRhjY7uhLTG//PCC/gORCALVN6FsxR6MHIU3GuWFxzvGyxABAs16N3OQNAcoQcNmXuWQgTMMVlQk0EECr9bpjCFnlEWIwjOQW8GZlo4bW0UE2OIYCRVTg30wFqPYpjhTqARMHKWQlkOHKoupNCoHdDbw0P30w7klU0S1HpkObmshCGCRAqDwjjxhtfdr9rpzBrOFcqRYliwkEgblCqfmTA4RtVw8shLLGdT/CYmDxkKH5xWQlFNRtKKNCLxYUykyVA9MI0dDzGilhvoHZZR00vvtJiejzz3bQdH3Gf3ZgGm75egqqEMpeRIRWMoZ5r0W1GfOzSiXGMZOTCcUG6pkWoX1Lu54HogLVhRoNkFc1WJrQfJqaBjl2PbQT5VYutBEquNzHdhHAWp9RCc79T/yDcpZ1J+26V96mQ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qIJfYD5+odHvl7m9dRZRKHjLAPfAq6Hr5V3nGNNGfj9wzVdLv8HE1ZMIA== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/fetch-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/fetch-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/fetch-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-evaluation.api.mdx b/docs/docs/reference/api/fetch-simple-evaluation.api.mdx index 4efc148eea..a3a612d994 100644 --- a/docs/docs/reference/api/fetch-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/fetch-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Evaluation" sidebar_label: "Fetch Evaluation" hide_title: true hide_table_of_contents: true -api: eJzlWEtz20YM/isanJIZxnIzPelU1Y/aTdq4tpOLR+NZLSFx0+Uju1hPVA3/ewe7pEiKpKW8TjnZIoEPwAcQi8UWSKwtzB7g4kloJ0jlmYVFBHmBxv+6jmEGKySZPFqVFhofcScJERTCiBQJDYNsIRMpwgwakUcVQwQqgxkU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Wu8hpBXaw1fudMfdEfUsglVmLCus1ws09EGrsuRl39dyZiJ4RC1xwcTdryGWhv+Pq7HOjm+b8gPPbqsT8nzUvPO7PtfpTDmX7Bj/ggj+p2Jnmu6LyKreMOtKZiIE5balvVPzeGdttv7fl3dQll8B5SE5pA== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-simple-evaluator.StatusCodes.json b/docs/docs/reference/api/fetch-simple-evaluator.StatusCodes.json index 08c2b6a232..d50b7d8e32 100644 --- a/docs/docs/reference/api/fetch-simple-evaluator.StatusCodes.json +++ b/docs/docs/reference/api/fetch-simple-evaluator.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-evaluator.api.mdx b/docs/docs/reference/api/fetch-simple-evaluator.api.mdx index 0156bc4097..cd4f5fd645 100644 --- a/docs/docs/reference/api/fetch-simple-evaluator.api.mdx +++ b/docs/docs/reference/api/fetch-simple-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Fetch one evaluator via the simple surface." sidebar_label: "Fetch Simple Evaluator" hide_title: true hide_table_of_contents: true -api: eJztWUtv2zgQ/isETy2g2mmxJ582m8cm23Yb5NFLaqRjaWyxpUiVD7deQ/99wYdkybbsNHWBXaCnNtbMNzPfcIbkcEkNzDQd3dOzOXALRipNxwnNUKeKlYZJQUf0HE2aEymQYC1F5gyIyZFoVpQcibZqCikOPogP4hqNVUL7z1MOpqWlMJUqI0yk3GZMzAgzmqRWKRSGzEExEOaDAJERhXOmmRSEZZq4HxxagWqGGfmYgYGPpIQFl5ANaEJliQqct5cZHdGp8/chePbQGKcJLUFBgQaVC3lJBRRIR7SReGAZTShzIZdgcppQhV8sU5jRkVEWE6rTHAugoyU1i9LpaqOYmNGETqUqwNARtdajGGa4E2h4JZcZraqxw9SlFBq1g3l1dOT+6fJ9Y9MUtZ5aTq6jME1oKoVBYZw4lCVnqQ94+Ek7nWXLtVI5OgwLFlJpg1L0mAmDM1QtF0+8xHrSX5KvOQoCopU+ponyycUsIUdEmhzVV6Zx4LWnYLmho6MqWVHqvRWLd1NPeNezKfdrr1+A6YdWpK0YJlJyBNGK4VKT45Zoy50pcI1V4sA6Xu2COmutmW1AWrCyRLMP5iaKbQcpQMDMLa3dIG+j2HaQ1Goji30YJ0FqOwTne/Xf8D7lXMrP+7QvnEyP+zLDvc47mT4KTZrvJ9AJbQeYImYTSPeGcF7L9YSRw97FcOJktqjnoB+s4jvVL0CTO8X71EPZ7kW4CWI9IDmIjOPu0nAoF1FuA6ZKakU5+YSpaend+FbcVNW5L/wqaSwJyzmtxg5hoyVAljFX08CvOs1hJbHmbgs3dmf3y3YYmjKVWg7q2Ru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GqPfpn2e3tCj+BSO/Tgk= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-simple-queue.StatusCodes.json b/docs/docs/reference/api/fetch-simple-queue.StatusCodes.json index 961d14870c..1ce2f4f49e 100644 --- a/docs/docs/reference/api/fetch-simple-queue.StatusCodes.json +++ b/docs/docs/reference/api/fetch-simple-queue.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-queue.api.mdx b/docs/docs/reference/api/fetch-simple-queue.api.mdx index 84071dd75b..ac111394c7 100644 --- a/docs/docs/reference/api/fetch-simple-queue.api.mdx +++ b/docs/docs/reference/api/fetch-simple-queue.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Simple Queue" sidebar_label: "Fetch Simple Queue" hide_title: true hide_table_of_contents: true -api: eJzlWEtz2zgM/isenNoZNc529qTTunlss93d5tW9ZDwZWIJtthSlkmCmrkf/vQNSsiU/EjeTnvaUmAI/AB9AAOQSGGcO0js4e0DtkVVpHIwTKCuy4ddFDilMibP5vVNFpen+qydPkECFFgtisrJ/CQYLghTC13uVQwLKQAoV8hwSsPTVK0s5pGw9JeCyORUI6RJ4Uck+x1aZGSQwLW2BDCl4H1BYsRaBKwEeXORQ12PBc1VpHDmBeHt8LH9ycplVlVgNKdz4LCPnpl4PrhthSCArDZNhEceq0ioLTg4/O9mz7JhVWaGAVdSQlT5uaqxVhmlGtmPeSZBIIKcpes2QHtdJJCPoMouP00BTH3eqA/1dAcxzJTahvuyJriUaGyZlqQkN1MkmibKyGwYyZTOv0b76Gyek/3KlefPRc+X5tfgSUcrJZ8oYhObWu01pqLek11YYr3Vv93nwUrb8H7y9bZwtiPGZznY820i4nuJi0l/pcvQUI+deP0FIsgTFVBy4C63FxeNZ0N/7c6T+I2TWSVNlDqJsC+Nf2Vsn/TrxPKjTDkSdQGYJmfJ75McAO7UtR6Y3rII9+7WcRNjBKJDlq/xXKPkUYRslOWn6BUpOI2yjpKVrspBGcZie0A0OIevdIjSJNV8vqqVla6WlJexFtbR0rbS8HHTEc4zsH609CZDxhUwGFZk8roR2Jj3ZemPikotdVkxApb2VHkvWllaWMjQZaU05dAxYDxo30Yhd1q666Eq7UI2bBbXfTL8o8wRNrUtsMSOxkMlxhjJGdCy8CXNOmDc+COS2gbG1263y3dTLp+NzeNW8avTU0VhH/Ot13raK6gQohksC+lJq97XBfdHKvOOygATmvkADCaDnEiQITfwXUtnjPLVH+QEd5mztaC3zZUW4SfVjvXgD7brZXyeAzqmZKcjsjdyzuTw8pKO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nFXFQI/KdpxHwTjeoOrc1gnrPOJzxCmIWUaTeEziDW3V95ys83DCQJHmP+x/MIBZw6jmsOD3w4OeaksrONWvFKxNWRrt6+aB07KfqlQhmMTTFrU4byFGM5mAOURLVk+M40EzArrWGyxGKOlb0ZVFS/zMMYhGgl4RCNxzITdLiCTlv/PIJmgsrRh0bLcwIfr+kR87K0uul1LmzBqjiEPC/wLBNzTvP0YFurFrMmRRf15kKZUutbGjfLGybTM8T9Pb6CqfgH9H7i2 sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-simple-workflow.StatusCodes.json b/docs/docs/reference/api/fetch-simple-workflow.StatusCodes.json index dbfc15cc3b..7a2b42e02a 100644 --- a/docs/docs/reference/api/fetch-simple-workflow.StatusCodes.json +++ b/docs/docs/reference/api/fetch-simple-workflow.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-simple-workflow.api.mdx b/docs/docs/reference/api/fetch-simple-workflow.api.mdx index dca2e349b2..ee834df8d3 100644 --- a/docs/docs/reference/api/fetch-simple-workflow.api.mdx +++ b/docs/docs/reference/api/fetch-simple-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Simple Workflow" sidebar_label: "Fetch Simple Workflow" hide_title: true hide_table_of_contents: true -api: eJztWUtz2zgM/isanLYzapx29uTTepNmk227zeTRHjKelJZgiy1FqXw49Xr033dAUrLkd113Zg85JbaBD8AHECTBORg20dB/gE+F+joWxZOGYQxFiYoZXsirFPowRpNkj5rnpcDHpyAHMZRMsRwNKgKYg2Q5Qh9qgUeeQgxcQh9KZjKIQeE3yxWm0DfKYgw6yTBn0J+DmZWkqo3icgIxjAuVMwN9sNahGG4ECdRORlcpVNWQIHVZSI2aUF6fntKfFHWieEnuQx9ubZKg1mMropsgDDEkhTQoDYmzshQ8cdH2vmjSmbc8KxVxYbi3kBTWKwWHuTQ4QdXy8MxJxEtOfH71OXrKUEYs8jRGNUsR15FCY5XENI4+nwY5WUiMcmaSDNMTBzdmVhjon1Zxw7DzXs4+jB39XU/HwuV1swDXj63IWzGNikIgk62YrnQ0aIm2vBkzobGKCQynTFhmCrUL6k0juB5IS16WaHbB3Aax9SA5k2xClbYd5H0QWw+SWG2KfBfGmZdaDyHETv13YpNyVhRfd2lfkswG94sUdzpPMpsoNEm2m0ASWg8wRkxHLNkZwkUttyGMjO0shjOSWaOeMf1oldiqfsl0dK/EJnW/jHci3HqxDSAZk6nA7UuDUC6D3ApMFdeKxegLJqald+saSt0ZL9y6r+LGkLRCQDUkgJWOwNKU05Jm4rrTGxYSS962cEOvpm/Ww0DCVWIFU7+9YyMUf+tCvvxgTWnNC1iOhlp5Hc+yNKzEvhrdQvvOhw85GnZgsK3Iltp8x3A+6n7T5mgXIx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4YgGSEjTN0J51fb8GJoD6TNL3SPT0H9f5nYLev8JY1Ik0oorOY7d++zkIY6Bl0p1y22ekyqyvlYW05s5s4sLGCaLdJXfMDwY7DN6mUwxTTPdmFPItpr182hd+vRrH2ufl7897L4X8wp5XJXZWWfyd0XueeezjqGwmk/M7svZj8GPre1VAa/Ck1l7ZHpuZ381nZSxxuic4feXY+8J+hOJ2vS94BaoLJ73Bt+8ohhY6jpQfBeYo8GLgNk1LEbWKRgLeTiHHU2/0VtxQgTGz0Km0XC8hDVFPKB0ijwFaFKoya2KCc95knq7t7MhsV1zUp/vHmzOlv+hFKkbigavdXaTTSfOFhOyaJwW9VQ5MsCskgW3v7MR9raafnvojWnKMJQl6cNZrxuFj8/PxuDY5p/KJtFHRnRNb9tVlsn3l4v3CnOfm/BrCTkmLn8btcmbX6XcOu48e4HuYVab1LkM7SZihOfgm0VcnZ9fbEC6OtjsTBO+cYk8gUVfZ7fmORks4KvVMZucu3uRfrQ83cCvWaub3rT1iVKDTEY0g/NNYs70kAPS+GS7X9m1pam3+tRdZDIokoP3NQUD1B4wQFjJJUWduJAji7O39HEb6qhfztoC7jFxFfdotgsU1iKd8TchSufo8pmhRY/mvsBd+njD06OT6FGRbsA3LQWo6OL85WbkoVX/DFh4mqnseReQ7wU9jxa3vrn7lMCS5j/OXvDmZ8duuDw4PXBIT8qC2NzVC0Tm3K3NPMJVHCB9kqJQrWOmz6vt+DzCvMbGwMx9NsXZIMYssJYFp5Oh2joRsu65sffKtKcq0FYAYbM3O0UUmH4/3S2viz5NWtA8OIyfCMvo/nCuOhvk0/FyeR7Gf4FMdzTZOkmzzWRrKmXaZA4ShJyB6pGd6XncWHNqv7vt9dQ1/8BtNPC3Q== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-tool-action.StatusCodes.json b/docs/docs/reference/api/fetch-tool-action.StatusCodes.json index c183c0a9fa..e8aa493104 100644 --- a/docs/docs/reference/api/fetch-tool-action.StatusCodes.json +++ b/docs/docs/reference/api/fetch-tool-action.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"action":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"},{"type":"null"}],"title":"Action"}},"type":"object","title":"ToolCatalogActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"action":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"},{"type":"null"}],"title":"Action"}},"type":"object","title":"ToolCatalogActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-tool-action.api.mdx b/docs/docs/reference/api/fetch-tool-action.api.mdx index aa0c01e989..50263c0aec 100644 --- a/docs/docs/reference/api/fetch-tool-action.api.mdx +++ b/docs/docs/reference/api/fetch-tool-action.api.mdx @@ -5,7 +5,7 @@ description: "Get Action" sidebar_label: "Get Action" hide_title: true hide_table_of_contents: true -api: eJztV8GO2zYQ/RVjTgmgWs6iJ51qbNLE3bRrZN1eFsaCpmiJKSUqJLWIK/DfgyEli5K87iYwctqTYXJm3ujN45DTgCGZhuQeNlIKDdsIZMUUMVyWqxQS2DND8wcjpXggFFchg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KfZeikKHnoQhEOkuSj4vFfGAw8KNPjA9oR9N2WduhzRVtclu0fnezOUwgpY3OpDxwLm13N5PW8Rrn0mjdMml9tHy5NDzUTVp3q5KDBAzqp3Y7rLQkf6wUnh3hb25taSZpitUVl6rKrtgWC8uumAiCS7LBKy3s3huZzme3uP+ILEPt30iRgG8igaZ9sUNqWSluu3KewLSyudLib9ZA5NeuPGg5T5mNihkz9cGNpvMZHEPdO6LqY9yTrfXkjyE5unZ3W0gAd772wCLb/Xw4IaoQhsHN+OrHqzF9KpWxO1ZELnrJPnrkNvcnGqelZMIXmg+lbojwCJ4I4F+zRAWiSEsGSGAy2Oo7PtDxcB1vKEGH0f68TCBXht63UNdrZvAPLZ2jz2HdpSRnwrC1jBZevwAc78hPTFZ0KU+SJ6YF6ZzWP0Lj0BzhzX1Tv29H3Uzso9RSp9jHPtuYeqgQrb+j72PIv7P7KKm+tedtUTYLG0w5x9JGqoNJRJk7tKUP7xfg3D+rClrl sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-tool-integration.StatusCodes.json b/docs/docs/reference/api/fetch-tool-integration.StatusCodes.json index 50b22f2d97..151d73bfcb 100644 --- a/docs/docs/reference/api/fetch-tool-integration.StatusCodes.json +++ b/docs/docs/reference/api/fetch-tool-integration.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"},{"type":"null"}],"title":"Integration"}},"type":"object","title":"ToolCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"},{"type":"null"}],"title":"Integration"}},"type":"object","title":"ToolCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-tool-integration.api.mdx b/docs/docs/reference/api/fetch-tool-integration.api.mdx index a6770369b7..1b8ea28cc0 100644 --- a/docs/docs/reference/api/fetch-tool-integration.api.mdx +++ b/docs/docs/reference/api/fetch-tool-integration.api.mdx @@ -5,7 +5,7 @@ description: "Get Integration" sidebar_label: "Get Integration" hide_title: true hide_table_of_contents: true -api: eJztV0tv4zYQ/ivGnFqAsNygJ59qZLe7RrZtsPHuJTAMRhpb3FKilo9gXYP/vRhSkikrdts0aC85GRbnxW++Gc4cwPKdgfk9rJSSBtYMVIOaW6HqZQFz2KLNy41VSm5EbXEXj4BBwzWv0KIm7QPUvEKYQ6PVoyhQb37HPTAQNX3jtgQGGr86obGAudUOGZi8xIrD/AB235CusVrUO2BghZX04bY1NrnBPXjPei9JJC/iaHm0N/K1dVJuCrRcSNM5+upQ7weetlyap1w9KCWRE14FbrmTtguqc/2zk3LypjXv/ZqMmkbVBg2ZuZrN6KdAk2vRBOjncOfyHI3ZOjn52AoDg1zVFmtL4rxppMjDfbIvhnQOSWiNphRbET3kykWlNuKALeoEnesgkdxg5lmaguCx3v+2DUQYWqfsXAA+gM1aqM+L/Urnng1hSJ0OFSl77ZfaSQmEamfqTWLCM8i5xZ3SbbTCYmXGgXjWfeBa830KzVE9wed+7RlItVPPDfID6XoGTsvnmvikJVngOd3UbPosj2x1+b5kbBGtTCITyKyz5SYwKgJ3tHoGQgZYu4r6jCJdYMAbEWo3cUMtaOFseRcMj2C/GKGz5eSuDcgfNdXDF8ztoFTvIbaMQLoT79fccql2ST8I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4ITzFsWpsB5LJuPOyeEMTpl5wLxjmzWUX1+2++03rIxDaHTsSFlr/tS1lICsdpDvQkgWgYJt5gp3UUrLBZmGkjL+g9ca96E1BzMA34eNi0DqTL13CA/kG3LoNbyuRCftCQEntBJzXbI8gSrz/clsKVHibwSCLa2+dYpyhN3QD1DIQMs64LqjCJbYMAr4e5u4IZK0LK2+b0DntB+McLa5tF9F1B7sFSPnzGxo6v6AL5kONEdeb/mlkuVBfXAeX3V9Kum/29ND+c+E9urRl9Ooxp5ulWlbE4C9W/6JaQ75Gn0kRC+uxh5oX6bcjqlvGQhHHqUC35HdfOE78sehl6mbcn456uraevzB5ci9Y3aW62Vfn7f41u6kfrGG6RKRqv/QlBD3dmcl+4HlfQPCxQmu3T9fkNjeBYUjfNbHRnRmlZdc1bVvqcbEkMf6N7ZrwHMJDHXxOVX+4/CIW58+N2+QASHFPkMnafCS+qiUt6v17cTQK+PsTDeoY1WowGlQJsrGmEytG5esTksIKZRxsSJV1/czysm3oejSxsH/a2J90cDRwsMDOqnfvhxbxrEvBJODf5vbm1lFnGM9SyRqk5nPMPS8hkXfuOGMJJaC9s4kOXt6gab98hT1K6WBRvuD8/SeNuQSl6Jm8Nt9o+H0uKvng03t+TeqnUS2alQIUsXXLS8XcExtaMlum08ceLqPbllYEfHPpyWHsrC3TWwyItfhhWSBnHo3cxnP83m9KlSxha8DFxMk3v0InUkkHbjSnJRBp2GT/wDuMSDe3oo9SSJPvnAYDGZXA/5p+XjkXPDIFeGHh3Y7x+5wU9ati199sMhZTQVhj/KYDx0r/LxRPnEZU3BO0U8cS3I5rT90amHygc/3HWX88cI2Gk2ep2UTeizj2l0etLwf+j7mFpXPfP+HnS9DCyTBCsb2E+KPfE3XPp3b9fQtn8DueTCEA== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-trigger-connection.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-connection.ParamsDetails.json new file mode 100644 index 0000000000..310ab7b5e8 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-connection.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-connection.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-connection.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-connection.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-connection.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-connection.StatusCodes.json new file mode 100644 index 0000000000..950214796a --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-connection.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},{"type":"null"}]}},"type":"object","title":"TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-connection.api.mdx b/docs/docs/reference/api/fetch-trigger-connection.api.mdx new file mode 100644 index 0000000000..51d3da2805 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-connection.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-connection +title: "Get Connection" +description: "Get Connection" +sidebar_label: "Get Connection" +hide_title: true +hide_table_of_contents: true +api: eJztWE1z2zYQ/SuaPSUzjOV6euKpqp0P103jseVePBrPilxJSEGCARaeqBr+98wClEiKtuJ4nFN7siXsvl28fVgstAHGpYP0FqZWLZdkHcwSMBVZZGXK8xxSWBBnqzuO63eZKUvKZBESqNBiQSxu6e0GSiwIUmhN7lQOCagSUqiQV5CApS9eWcohZespAZetqEBIN8DrSpwdW1UuIYGFsQUypOB9QGHFWgxOd+ij8xzqeiagrjKlIyc4J8fH8icnl1lVhURTuPZZRs4tvB5dNcaQSKJMJYs5VpVWWdj0+LMTn00nt8oKJaxihMz46NSkrEqmJdlejmKRQE4L9JohPa6TDi0hYLn+tAis9cEXOhSka4B5rsQN9WXPtLVoEpkbowlLqJN9OuWbh2EgUzbzGu2rP3FO+g9nyjefPFeeX8uGIoqZf6aMQbjebnHfGuqBdZtF6bXueb8LuxSX/8Jup81mC2J85mY7O9tTXS9wMe9/0+Xoe4y88/o7hCQbUEzFE73QWlwfVkHf98dI/ShkyrGyhEz5HfIh4jr9JEemN6wKOgh/GmFHk5CWr/KfEeQmwjZBctL0E4KcRdgmyJau+Vqa89PihA78FLJ+X4ee3PL1olG2bO2ibAl70ShbunZR4q32pDM5APsLQ3H6t9HzoM46EHUCTvvlc6GuxbdO4OVIi0xV1tyrnOzdP7R+6Eqn0hcya2SmqIxTBro9Ms4Xlw3EhSoDZOhycRh5DHWXQ2s6uqB1oB3/b7gv1nDPMDZcx8jeHZphLOXKUsZ33urnavSqwRjdWA31INGBcNqx8DrmNwR/CKWdR2/78h1KbyjWNuYToz3qvxtK61r8fj05Gc6wf6NWeZT3W2uNff4AmxOjCpVp1LVvoE3WW/2R0zGr9wTZmaJMTDDMQm556DB/JOdwSa1CHzcNZIymshoahghbzHdtoVF6xl87MIOanAqXX/lBrXVVItzE9Bu7ji7aEsUKPU7FWSzBIZF8mE4vB4BRH31hvCcenXafZQXxysjTbUkcXmm8ghTGzRPOjduXiBtveq+1GhJwZO+3L7pwgGGMlQq1jh9XzJVLx2PyR5k2Pj/CJZWMR6ii4UwwMm8VrwPI5PL8gtYfCHOykN7OugbXItEour7ZrlBYqYtwHpvX5cTzylj1LzabDa/LVfSqgwAWplv/SUhuNLk8h33iektyljAL0tlGCsuQ7G273a1caUU4ScCExW+7FSm8cBjDHB/9cnQc7kfjuMCyE2JQur1BoeFAhDmuNKpwdJquGst6C9uyQveJKZ/S/kN8lsDKOBaXzWaOjm6srmv5+osnK6WaJXCPVuFciLvdQK6c/J9DukDtaJDdrv3Aq6vmhLwetfdRP+ttOUup5T1qL58ggXCr7/1mEJrIaiuYTWMzyTKquOM96HmirJ3437+dQl1/A4nmzBw= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Connection + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-delivery.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-delivery.ParamsDetails.json new file mode 100644 index 0000000000..319265d2a2 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-delivery.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-delivery.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-delivery.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-delivery.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-delivery.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-delivery.StatusCodes.json new file mode 100644 index 0000000000..6758b58051 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-delivery.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"delivery":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"data":{"anyOf":[{"properties":{"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"is_test":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Test"}},"type":"object","title":"TriggerDeliveryData"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["status","event_id"],"title":"TriggerDelivery"},{"type":"null"}]}},"type":"object","title":"TriggerDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-delivery.api.mdx b/docs/docs/reference/api/fetch-trigger-delivery.api.mdx new file mode 100644 index 0000000000..af352e3459 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-delivery.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-delivery +title: "Fetch Delivery" +description: "Fetch Delivery" +sidebar_label: "Fetch Delivery" +hide_title: true +hide_table_of_contents: true +api: eJy1V92P2kYQ/1fQPLXSFi6nPvmp9C5NTmnVE0fyghBavANssv7I7iwKRf7fq9m1jX0cCC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az+L6ZRfbttolYVor8qusEfB+cG4+cneM1a7xUXkkxD3jSWwmsQrz778LXcFrJQRkAosz/aNxz1dlOAu+G74R0/KgtHmcw7Jo7i1nOw5YCzclQaqUPdBHf2dUxn0MQU2hOOS1hA0r1x5wI2BU+bGez3S+nwszVVxY+/+3DzzeYCttJquWTWZntQ2vFvBclKGodHrrWNB36Z1LXx6wDE2y43scz5G7fSeP4PBISlrneMh+axaXJlX0uM0xRL6uge9TpOqjbpP7yfQlX9D+66hNg= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Delivery + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-event.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-event.ParamsDetails.json new file mode 100644 index 0000000000..feffc91d28 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-event.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"event_key","in":"path","required":true,"schema":{"type":"string","title":"Event Key"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-event.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-event.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-event.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-event.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-event.StatusCodes.json new file mode 100644 index 0000000000..89c75d9d75 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-event.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"event":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["key","name"],"title":"TriggerCatalogEventDetails"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-event.api.mdx b/docs/docs/reference/api/fetch-trigger-event.api.mdx new file mode 100644 index 0000000000..f2dda2cdb0 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-event.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-event +title: "Get Event" +description: "Get Event" +sidebar_label: "Get Event" +hide_title: true +hide_table_of_contents: true +api: eJy9Vk2P2zY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/iHLp2j5a8NakrynsGJa8mfKOS7FjJp6H8G6YGXBmeX61sd/PQpVuObBbDnL90JoSL/Trxs6AtYeJ5Mn6Uk0h/IfRm+H0w/ZMj36aKrsPhyg7UQWNuR5WysUCn2Teb93Rac+wdkIzAU +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Event + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-integration.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-integration.ParamsDetails.json new file mode 100644 index 0000000000..30414612b0 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-integration.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-integration.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-integration.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-integration.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-integration.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-integration.StatusCodes.json new file mode 100644 index 0000000000..cfc1c6e9fd --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-integration.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"TriggerAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"TriggerCatalogIntegration"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-integration.api.mdx b/docs/docs/reference/api/fetch-trigger-integration.api.mdx new file mode 100644 index 0000000000..76f3be4829 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-integration.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-integration +title: "Get Integration" +description: "Get Integration" +sidebar_label: "Get Integration" +hide_title: true +hide_table_of_contents: true +api: eJy9VlFv2zYQ/ivGPW0AYXnBnvQ0Iy1aI90WNOleDMNgqLPEThJV8hTUM/TfhyMlm7JitwiKPiUm7747fvfdnQ5AMneQruHR6jxH62AjwDRoJWlTrzJIYYekii2F+62uCfNwCwIaaWWFxH7p+gC1rBBSaKx51hna7b+4BwG65jNJBQiw+KXVFj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it_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Integration + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-provider.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-provider.ParamsDetails.json new file mode 100644 index 0000000000..68d3f6140a --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-provider.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-provider.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-provider.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-provider.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-provider.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-provider.StatusCodes.json new file mode 100644 index 0000000000..c50b4be2f3 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-provider.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"provider":{"anyOf":[{"properties":{"key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"}},"type":"object","required":["key","name"],"title":"TriggerCatalogProvider"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-provider.api.mdx b/docs/docs/reference/api/fetch-trigger-provider.api.mdx new file mode 100644 index 0000000000..cd02e6850d --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-provider.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-provider +title: "Get Provider" +description: "Get Provider" +sidebar_label: "Get Provider" +hide_title: true +hide_table_of_contents: true +api: eJydVU1v2zgQ/SvGnFqAsN1gTzrVSIs2SHfXaL29GEbAUGOJrSSy5CioK/C/L4aUZClO0sWeLHM+OPPem2EHJAsP2R52ThcFOg8HAcaik6RNc5NDBkckVd5Rst9ZZx50jg4EWOlkjcRB2b6DRtYIGQwOd9/xBAJ0w2eSShDg8EerHeaQkWtRgFcl1hKyDuhkOdaT000BAkhTxQfbPtniFk8QwoFzeGsaj57DrtZr/snRK6ctVwwZfGmVQu+PbbX43DuDAGUawobYXVpbaRUbXH3zHNNNSrGO2yedblCmTUF9hbohLGL3Q4nX0UNAjkfZVgTZOogRhHhdc/r7GBGap2Z8nmgdm7ZmQpSprfHaMCHDXT1JAyq3uskhiB7551H8i+1BzHGaFjYPDGI8adqqgjCp4N0kRRAJjqQVfzdidZF4QO2lzDeTVIsEaghicDf331DRTEN7SAqL3V+CdC1JVqYYsHri7qfSv5xk1FMIHPzH1dWl/L7KSuexjcV754z7/9rLkaSu+EsT1v7SoTJqZv0PhI5MHM7NS+fkadL7J5MKZIJrX7ykrD/Re1lEcSWX510jGIsdW6NwbJvmaqSfD4IART8naS6IuWYsf/5eG4xNKr/3myjkTFFi6Hko3iUKXlLKx91ue5Ew6WMujA9Ii+15e9ZIpeH9WiDFZUolZLDq96xfqSS91bBK/KqbrtYAAjy6h2H7tq7icGl1pDv9LYmsz1YrbJeqMm2+lAU2JJdSJ8cD51Ct03SKSTbbm1s8fUQZV9f+MHX4wipNupu7jVxJq2/PE5nBpqXSOP0rial/CsoUFaIGjmYqgU0sbrHZ3sBj7GYmHieponqGm6IZxKO2z93yXq3jMAGhrN+OFuaeMUzXrJdvlms+ssZTLZvJFY/Ye7RKewRYmStbSR1nJxbT9czuYWCWO0jcwvmh4NNs9nQeBJTGE0d23b30+I+rQuDjHy065usg4EE6Le8ZvX0Hufb8nUN2lJXHiyLHNQSvPveT8noB4uniB04bJvRBVi3/A5FerfkjH3dJOYimf9hgoxRamgRfrD5W1zgFH97vIIR/AX5F76U= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Provider + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-schedule.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-schedule.ParamsDetails.json new file mode 100644 index 0000000000..18752008c0 --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-schedule.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..801282857b --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-schedule.api.mdx b/docs/docs/reference/api/fetch-trigger-schedule.api.mdx new file mode 100644 index 0000000000..fd1b6f4c8c --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-schedule.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-schedule +title: "Fetch Schedule" +description: "Fetch Schedule" +sidebar_label: "Fetch Schedule" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFz2zYM/is8vqzNqU7W25Nut5vXJGvWrc0lbl8Sn4+RIJkNTaok5Fbz6b/vQEqyZMeOm6VPcUTgA/gBBECuOIrc8fiGT6zMc7COTyNuCrACpdEXKY95BpjMZxjWZy6ZQ1oq4BEvhBULQFKKb1ZciwXwmLcCM5nyiEvNY14InPOIW/hSSgspj9GWEHnJheDximNVeFW0Uuc84pmxC4E85mXpUVCiIoHrBptdpLyupwTpCqMdOEJ5fXJCf1JwiZUF+U8qZZKAc1mp2FUjzCOeGI2gkcRFUSiZ+O0ef3aks+p5VlgiA2WwkJgyKDUOS42Qg+15+MZLRDyFTJQKeXxSRx0l3pyuPmSeryF0pnwgNj9LNxMJyiX0rN4Zo0DontULx8ZBqmeZSK7rqNUyd58hwZ5SE/GW03PvAMk3jqw9FWkqiR+hLgfOrSU2PKujzZjSl4dheCJtUiphX/wt7kD95Yx+9aHEosSXfNN5Cnnr/qY039pqzwtdKjXQnjSbXQCKJ262t7ONdBgYXtwNv/Q5eoyR81I9Qki04hJhcaCWsFZUe3nZ0P0+Uv8hMuuoqQQHUbaF8Z5062h4ip8GddqDqCOeWBAI6UzgPsBe8UkFwiuU3p/dVt4EWDb2ZJVF+iOMfAywjZEUFPwAI6cBtjHS0nVXUSU/zI4v14eQ9UflS/iar2e10rLVWWkJe1YrLV2dleeDbrwW+EAPgiVonN1D9VDjbAHOSIi9Azrsg/azS6HtAl4ehcWZT5fnTK9rgmWTIMZBp89v4kynnQG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Y96mSjPX8HGSQIE93a1KRznVpfyfZxNe1/8BYwLi4Q== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/fetch-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/fetch-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/fetch-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-trigger-subscription.api.mdx b/docs/docs/reference/api/fetch-trigger-subscription.api.mdx new file mode 100644 index 0000000000..c5ab07ad7b --- /dev/null +++ b/docs/docs/reference/api/fetch-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: fetch-trigger-subscription +title: "Fetch Subscription" +description: "Fetch Subscription" +sidebar_label: "Fetch Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFz2zYM/is8vqzNqXbW25Nvt1uWNGvWrc0laV+cnI+WIJkNTaok5Fbz6b/vQEq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oRNasMBewCgbsa/G3qfKfJ01xl5GzN+tyMpCIAEGkIj0NPO3EXCMQsdEJqR2yCS64FDYD63Rhs4MMm3QX12CgtRovGMWnFGrhpXyp1afsYuU3UPJpGMOMKoN1VZrbQex0Ymw5V51bXAHRCItxKhK1nrSj1ALtiP7dqXb5uI47VT27dLavUOcUV94CKzf1upmsh/3QJf3ILRX0KoizV9ev96+sfpLWAjqG2v9AXvidTUBFFL5K2QYzocCysS91cdcLu6qwTzfuROZ4KC/2bhsXx/+B5wTWaeW7mnZRAa7odWmf3rxbnfz8wp+68BsReWUuPyGD+YHcRPcr+W6vasNUYjQ96k4CyHYlyZvb24utwBDfvQT45wKB7vuP8YsAReGnmwyQN6UfD6uRxo37r49uPF68EpTcepFdtW85RRWkbbIpY95+LlAzN1kPIZiFCtTJCORgUYxEjII3hFGXFiJpQc5ubx4B+VbEAlYPpnedQWuKVVD8vXF2oCJXFL7aq5v/KTAhbHyX1Fv2L8qLYJW5RMhNd08OPHOsZPLi63O1FuiMyVin0KNJb/Mo8G2N7vlEYelP1EcQSx/b1coAdpxiB+Pfh4d+/5rHC6F7pjYGcLBHbPmgZJ0nCsh/THyLq3r8E6bidXx/uMS/Z4MH+LuIr4w9Hgz5ev1XDj4aFVV0ecvBVgK2V3EV8JKMScCp2ueSEf/J/ULzpaHbTniL67qE/OSba73fc+bsGqK6Uqogn7xKIw3W6+GvqwsmtSphyB+EseQY0d/qwpSjrVH4c83N7yq/gMKgDW1 +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fetch Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-webhook-subscription.StatusCodes.json b/docs/docs/reference/api/fetch-webhook-subscription.StatusCodes.json index bedd7f2965..7e5e0d98fd 100644 --- a/docs/docs/reference/api/fetch-webhook-subscription.StatusCodes.json +++ b/docs/docs/reference/api/fetch-webhook-subscription.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-webhook-subscription.api.mdx b/docs/docs/reference/api/fetch-webhook-subscription.api.mdx index 085a52e32b..2ac237c899 100644 --- a/docs/docs/reference/api/fetch-webhook-subscription.api.mdx +++ b/docs/docs/reference/api/fetch-webhook-subscription.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Subscription" sidebar_label: "Fetch Subscription" hide_title: true hide_table_of_contents: true -api: eJzlWM1y2zYQfhXMnpIZRnLcHDo6VY3jJk3SemInOcQaByJXIhIQYIClbFXDmT5En7BP0lmQEkmJkh2Pc+rJMvfvw2J/sQKScw+jT/ARp6m1Xz1MIrA5OknKmlcJjGCGFKdX1xX9yhdTHzuVMxkiyKWTGRI6VrICIzOEEbSZrlQCESgDI8glpRCBw2+FcpjAiFyBEfg4xUzCaAW0zIM4OWXmEMHMukwSjKAoghZSpJnhvKVfvEqgLCes1ufWePSs6fjoiP8k2IBlsThG72eFFu9qZoggtobQELPLPNcqDkcffvEss2qhyx07hlRlIbZFJVSDVoZwjq6F8nngiCDBmSw0weiojDquCSbN8s9Z8F1X/UyHi2kzyCRRLCb1WYe14aihTK3VKA2U0bZL+Uu/GoiViwst3aM3cor6d2/Nkz8Lygt6zEeqtNjpF4wJ2NvrQ25zQ7nD3aAwhdYd6dNwShb5P5z2oj5shiTvedjWybbirmM4m3a/tH10m0dOC32LQ6IVKMLsjlLSObk8HAVd2e9z6lt2ZhnVpedOLtvR8QfLllG3XNxP1UlLRRlB7FASJleSDilsVbpEEj4hFfDst/K8UivGwVlFnvwII+8rtbWRBDX+ACMnldrayNpd0yW3jbvZCb3hLs76dRl6ReOvB7Wy9tbGytphD2pl7a6NlYdTXaOW1NPsCqf7+nMmb96gmVMKo+Ojn3+KIFNm/eFp27ZTrb743mm2lKJMwtxwl0K4nYDfUSBe1nZKnlaW2srkaqZQJ3eyXE0odzd2VlkQp5WFMgJZUHqV2eRgcYoATZHxHObV3EgqHE8mLGqd+isMJDA5ZHdcUCrespUyAlygoStm3TpjXbX3W6+nPD9ojyl+QOgJwwDmZIx+EEb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xXnxSWHfrAzuPtwn8lZgsKnj/DpI/77518hBedJSIKTAkmYudhKGlzpK/1JJjk6IS2KCK1aYiTm1qQ1l3BGUIyizDcnHMmVUFq4lQ4HV/rSCBlFQgqN18L1QwmEIpHmjsRcWUcCb5QjltGE8jlGLfCGUEdKLwTFyglO7UBYXKDmpQvFKVotwkSx4YTUkSjbIQO80lcwXkqVdO1wBcJh6LchpcXXoxfPtpUijW6+DhoV+fZxzyMWl7489e0L9fr2xTeeXUc2V4gTWc5/DkOL9Iit9sILrNpsKf2hQ2Ep6tbL+t57+LY9au65cm0X06Lgky+Oj3f32E8yUZHvOuKVtcY+fImNkKTys8O297QZEhO2qPfZeCbdqGssaqYE6Nctt+jrefUC4ZxcYB3C+1m9MXzk+tFL87LC7JsJSlfbS0g3DTE7XnnJtry5PR7YNiX8iq8RG7WLSg/tN8VJ6YJDYfL68vJ8R2AZH+3AOOX6LS7aTzQpUmz4IWeB5F9sePyD4aZCDFuzxHDdebspgLPLLjcvPH7UhKHMlPd5+W9MlLnRcIj5IExMHg3kAjXJgVQl48RnaG4VrbyQ8fnZG1yVkx+MvkyaDBccqmXwtdm2DpOZeoNswuq1adyaw6q3pnJ89WZVem6acTD24MT4/Gyn0bRInFMy9CG00eTJEHSuXd+WG1/qMwoIZfrblsIBwDYs1RwNng+O/MRrHKVSN1T0urCz+FZ24CAdZolUPo2qHaB0bz0qQvvJif8fdZ/nJgHExhEfW69n0uFHmxQFf+Z+zy6bBLCUVnHf8Q6MlOPfEYzmMnG4g3BbjuDJhypjnor6zaGNfONWzT5dcrOGEUAA33HV85boy0q8CZ11xTUOQ8yocX6nCnKMbVPhj1eXUBT/Ay+vVWc= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-workflow-catalog-harness.ParamsDetails.json b/docs/docs/reference/api/fetch-workflow-catalog-harness.ParamsDetails.json new file mode 100644 index 0000000000..c54e0b3ea9 --- /dev/null +++ b/docs/docs/reference/api/fetch-workflow-catalog-harness.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"ag_harness","in":"path","required":true,"schema":{"type":"string","title":"Ag Harness"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-harness.RequestSchema.json b/docs/docs/reference/api/fetch-workflow-catalog-harness.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/fetch-workflow-catalog-harness.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-harness.StatusCodes.json b/docs/docs/reference/api/fetch-workflow-catalog-harness.StatusCodes.json new file mode 100644 index 0000000000..bda1f6d3a1 --- /dev/null +++ b/docs/docs/reference/api/fetch-workflow-catalog-harness.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a harness record is returned, `0` when not found.","default":0},"harness":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"}},"type":"object","required":["key"],"title":"WorkflowCatalogHarness"},{"type":"null"}],"description":"A harness record referenced by a template's harness field via `x-ag-harness-ref`."}},"type":"object","title":"WorkflowCatalogHarnessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-harness.api.mdx b/docs/docs/reference/api/fetch-workflow-catalog-harness.api.mdx new file mode 100644 index 0000000000..d9e9114a88 --- /dev/null +++ b/docs/docs/reference/api/fetch-workflow-catalog-harness.api.mdx @@ -0,0 +1,73 @@ +--- +id: fetch-workflow-catalog-harness +title: "Fetch Workflow Catalog Harness" +description: "Return a single harness record (with its `capabilities`)." +sidebar_label: "Fetch Workflow Catalog Harness" +hide_title: true +hide_table_of_contents: true +api: eJzVVktv4zYQ/ivEXJoAiu0NctKpRnbbBNtHkKTtwWvEY2kkcZcmuSSVxBX034vRy7K9cYu99SSJ8+DH+b4ZqoKAuYd4AX8Z9yVT5sXDMoKUfOKkDdJoiOGeQum0QOGlzhWJAp0m74WjxLhUnL3IUAgZvFglaHEtlQyS/Op88kl/0m2wF1ezK/FSkBahILHC/KnLshLSC22CsOiCMFlj94W0llKRYEBl8ibRA1EsFgPM5dnUUUaOdEJTtPIiL2VK05fefj6BCIwlh3yK2xRiyCgkxVPv8dQl74FABBYdbiiQ44pUoHFDEAOOXSQXxGIoIAJHX0vpKIU4uJIi8ElBG4S4grC1HOmDkzqHCIIMihfmubjpUtX1kjN4a7Qnz0GXsxk/9mv/UCYJeZ+VStx3zhBBYnQgHdgdrVUyaQ45/ew5phoBsY5LwHTwV2LKNqjDJ3WgnNwI4HXjcSiA1btVyx0eci/5jQmmNBKrWefGdGam1OmkSZVhqQLEszqCvpAMXG9/z5o674Nsqz6271ezjoYVXSoFXMce/m8cWx/A/75U70cp6gi+0PYUsR9py15j/e9vjGkqORequ9FpW910Sc36MyXhJKjrcf66PgwdS3LRQB7F9p1z3cp+0OE3tttnf35I+tB3qVhvBYpAG6sw0A9+8MwkqVQ8SxSr1wvML7r1C0fZavJN5KdhDtqvaw6+urw8bpU/Ucm0aQTxwTnjvr9PUgooFb/JQBt/7KBMsmf9DwLre61e7g6PzuF2dPZfTAuQpbTx+SnB/UreY96IvXV527Uphnhka80DzJbtDOjMt80Cize8jtIcEXPNtXwN/yo7rk0Lv/MbaXBHUcvQ26V431JwSik3j493RwlbfWwoFIZHfk6hmeuhgBh2l8O0m/3TTpfkp9VuzNcQgSf33N8DpVMcjVY2hLafRQjWx9MplZNEmTKdYE464ARl67jkHEnpZNg2SeZ3tx9pe0OYkoN4sRw7PLAOW2Xtuw1soJU8YqL+TpqXoTBO/t3KpbuWijaqbljOzJjkeQNOzO9uj4b7nokbBpOwm8OdGaKDY+9OCxHQpmkXCISbHwcLs8s1bLeZTd5NZrxkjQ8b1KMtfuJ7WfSNL7rOH27Ko3E+dPX/+M+k45U7amoVyqbnmxJXnVwXMEQwMe1+MFyhxKvx6N9kGUFhfODAqlqjpz+cqmte/lqSYxEuI3hGJ3HNklhUkErP7ynEGSpPJ+p8dt81+Ll4C3svVM0qfUZV8hd0F+f4H6oZgEXfB1XnME8SsmEUejSvuWGGvv75wyPU9T/hK7dA +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Return a single harness record (with its `capabilities`). + +Returns 404 when the `ag_harness` is not part of the shipped catalog. + +See: [Workflows](/reference/api-guide/workflows). + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-preset.StatusCodes.json b/docs/docs/reference/api/fetch-workflow-catalog-preset.StatusCodes.json index 7500f40d52..6b4f0b721c 100644 --- a/docs/docs/reference/api/fetch-workflow-catalog-preset.StatusCodes.json +++ b/docs/docs/reference/api/fetch-workflow-catalog-preset.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the preset is returned, `0` when not found.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},{"type":"null"}],"description":"Named parameter set defined against a template."}},"type":"object","title":"WorkflowCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the preset is returned, `0` when not found.","default":0},"preset":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},{"type":"null"}],"description":"Named parameter set defined against a template."}},"type":"object","title":"WorkflowCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-preset.api.mdx b/docs/docs/reference/api/fetch-workflow-catalog-preset.api.mdx index e6f0b50c0d..09c6f7fadf 100644 --- a/docs/docs/reference/api/fetch-workflow-catalog-preset.api.mdx +++ b/docs/docs/reference/api/fetch-workflow-catalog-preset.api.mdx @@ -5,7 +5,7 @@ description: "Return a single preset for a template by key." sidebar_label: "Fetch Workflow Catalog Preset" hide_title: true hide_table_of_contents: true -api: eJztWEtv3DYQ/ivEnBKA2XWCnhYoUMNJGjdts1g76cFZ2LQ0kphIpMLHOpuF/nsx1GOlfciNkxY95GSvODMczvdxODMbcCK1MLuCv7T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EXgUBS/dCuU9K5/gZPJ08kJfSq1dYVQvS1e0myLteWANfWAzdvZ1s7Mojvr/+PhXZM2OkfTMhdS9brMmqRX0GlAGI+Qz6TZEhU4zHbmdw1XaaU3c1tyyLR1BLnZ3AqLb01eVfT5k0dD7FtyWAkjxS1x4WoDsbT0f9xdPkcj/GjRHPjH7JhXLUMVWUgjDvoFzVxoOIGk0/Mf7t2LUSjGWXv4No3AaRRhaPRa1b27g05pV2N+fXEJVfU3Z7C6iQ== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-workflow-catalog-template.StatusCodes.json b/docs/docs/reference/api/fetch-workflow-catalog-template.StatusCodes.json index d2b62778ba..cc2bc11e18 100644 --- a/docs/docs/reference/api/fetch-workflow-catalog-template.StatusCodes.json +++ b/docs/docs/reference/api/fetch-workflow-catalog-template.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the template is returned, `0` when not found.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},{"type":"null"}],"description":"Workflow blueprint (key, name, description, flags, default data)."}},"type":"object","title":"WorkflowCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the template is returned, `0` when not found.","default":0},"template":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},{"type":"null"}],"description":"Workflow blueprint (key, name, description, flags, default data)."}},"type":"object","title":"WorkflowCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-catalog-template.api.mdx b/docs/docs/reference/api/fetch-workflow-catalog-template.api.mdx index c1f769c6f0..c771ac8bab 100644 --- a/docs/docs/reference/api/fetch-workflow-catalog-template.api.mdx +++ b/docs/docs/reference/api/fetch-workflow-catalog-template.api.mdx @@ -5,7 +5,7 @@ description: "Return a single workflow template by its key." sidebar_label: "Fetch Workflow Catalog Template" hide_title: true hide_table_of_contents: true -api: eJztWEtvGzcQ/ivEnGyAkZygJwEFajhJ46ZtDNtJD45gU7sjiTGX3PAhRxX2vxfDfeuxbpz0UuRkizvzcTjfcDgzG/Bi4WByA38Zez9X5sHBlEOKLrEy99JomMAl+mA1E8xJvVDIHipR5jHLlfDIZmsmvWP3uB591B91qeDYXWKC9j+f3LGHJWrml9iqSMe08Wxugk5H7LpadkxYZAtlZkJ91Bl6kQovmNBp/EAaLjE5pswbJlhuzSdMfNz0CnHCbppjTI/GFudoUSc4Frl8tggyxXFtuzseAQeToxV0yvMUJjBHnyxva4nbRHihzOK2Nhk45MKKDD1actkGtMgQJlAL3N7jGjhI8lku/BI4WPwcpMUUJt4G5OCSJWYCJhvw65x0nbdSL4CDl17RQu0J9hbXUBRTwnC50Q4dqb04OaE/fYKuQpKgc/Og2GUlDBwSoz1qT+Iiz5VM4knHnxzpbDqm5Jb84GW5Q+SsY6HUHhdoOyaeRYntKLl7foBmG6MBU87u6khomY8wcxGUh8lJwRtfRqv1+t08OrpvYen27ve+MwverOigFJATa9v/JN1iy/anQb3sQBQciPwBXiOdHBLhcWFsdZJ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b9lToL0NL+vSCRNglK2KPXQanfnNHP3gWfB38M+8is3oB/o/X4a7ClC18VPhctpBTuOg/+B7jfC9zzEs6Cg4naP5D9Xsi+q/AcSqlk/KpKKntf2R/p5D9NJwU/cLpYKD1eJl3iStJb/pKKoT0E7qG+beRuYqU/PVh81Q3c3tP0W6Zak81UwNxK7dnRPa45ow6Hs44wZ7EWp7VYEzKq445Hg1F6wK+mQywK0v7pxYvdhvKDUDKNhTp7ZW2ssp/YTabohYwFYdOd9AWUSXpfv+YqTLdbm/bwv5uq0Sg4ZG4x1Jn9gc6JBbbheFg0gsGu6Wv9pkXxblaOHZr/0jGzw8wZYfnF72WvG2iETel+JdctRxuKSoYOQ/GypGAoVN5cX1/sGCzjI0O/NDQdWcQ+Kc41JtDOUcbVmGRcd+5uvOkORArg4NCu6plJbA+AJjKR0vLn0vvcTcZjDKNEmZCOxAK1FyMhS8Ep2UiClX4djZxenL/FdVmgwuRm2hWIibmMrb5Yw4fI5ds4qanmN6fBL42Vf9edaRzglE1IRE3quenSfBqdY6cX5ztDkN4nujIi8e3IovoMfOvY7WmpjM7ihQGPIvul+UL8Ng0MnIyej05oKTfOZ0J3tnhNQyzWZJbq8jcDtm2PN+3F/h/P+Sri6dKNcyWk7jSqZUTfQKMBccJCqEE7j6LVSW/QN+WwNM6T6mYzEw7fW1UUtPw5oKU4nXJYCSvFjKLmZgOpdPR/2rxTB5k4uqyywDE75H0dy5oCmaYh9AuqMVR/JBnz5LK+LJtK5DRJMHZmtfJOWqdb1Vz/X19dQ1H8A8mpsNw= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fetch-workflow-revision.StatusCodes.json b/docs/docs/reference/api/fetch-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/fetch-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/fetch-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fetch-workflow-revision.api.mdx b/docs/docs/reference/api/fetch-workflow-revision.api.mdx index 5bc0473f59..8c1b1f7ff9 100644 --- a/docs/docs/reference/api/fetch-workflow-revision.api.mdx +++ b/docs/docs/reference/api/fetch-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Fetch Workflow Revision" sidebar_label: "Fetch Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztWl1z27YS/SsYvLSd0pKb6ZM6nbm+dly7TRqPP3ofHI8MkSsRMQiwAKhE1fC/31kQoEmRomxHeen4yZa0OLs4u1gssFhTyxaGTm7p/5R+mAv12dC7iKocNLNcyfOETugcbJxOP3uBqYYlN1xJGtGcaZaBBY0QaypZBnRCO5JTntCIckknNGc2pRHV8HfBNSR0YnUBETVxChmjkzW1qxwxjNVcLmhE50pnzNIJLQqHYrkVKBDsJZdeCTlPaFneIbbJlTRgEO7N4SH+ScDEmuc4JTqhV0UcgzHzQpBLL0wjGitpQVoUZ3kueOwYGH8yOGbdMDHXyI/llYZYFdUgbzmXFhagG6YeO4low4j7n+7J5xQkYSTwRLghGmyhJSQRuT/0AlJJIBmzcQrJyOHMWSEsnRyWUZdsZ79cfZg7l7RtrYWXTHMm7dSIYtEe0Oa/jOpvZCEERX47HvirAiNXCFZGdB/gm5i15XuxOKAybfmcxV9n6pEH6doaiODJEPZmjD+Lcwz6R8b3p6iNX8/oG8yk0lB7Yn8aar94DYVNld4beIVWRjRhFp6IiqIHlmcwCH2CgGVEMzCGLQaxh2De++FlROfCJfnteYGbaSPlNZLZTCkBTDaS2bkhRw3RRjaaM2GgjBAMlkwUzFZ0D0G9rQX7gYzkeQ52F8yVF+sHyZhkC0h2gbz3Yv0gcWGsynZhHFdS/RBC7Bz/TmwbnCr1sGv0GcpsMV8lsNN4lNlGoY3T3QSiUD/AHCCZsXjnFE6D3JZppGxnMByjTM/wlJlpocXg8DNmyI0W24ZX+/dOhKtKbAtIymQiYHhpIMqZl+vAlFEYqGafILY9VVEoik7dyu+mC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weVv5Fc5YVwp0DX77v3Ov+OvdF7oiQ2BTWHFfj15D4w8YLl9LaAXr+A+haMmx8IiO12S2mI5aFgfsamcBUUjU/AR4ULycEANITFtmBCrAnGPbGqDq5GI3ryWX6Wp0qThGuILalDzkQYnQHrnsRMaw6G2BRIaOGRKfH9SDKtET9LmzJLvjJD3HMCSCYEFYBcca1kBtIe4L0/JC1l3JInQsU66EM0aI4lPzc/hcbr1rd1mz3MXCj1WEFZppdgSZFHhMmE3Aff3mNLfoMSj7CeEXy9UJKM5YRLwxMgW2b8YD7LJ3qcoJt2BYdKa12Tl6QN03WWQ1L5gYAViOaG+4JtvX78UJY47Nd377pvJf5ggieu10dcnn39Q4kELOOileHbAkLF7R3/BfXi3fD28EH5XiVeoZtl3yOTnp5pJTIs6sgg1/hrOPg58ebRxV1N2r8aMB2XHCOXf9letzX3K+SmMt/LtXr1wUWVh4apOKlcMBYjZ9fXFx3AKj7agXGKy5h0nuFQ16dIFT4cWrqWrHvyM6PTUB2aaYhWM930vRUqKSZXvQrPitxdG52ynDvXVx9Ta3Mzm06hmMRCFcnEtQbZhPFK8A4x4kJzu3YgRxfnv8O6uu1xBUJDwJ1yqhhsi9V+Yzn/HZBJ/8Spav/z/4YmuHvbVN3oOXbDzlw/F3DGkaOL805qbv2ES4vFLpKCJvczjbam/TRbV6q4hUUtsOwf9S+ta156OPllcohf5crYjMmGimFPbjU2PBkYsNNcMC4bN6GVl2/rpyLGBbD3M43orPdV2F1EU2WwYqObzQMzcKNFWeLXfxag0XN3/nXLA/J4u6EJN/h/Uh+DtmyskxP98dKvn5/I0/mtbXvwrkTX4lME/EQj+gjroXdsLtOkIYw2XvQojsFdAAaQTmLEeKsXxr/eX9Oy/B/T5KOQ sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fork-application-variant.RequestSchema.json b/docs/docs/reference/api/fork-application-variant.RequestSchema.json index 825ab53a9e..3b152fa864 100644 --- a/docs/docs/reference/api/fork-application-variant.RequestSchema.json +++ b/docs/docs/reference/api/fork-application-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application":{"description":"Fork payload. Must include the source `application_variant_id` (or `application_revision_id`) plus a `variant` object describing the new branch and a `revision` object for the new tip commit.","properties":{"application_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"RevisionFork"},{"type":"null"}]},"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"VariantFork"},{"type":"null"}]},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"workflow_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"WorkflowRevisionFork"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationFork"}},"type":"object","required":["application"],"title":"ApplicationForkRequest","description":"Request body for forking a variant into a new variant on the same application.\n\nThe fork copies the revision history up to `application_variant_id` /\n`application_revision_id`, then commits the `revision` payload on top.\nBoth `variant` and `revision` objects must be provided."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantFork"},"application_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"application_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["application_variant","application_variant_ref"],"title":"ApplicationVariantForkRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-application-variant.api.mdx b/docs/docs/reference/api/fork-application-variant.api.mdx index 161fd0191c..d392734ea3 100644 --- a/docs/docs/reference/api/fork-application-variant.api.mdx +++ b/docs/docs/reference/api/fork-application-variant.api.mdx @@ -5,7 +5,7 @@ description: "Fork an existing variant into a new variant on the same applicatio sidebar_label: "Fork Application Variant" hide_title: true hide_table_of_contents: true -api: eJztHF1z2zjur3D4su2M4qRf2T3fy6VpO81te80kae+hycS0RFtsJVJLUkl9Gf/3HZCURMmS7Tj2ba4nv5kCARIEQYAAcYc1mSo8/IqPsixhIdFMcIWvAhxRFUqWwX88xO+E/I4IR/QHU5rxKbohkhGuEeNaIII4vS2bBEc6pkiRlCJSYR1c8kv+WVGkY6aQFoj+yKhkKeUa3TIdi1wjLfIwBvQGgchlSAu0vygUM6WFnA0u+UVM0QSGFIqMUdUOLukNUzAdlGdAzwBlNGQTRqNLXnxGT4REmmVP7VwAyptNAA0chSJNmXaEcpgUoBgVOEZIjL/R0M5dZAP0WugYjRyOESI8Qh6wysd7toO65MyyS9I/cqo0SnOl0ZiiTFJFuf67JUnlDZVIUp1LrtAoFDnXQ3QwQrcx5ZecMh1TiZhCKVOK8ekAnRWwLw8O0GsSoTNLYITYxOA0/NNETqlGzIzjhiQsQk8mQiL6g6RZQoMWziIhS9aikHAuYLyXPBEh0TRCZj5M+Uv/i0IJ45RM6dMBDrDIqDTtJxEeYhjHtQd87ejgAGdEkpRqKkFC7zAnKcVD3AJ7zSIcYAaS+kdO5QwHGPjJJI3wcEISRQOswpimBA/vMOGzTxODUc8ywKi0ZHyKAxhLSjQe4jxnEZ4HJQTPkwTPrwKsmU6gwdsu6ItjzEmE5wDjlvK1iGZArhqJljkNcCi4plybkVRY9r8p2Gl33jgzCZzSjKoGLPxt2Z8ZmSWCRAP0EWSI8TDJI+qv4KiddSOzBWofiwWGr09RluQKEU+enbTbMYyLDQvbZiwJD2Mj8AQt7g+QrQJUs8ztKxCKzsmWY6kvXR1+khg11g3A1HWDgW5lx0IklHBcLe2JQt7qYlCFE5In2knSPABk9IYkOdFCrkL1tgRsR6Q4yzKqV6E5d2DtSFLCyRQkbDmSjw6sHU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WM2J32Pa0ovSZIR9Rv0aer3TSMcuaV0uJwJ2GonZiGMC8haEqmAQVPOb/f1VofwN6yN+iB+0dhn3iSo5A8u4e9ALYXbZQKh04dfHpImr+VJkjrKbCqIDc5SZRKKg3Qpd1DWGTaAL1etNHRnkHH/FveYeS9C82TLN60lq7yOYlWU8Qi7v7dbrEnLjhx/s4ktpu0R+hdZT8d4vwaZ99en8/GQF0O+PEmyhsHpVKeMrVbagQ7obbQKzG3aZ2cXrI02or+L5WpZ7z0V77tbQ/1tYW5nh7i7Ug1SoOhu4d2s2YNwbXiFGWmtupw7k8OT4Z5h+Apbhq+zFVWxwhlvPb6ZFs3YBWMV/BqQk1NUOa1sozf/TyFJXTit8L5wzburTrrT1wZcIN5SmWtG8LI5DRW5R5naNrWTtmtpaTNfUVFa6Flco6f71pY+og6tlxJiuONE1dMWGri1UDqLB+UpABOte9sP/7VN99H/z9h41tS/pEW54Fm+ke9DLnZhsFVB3ABfDU9vsM0YXIja9u7WPQOu6++RBX+fsb2/zgzc7b3989ePOm7cH+zvj13m6s5/+/eB1fnDAcnaw7SHqeX25UJOrONK4Cg4jhyfHK+Qs/IRRm6VujzZ73/1Mk6WD2J0/mlAoXcymFlj5j/YXnHQ3sb3Bq8EeNmFcKJmMXLhPKHrKxstDnXVJ5a/PLv767OL5PrsIYR9z7G4lGHcqINQVff5aeIrE+lmTwbxEvMFMW2DCG17Q2WzMDHzVYj7HZv/ZBSaljBs2FlGsvoHppq82MAPguFx6c7+M8TBfoIwpmtQ2CyhH/mjsOLHR9V3RXphTfY/DNAVX0lxvexXl85MvZ+c0oePw7UbpcgbV7A5FCLvDceIHLJ4g/LgD22ZUMDmpUS4NqcfEv/8CnNf0qw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fork-environment-variant.RequestSchema.json b/docs/docs/reference/api/fork-environment-variant.RequestSchema.json new file mode 100644 index 0000000000..93de1e2c02 --- /dev/null +++ b/docs/docs/reference/api/fork-environment-variant.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentVariantFork"},"environment_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"environment_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["environment_variant","environment_variant_ref"],"title":"EnvironmentVariantForkRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-environment-variant.StatusCodes.json b/docs/docs/reference/api/fork-environment-variant.StatusCodes.json new file mode 100644 index 0000000000..e1bf3ac031 --- /dev/null +++ b/docs/docs/reference/api/fork-environment-variant.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_variant":{"anyOf":[{"properties":{"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentVariant"},{"type":"null"}]}},"type":"object","title":"EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-environment-variant.api.mdx b/docs/docs/reference/api/fork-environment-variant.api.mdx new file mode 100644 index 0000000000..b4d3208a15 --- /dev/null +++ b/docs/docs/reference/api/fork-environment-variant.api.mdx @@ -0,0 +1,71 @@ +--- +id: fork-environment-variant +title: "Fork Environment Variant" +description: "Fork an existing environment variant into a new variant." +sidebar_label: "Fork Environment Variant" +hide_title: true +hide_table_of_contents: true +api: eJztWdty2zYQ/RXMvjSZoSTHSZyWfalym7hpG43t+MXW2BC5lJCQAAOAjlWN/r2zAK+SLMeOMpN0oicK2Av2YHF2QS7A8qmB8AxeySuhlcxQWgPjAGI0kRa5FUpCCK+V/si4ZHgtjBVyyrARZ1dcCy4tE9IqxpnEz9VQ/1yey5MZtseYsVxbwxKtMmZnyIwqdITV9C+GzZDHTOOVMEJJ9kBpxs9lLqTE1rBI2GVrERfVxIXG5JIJw3KtrkSM8cM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4bC52SPM+F20P/d2ZtbsLBAIt+lKoi7vMpSsv7XHjBMdmICi3s3BkZjg7f4vwN8hg1hGfjtsAxpZ5Ppq5YvQE8F2+RIPElD4aFnSkt/vUZQhtJS/JaFDMl9VHzSvTVNc/yFLe84qx6z6Yva5qWutI26dQ9bPWwZ6Ym4be9p6gvzTepe5KCxwn/9Wly8KT39NmjZ70nTw/2e5PHSdTbj347eJwcHPCEH9x2cd+tL3dwEtU+N0O3+Ww4OlwDpzNFHMQjh3i1k24agpW0arKJLrCZYyCwyLM/6hkKuglsr/+ov0dDlOUZly0X7mtC+0JzWl+NV7qfmiJ/foGovkCUB5DYbpCnXDg+dnu1KJmk89rBQAAVl/gy+pE4b0bUE57BYjHhBt/rdLmk4U8FaqKHcak0oWQ6o6Iwq4hiAR9xXjGutD1H3SSeFp4YVioZMZTXGEYR5nar7LjFjqN3xycQwKT8gpKpmHQ0/0yUzj9DCO57DGk7pnJjC0i5nBZUfELwNun3H6TbT1Q= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fork an existing environment variant into a new variant. + +The new variant starts from the source variant's head revision (or a +pinned revision if `environment_revision_ref` is provided). Provide +`slug` and `name` in the fork body to identify the new variant. + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fork-evaluator-variant.RequestSchema.json b/docs/docs/reference/api/fork-evaluator-variant.RequestSchema.json index 432e8f42b9..de79b64c41 100644 --- a/docs/docs/reference/api/fork-evaluator-variant.RequestSchema.json +++ b/docs/docs/reference/api/fork-evaluator-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Fork payload. References the source variant or revision and the target evaluator.","properties":{"evaluator_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"EvaluatorRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"RevisionFork"},{"type":"null"}]},"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"VariantFork"},{"type":"null"}]},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"workflow_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"WorkflowRevisionFork"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorFork"}},"type":"object","required":["evaluator"],"title":"EvaluatorForkRequest","description":"Body for forking an evaluator variant into a new variant.\n\nForking copies the variant's history into a new branch so experiments\ncan proceed without touching the original."}}}}} \ No newline at end of file +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"evaluator_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantFork"},"evaluator_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"evaluator_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["evaluator_variant","evaluator_variant_ref"],"title":"EvaluatorVariantForkRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-evaluator-variant.api.mdx b/docs/docs/reference/api/fork-evaluator-variant.api.mdx index 7b41add979..5e7ccd5bfd 100644 --- a/docs/docs/reference/api/fork-evaluator-variant.api.mdx +++ b/docs/docs/reference/api/fork-evaluator-variant.api.mdx @@ -5,7 +5,7 @@ description: "Fork an evaluator variant into a new variant." sidebar_label: "Fork Evaluator Variant" hide_title: true hide_table_of_contents: true -api: eJztXFtz27gV/isYvLSdoWXHSbxbPdXrxGN3N43Hl/TB9ngg8khETAFcALSjevjfdw4I3kRSN0ttNqVn/CDwXIAD4OADzgFeqGETTYe39OMTixJmpNL03qMBaF/x2HAp6JCeSvVImCCQ05AnpjgThnBhJGFEwHNeNLgTd+JEATOg3ZeRYsIPyXMoNRAuuOEsIgqeuOZSEK6JL2MOARkrOSUmhDuhZaJ8GJAbDcSEXBMjCXyLQfEpCEOeuQllYoiRiR9yMUEmIhWfcMGiwZ24DoEoMIkSEBRVDRnWZ6xAh4QHhImA6CiZkFGCzQhBcaPvRMQFsAmQKRgWMMOySnGjiasT9aiMQTE0zXlAh3Qs1eNDYZkHp456NGaKTcGAQvu+UMGmQIe0QfnAA+pRjnb+PQE1ox5V8HvCFQR0OGaRBo9qP4Qpo8MXysTs89jKM7MY5WmjuJhQD+sxZYYOaZLwgKZeQSGSKKLpvUcNNxEWFF1NvjjbnAc0RQpUDNr8IoMZKivrYVQCHvWlMCCMrUccR9y3Vtj/qnGUvFRqGSu0keGg8VfRZPzRMrJiNoskCwbkEsagQPigbY9mFi86UKpy0GDvIYlhagKmHJjYPR3KH3Lmuhnr1OPIToduAq4fKk3HEmflkZQRMEFLM59rclwhxUk1ZklkXK+mHgqr2WaRqKLTOgRpweMYzDIxV46s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UNldl9eCpnoOs2lzUVP48hh9fxnsvtl6+evZq68XLvd2t0fM43NoNf9p7Hu/tQQx76ycxm7Xkr1us27dt3ycN2z867AHT+USVC0IfqyoD/GceLKRjk4U0k0h93eIOIf2l/kJHbg62M3g22KEluhspqJYJ/2DWe2ZZdHTWlNXvT2zdJ7by8lKd3M4kCF/JfbxmZQ1qzZIsD3hVhYquf0W1MqGSNTzjs9kILH40cj6n5eKRjQpLJCyMZOuZ7Qqnq1/oaJV88gXKfxlRIp5RG0qq4jQrdRwUgd3yzaLZ2+udVBWLHfthiJlbK3vRqsdHH05OecBH5UtdqiPaY2BCTQQm5Cc9VNJuX5782oxLUOOc2t2QFzrp7x9jjGGy sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/fork-query-variant.RequestSchema.json b/docs/docs/reference/api/fork-query-variant.RequestSchema.json new file mode 100644 index 0000000000..c1f8618558 --- /dev/null +++ b/docs/docs/reference/api/fork-query-variant.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"query_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryVariantFork"},"query_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"query_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["query_variant","query_variant_ref"],"title":"QueryVariantForkRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-query-variant.StatusCodes.json b/docs/docs/reference/api/fork-query-variant.StatusCodes.json new file mode 100644 index 0000000000..5d9422e8b3 --- /dev/null +++ b/docs/docs/reference/api/fork-query-variant.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_variant":{"anyOf":[{"properties":{"query_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryVariant"},{"type":"null"}]}},"type":"object","title":"QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-query-variant.api.mdx b/docs/docs/reference/api/fork-query-variant.api.mdx new file mode 100644 index 0000000000..d1326e3f00 --- /dev/null +++ b/docs/docs/reference/api/fork-query-variant.api.mdx @@ -0,0 +1,71 @@ +--- +id: fork-query-variant +title: "Fork Query Variant" +description: "Fork an existing query variant into a new variant." +sidebar_label: "Fork Query Variant" +hide_title: true +hide_table_of_contents: true +api: eJztWdty2zYQ/RXMvjSZoSXHSZyWfalym7ppG9V2/GJrbIhcSkhIgAFAx6pG/95ZgFfdYjvKTNLWTzSwF+zB4uwCmoPlEwPhOfxVoBZoYBRAjCbSIrdCSQjhtdIfGJcMb4SxQk7YxwL1jF1zLbi0TEirGGcSP1VDvQt5IU+n2B5jxnJtDUu0ypidIjOq0BFW0z8YNkUeM43Xwggl2QOlGb+QuZASW8MiYVfO/WU1dKkxuWLCsFyraxFj/LDHhv6TXZm0mFxdSC5jdiV5hldMSOc9oZjGKp4xq5iIUVqRzNxMOw4IQOWoOQFxFEMIpHbp/ZcyEIDGjwUa+1zFMwjnEClpUVr65Hmeisip998bAnMOJppixukr12TcEubhHLpWw/nSJrxQMhETWvfyKtkDijJgFF/AWloBS1I+MQ8pjK4vN+4WKGdvEwjP58DjWJAST4cd0UbCznKEEMZKpcglLIJ6yFgt5MSNrDcDkdBRkXL94Hc+xvQ3o+TekcwL+xCCyogav8fIwmIUgBU2paElYVisCDdrkEWadpRfuxhJ5d8f62kZaoaW3zPUVlzliJAWJ6i7jrNxd6SN0OfweF2k2+EI5iAsZrdT4lrz2fYM6KjeDdE/CMlFAHSobonXio0/SXexxKb3M/WyZWIRAB34+5o6Id3FChiNANWB2ZnnFqJ+ctghJ2LcVf66Rm2+IMKzUn0n0QUg4m0WAiLyjFsIoShEvNXiUbwVrWNMUKOMEJbL5kmnwFGdcUWHCmCvwbRdxrpL/h/eDrzrjHQBH7Zru1XMToWpO4efWYwJL1Jr/NSGBqS3djVU4YXGmNqk5eq/ejRGm8/SsW8VYEFeGqtWF+gGTK6k8Rt+sL+/2gWcFFGExiRFyo5LYQju23FEqvBKS4TfLP+FkyCcHXQQ7i9zwbaU9YJfkm4OPlYlHddWJDyyX2RyUBqprfpV7i6h/ZoprVsr3p35ev3ew7fQyb0t7B3aGy/9/fZyXz/a76yb2wjI1nZuResO/dx9QP22G7pII7cYX3J7S56IucU9K7L1dbHmb2+WDRxYRR5/DSfvvNnSSYwpfgUnL73Z0kkF13iXxF2B9bxi7wqvnXqp0Kq9VIDt1EsFV+3lu2r62l3TGju3Va07pIVrt54cHKw2VGc8FbFrl9grrZW+fzcVo+Uipa+S9JYFUhV1Zu9C2qPFEk+2ao3yC3QVw0xa/Vy9MQ0HGsMn2BDnZlEHBjulWdp5d4Em8WoDqxt1ZG9aZla24wVheWM/21QTNn75pVz76lJvkd+hzVC89FuwLT9+PT0drhj0+ZGhnSp65MuVIZWc2ymE0P/o30X7Zcdr+nS/gAAMarqUuR0sdEqiPBdu+/y/U2tzE/b7WPSiVBVxj09QWt7jwguOyEZUaGFnzshgePQGZ78ij1FDeD5qC5xQ1vk86orV2PNcvEFCw1c4GBR2qrT42ycH7SEtyWtRuJTPx83L5asbnuUprn2JrJrMpgFrupO6pDY51D1h9bCnoCbL1z8q1PfcTYqeh+Bxwn98mhw+2Xv67NGzvSdPDw/2xo+TaO8g+unwcXJ4yBN+uPmWvVsv7oQkqn1ABm6r2WB4tAJIZ4rIhkcO5Wrf3DQES0nU5A4EgJmjGrDIs1/qGQq3CWy/96i3T0OUzhmXLRfuQd/fU87qe+xSU1Oz4H/7+b88XERi/TzlwtGs25l5SRD+RYA4PoCKInwx/EAsNiUyCc9hPh9zg+90uljQsAuCDnmpNKasOSean1bnfw4fcFZxqLR7joxJPC38eV+qTUQ8XmMQRZjbrbKjFt8N356cQgDj8veLTMWko/knImn+CUJwv4OQtiMgNzaHlMtJQeUkBG+T/v4B284PbQ== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fork an existing query variant into a new variant. + +The new variant starts from the source variant's head revision (or a +pinned revision if `query_revision_ref` is provided). Provide `slug` +and `name` in the fork body to identify the new variant. + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fork-testset-variant.RequestSchema.json b/docs/docs/reference/api/fork-testset-variant.RequestSchema.json new file mode 100644 index 0000000000..93076f2bb2 --- /dev/null +++ b/docs/docs/reference/api/fork-testset-variant.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"testset_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetVariantFork"},"testset_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"testset_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["testset_variant","testset_variant_ref"],"title":"TestsetVariantForkRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-testset-variant.StatusCodes.json b/docs/docs/reference/api/fork-testset-variant.StatusCodes.json new file mode 100644 index 0000000000..deaf28db6f --- /dev/null +++ b/docs/docs/reference/api/fork-testset-variant.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a variant was returned, 0 otherwise.","default":0},"testset_variant":{"anyOf":[{"properties":{"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"properties":{},"type":"object","title":"TestsetFlags","description":"Placeholder for testset-level flags.\n\nThis model is intentionally empty but kept as a dedicated type so that:\n- existing references to `flags: Optional[TestsetFlags]` remain valid, and\n- structured flags can be added here in the future without breaking the\n surrounding DTOs."},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetVariant"},{"type":"null"}],"description":"The testset variant (branch)."}},"type":"object","title":"TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-testset-variant.api.mdx b/docs/docs/reference/api/fork-testset-variant.api.mdx new file mode 100644 index 0000000000..ca581d86f5 --- /dev/null +++ b/docs/docs/reference/api/fork-testset-variant.api.mdx @@ -0,0 +1,71 @@ +--- +id: fork-testset-variant +title: "Fork Testset Variant" +description: "Fork an existing testset variant into a new variant." +sidebar_label: "Fork Testset Variant" +hide_title: true +hide_table_of_contents: true +api: eJztWW1T2zgQ/isafTmYcQKlLb3zfTla2inXuyMDKV8gQxRrHas4kqsXIJfJf79ZyXbsJKRA6UyvUz4FaV+0j1bPruQZtWxsaHxO+2CsAWvoIKIcTKJFYYWSNKbvlL4iTBK4FcYKOSY2iJJrpgWTlghpFWFEwk011L2QF7KfQXOMGMu0NSTVakJsBsQopxOopn8xJAPGiYZrYYSSZEtpwi5kIaSExrBIybBcwGU1eKkhHRJhSKHVteDAt7ukF36SocndeHghmeRkKNkEhkRI7z/FuEaKT4lVRHCQVqRTP9OMhEZUFaAZgnHEaUxR7bJaQSlFI6rhswNjXys+pfGMJkpakBZ/sqLIReIN7HwyCOmMmiSDCcNfhUbzVoDB/5btxrOlzXijZCrGuPbllZItjDQiGGNEGloRSXM2NtsYStubH/dLlNPjlMbnM8o4F6jE8l5LdCFhpwXQmI6UyoFJOo/qIWO1kGM/st4MTYROXM701l9sBPmfRsnOkSyc3aZRZUSNPkFi6XwQUStsjkNLwnS+IrxYg3R53lJ+52NElR8/1n4Z6gQse2SojbjKESEtjEG3HU9G7ZEmQl/C453LN8MRzaiwMLmfEtOaTTdnQEv1YYj+jUjOI4qH6p54rdj4B3XnS6z6OFOHDRPziOKBf6ypU9Sdr4DRSKZARWeBXbAIeOjaBIXMu8pi16DNV0R5Vqo/SYQRFXyThQgJfcIsjalzgm+0eMQ3InYCKWiQCdDlEnraKnVYb3zxwVLYbaLaLGjtRf8EuAXwOiNtyHvNKm8VsZkwdRfxO+GQMpdbE6buaEa6a1eDlV5o4Ng1rfYB6w7IYNOpOgmNA52jr4V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YVZPmGy48F8+qqvXWX3FX+qHajr8+aWkPGjIaDtFzoTnXL8/s5It6icTvBtWfBGK6RVyWobUEp/T2WzEDHzU+XyOw58daKSAQak0wuQ5R9LPKjKY0SuYVowqbcdTM4rnLhz+pUqFLBQ0DpIECrtRdtBgv97xaZ9GdFR+6cFbKo2pZjdI2eyGxtR/M0Jtz0Z+bEZzJscOi0tMg038+w/vsIHg +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Fork an existing testset variant into a new variant. + +The new variant starts from the source variant's head revision (or a +pinned revision if `testset_revision_ref` is provided). Provide `slug` +and `name` in the fork body to identify the new variant. + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/fork-workflow-variant.RequestSchema.json b/docs/docs/reference/api/fork-workflow-variant.RequestSchema.json index b64de029fc..f6f4fedfcf 100644 --- a/docs/docs/reference/api/fork-workflow-variant.RequestSchema.json +++ b/docs/docs/reference/api/fork-workflow-variant.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Fork payload. Identify the source by `workflow_id` and `workflow_variant_id` (or equivalent slugs), supply a new `workflow_variant.slug` for the forked branch.","properties":{"workflow_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"WorkflowRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"RevisionFork"},{"type":"null"}]},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"VariantFork"},{"type":"null"}]},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowFork"}},"type":"object","required":["workflow"],"title":"WorkflowForkRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_variant":{"description":"Config for the new variant (slug, name, description, flags).","properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},"workflow_variant_ref":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference","description":"Source variant to fork from."},"workflow_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["workflow_variant","workflow_variant_ref"],"title":"WorkflowVariantForkRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/fork-workflow-variant.api.mdx b/docs/docs/reference/api/fork-workflow-variant.api.mdx index 86587a74cc..c9007a59d5 100644 --- a/docs/docs/reference/api/fork-workflow-variant.api.mdx +++ b/docs/docs/reference/api/fork-workflow-variant.api.mdx @@ -5,7 +5,7 @@ description: "Fork Workflow Variant" sidebar_label: "Fork Workflow Variant" hide_title: true hide_table_of_contents: true -api: eJztW99v2zYQ/lcEPm2A4qRpm21+Wpa2SLZ1DZK0ewiMhJZONhuaVEkqqRfofx+OpH5Zku14zrAV9pNF3X1HHsm7o/TpkRg60WR4Tf6U6i7h8kGTUUhkCooaJsVZTIYkkeru5sHfv7mnilFhSEgUfMlAm19kPCfDRxJJYUAY/EvTlLPIIux/1lJgm46mMKP4L1WIbxhovCqA8X8MOlIsRT0yJO+kugtSOueSxoPgLAZhWDIPzBQCLTMVQTCeB7dlx1h8G1AR11p8V+2d76QK4EvG7ikHYQLNs4n+Pgx0lqZ8HtBAwENbc4Bit0EilbWKjoA4GCsqoumAhD0juVFwzzRzw6Zi/iEhw+vFYSfcOr5fgOmbmhuxxcxTIEMylpIDFSQkhhmOLWc6OK6JhiSGhGbckGFCuYY8RDC4pzyjRqpVUG9LwW4gLViaglkFc+nFukFmVNAJxKtA3nuxbpAo00bOVmGcOKluCM5X6v/O+5SnUt6t0j5FmZ7uyxhWdh5l+lxooulqB6JQN0ACEI9ptHII7wq5nmFM6crFcIIyHepTqm8yxZeqn1IdfFS8T91FjJUIl06sB2RKRcxh+dZAlFMv14LJw0JRjj9DZGp6RWS98FHhnd35eViaEhnnJB8hRCsm0DhmuKkpP29Eh0piob81XG0UExPb0g1DIqaijFP13e90DPxXLcXemUgz8z1ZHE4+qga0IExaY2+PrVK+coMnMzB0w6HWxuVbmDAwAdU0PBs3W+oeWuWPdxlf7o7wkTADs/WUqFJ0vtQrTdWnefQ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9Rg38+6QqcUHaW+bYs1sSIZ+I9Emrl1IRxbmOlxV814RR0+rjUIlgo74/bq+E3NzzNEtx01dtw4T7ndYSxz17bxYaJ1uy0YoUtZWrmfJusyxFrlsu+2JbTxuuZ5rpgk27ZH+FpxH98Hh08Gzx/8eTF4Nnzg/3B9GkUDPaDnw6eRgcHPOIHW+8rduvIFWSkuvU4dhnDxkeHK7AsPaLexgMXqTr87jF4vVxsUxA8wNR1NrDI01+aJ3Ti9mB7wyfDPVqiuki57LjYVEo9ylXlJ/WLUZZw4Tqa29WiqrL2XsGAB3WdlVPqklpGTDXpn8NiMeUGP+qkKGj5S46aSmdSKU0Js3PqqXFdRAu4xHndsKQduM5H4kleFk1vEFD1lhrjIMDMbpWddNrG0YeTU/BgWv3LkqqQdDS/po7Ir8EHoD9sSNvVkVtbQMLlLKfe7UNpkz5/A8II6lE= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/get-all-workspace-permissions.StatusCodes.json b/docs/docs/reference/api/get-all-workspace-permissions.StatusCodes.json index b3e2595584..d3dd324b79 100644 --- a/docs/docs/reference/api/get-all-workspace-permissions.StatusCodes.json +++ b/docs/docs/reference/api/get-all-workspace-permissions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string","enum":["read_system","view_applications","edit_application","create_app_variant","delete_app_variant","modify_variant_configurations","delete_application_variant","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_app_environment_deployment","edit_app_environment_deployment","create_app_environment_deployment","view_testset","edit_testset","create_testset","delete_testset","view_evaluation","run_evaluations","edit_evaluation","create_evaluation","delete_evaluation","deploy_application","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools"],"title":"Permission"},"type":"array","title":"Response Get All Workspace Permissions"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string","enum":["view_applications","edit_application","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools","view_triggers","edit_triggers","run_triggers","view_sessions","edit_sessions","run_sessions","view_mounts","edit_mounts","use_mounts"],"title":"Permission"},"type":"array","title":"Response Get All Workspace Permissions"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/get-all-workspace-permissions.api.mdx b/docs/docs/reference/api/get-all-workspace-permissions.api.mdx index a7f72eed4c..41859ed357 100644 --- a/docs/docs/reference/api/get-all-workspace-permissions.api.mdx +++ b/docs/docs/reference/api/get-all-workspace-permissions.api.mdx @@ -1,11 +1,11 @@ --- id: get-all-workspace-permissions title: "Get All Workspace Permissions" -description: "Get all workspace permissions." +description: "Get all available workspace permissions." sidebar_label: "Get All Workspace Permissions" hide_title: true hide_table_of_contents: true -api: eJztVs2O2zgMfhWBZyOZ3aNPzaFoB93DoJ1iD5nAUGwmUUeWXJFOmg3y7gs6tiV70m4fYHOJ+fFP/BGpC7DeE+Rr+NuHV2p0iQSbDCqkMpiGjXeQwwdkpa1Vp0FGNRhqQ2S8o8WLe3GfkdvgSGllDbHyu05eH7WxemvxvzXzF6eUUn8Z4vXTKLLJ1Wq0GGHlt9+wZFIBm4CEjo3bKz7g73nUhnBw+PH5+en9jxK7UHP1uBMzAZUhpZ3CEHxQATkYPA4+7luGDHyDQYudxwpy2CMX2tpiFC8SccggIDXeERLkF/jz4UH+pmn/0pYlEu1aqz73wpBB6R2jYxHXTWNN2blcfiPRuQCVB6y1fBnGujPO5wYhB+Jg3B4yQNfWUvKAuiroTIw1ZHA0eCoSi3JGrAynmLgPqBkFLI46GO0YpF0svgFrX5ndeQCK0rud2bdhNB6VBvOJcmhdQRiOpsThbCfcHrx/Hc+V0B2fsAzIA3ekbrxGx4AGouPsvK0wjLxI9vkwxSuek1yM9JCvAt3RBO9qdFxU2Fh/ls8kez+XSJL5U5nODyMxxeAi2VuIQJ/VCHT6eNS2HUoouY3AGNtEprc7wXrTM0yOOuuRW7mGvh/rlQC9+RTqradQ30EtYSiCtyhH1VVVODzdQPZv3fiw1878Mzv0DJ1bmbFlqHDRaKKTD9UQ0dZY298gcRTJMd6d9SdK4x0ASXlKp0XxYV4CHxswaYsoNcX6EszQTvt7i8HgqBjJtKlo1lWxuZ3zPJsFE6iTMu7oZxNjCs0asAjtvZ4b4Lk0leh0MP6eSsp74wWptXzX0ciZ69Qy6Mt7OpEz1/neYov3VEZGr5HWhb23Me09IT1y+95kwIatDO249OCaDZNch6DPEIWG7aBkUa+sVeMyT5YmwVV+GdTIB99vKMig0XyAHJbjRaLldFHJGJaRmK8v0AYrsroxcM0G8sDcUL5cYrsorW+rhd6jY73Q5ia4ERtlGwyfOyOrp8dPeP6IusIA+XqTCn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xLR2yf3n+QrffCTvyUL8eSsI3mdrDKljS8vRGp76QZG+wF7yPfLZ+HiFKNsZ5sJJ0lTnaZD5e1j4Ft9m/PMN6xS1Usl6wTetl8pTUUqpF2nO2UtMelSiZsP81a6R2coeDm6ftL9snETkbuEdTuPh5AVfx3ucV+H+283iPTP/wzmlUqbNSSvexGV5hbgbpkCKEQwVnG1g49/sbBvrT68dDxDLjpL6HCi7olcSQiltNxZDSv9NNLrJtyaU9iDoONV3tb2mJ3Keff/sDHo//AEbfICQ= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -37,15 +37,7 @@ import Translate from "@docusaurus/Translate"; -Get all workspace permissions. - -Returns a list of all available workspace permissions. - -Returns: - List[Permission]: A list of Permission objects representing the available workspace permissions. - -Raises: - HTTPException: If there is an error retrieving the workspace permissions. +Get all available workspace permissions. diff --git a/docs/docs/reference/api/get-all-workspace-roles.api.mdx b/docs/docs/reference/api/get-all-workspace-roles.api.mdx index b3a4491b33..794a580747 100644 --- a/docs/docs/reference/api/get-all-workspace-roles.api.mdx +++ b/docs/docs/reference/api/get-all-workspace-roles.api.mdx @@ -5,7 +5,7 @@ description: "Get all workspace roles." sidebar_label: "Get All Workspace Roles" hide_title: true hide_table_of_contents: true -api: eJztVE1v2zAM/SsCz0KS7ejTcijaoDsEaYcd0qBgFSZWK0ueRKfNDP/3gUrsfABb/8B8sSU+8YmPj26BcZugWMLPEN9SjYYSrDSsKZloa7bBQwG3xAqdU+89RsXgKI2e/JNfEDfRJ4XK2cQqbDISd2gdvjj615niySul1HebeDnQL4KjBaU6+ESrQk2HtBcIFV5eyXBSkepIiTxbv1Vc0mfMaBP1xHePj/ObD0O5zELNNgq9ohhDVMGYJib1XlpHKhJHS7ue4TovaAg1RZQsszUUsCV+RueeB+BzBoKGeCwsQdHC18lEXpdSPzTGUEqbxqleBdBggmfyLHCsa2dNJhu/JjnTQjIlVShflqnKyXG9toJBN49yO7YHUt7XBAUkjtZvodP9xkHPsw2M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mF64Wnt0HoRPjewPZl+Da+ml9nPgm80lCGxRNv2ARP9jK7rZPt3Q1F8vNFwwGilnmxiPZhOLP5ERzGMkQpAgK7pvXv2UxDrj5N4eXELXfcXZO8S7g== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -42,7 +42,7 @@ Get all workspace roles. Returns a list of all available workspace roles. Returns: - List[WorkspaceRoleResponse]: A list of WorkspaceRole objects representing the available workspace roles. + List[WorkspaceRoleResponse]: A list of DefaultRole objects representing the available workspace roles. Raises: HTTPException: If an error occurs while retrieving the workspace roles. diff --git a/docs/docs/reference/api/get-mount-files.ParamsDetails.json b/docs/docs/reference/api/get-mount-files.ParamsDetails.json new file mode 100644 index 0000000000..f81dc6274f --- /dev/null +++ b/docs/docs/reference/api/get-mount-files.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},{"name":"read","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["recent","name","path"],"type":"string"},{"type":"null"}],"title":"Order"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Limit"}},{"name":"depth","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1,"minimum":1},{"type":"null"}],"title":"Depth"}},{"name":"with_counts","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Counts"}},{"name":"git_aware","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Git Aware"}},{"name":"include_gitignored","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Gitignored"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/get-mount-files.RequestSchema.json b/docs/docs/reference/api/get-mount-files.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/get-mount-files.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/get-mount-files.StatusCodes.json b/docs/docs/reference/api/get-mount-files.StatusCodes.json new file mode 100644 index 0000000000..2c8c80e1d7 --- /dev/null +++ b/docs/docs/reference/api/get-mount-files.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/get-mount-files.api.mdx b/docs/docs/reference/api/get-mount-files.api.mdx new file mode 100644 index 0000000000..05e8c63fd1 --- /dev/null +++ b/docs/docs/reference/api/get-mount-files.api.mdx @@ -0,0 +1,69 @@ +--- +id: get-mount-files +title: "Get Mount Files" +description: "Get Mount Files" +sidebar_label: "Get Mount Files" +hide_title: true +hide_table_of_contents: true +api: eJy1Vttu2zgQ/RVhnnYBwXaCPulpjbabGu2iQZruPgSGwUhjiS1Fqry0cQ3++2JIXejYKdwWebIlnplzNFfuwbLaQHEH/ygnrYF1DqpDzSxXclVBATXaTUtnmy0XaCCHjmnWokVNdnuQrEUoIGJ4BTlwCQV0zDaQg8YvjmusoLDaYQ6mbLBlUOzB7jqyM1ZzWUMOW6VbZqEA54IXy60gQBCWrSrwPh/Zeu+B6YtDvTug2jJhDriY3L3fBrWHrOSxfyOdEODXE+81UaScGln1zJw3RJFyKl2h/iVSlK6lvGosUVrIo8c8Ro4ozxb1PmhIVQnecvs7oeDSYh0+rOWSt6R08SMJ7wJhKqHC7vcqIJHAHqKEi0TOxY/kvArkqZxv3DabMrbQ+aJ6//dKCWQScqhwy5ywI3Qg/I/bJnsZ3ae0Nbcb9o1pfA7SK26zZXCeUnJZClfhpuaW11IRxzNwryJLdjWxeMqARtMpadCQt8vFgn4qNKXmHU0sKOCDK0s0ZutEdtODIYdSSUttQJXQdYKXYcDNPxmy2U8Kvfc+hxeXl8eO/2WCV8Ese6210j/hFTpNQ9XyqLtCy7igf9xia44BQpUHp2eMkqGc/dqPvc20Zrtkkr5TUSD4HFpTnxrC49BFY1iNMDp7GhqCkd3SqadK6FwIyJRJeuFzKO1D4kbdf8LSJm5eUiwfQpMfYaaKuguxifJ7XNKXU4pihp4OxauYglNkA+TN7e31kcNYH4eFcYU2i0vq735Dtmgb1S/PYeQWMA8r0sz3w6r082GlGtRfh33qtCAw63jIb3xsrO1MMZ+jm5VCuWrGapSWzRiPwDX5KJ3mdhecLK9Xb3H3BhmN7uJunQI+UFnGQjuEjclhHX+Lu2FnFLB0tlGaf4/V07d7E618SPpWpTlfBnHZ8noFj4N1cET9w8pQLgNTOIb80WdPXws5YBu6Byyy9q/xhJJNMYw0i9nFbEGvOmVsy2RCcZyuA4VjEKga551gPPRL0LPvU3kXbztkWyT3npjNdQ6NMpZQ+/09M/hRC+/pdRyQlJ6KG3YvkhH5GXfTreYrE44UhPw/Ae0vI+dAhzvEOdhhs5+DHVbwOdjD/XiORbrazsGf3EuT4ZoeNCfL0xl4VATjaIc/bvrp82cG+eniGNpG7lLOQdlYIWE2N0NP7vvjZVlil8b8aJWQ+HGkXL2+Be//Bwn+8ZM= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Mount Files + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/get-record-event.ParamsDetails.json b/docs/docs/reference/api/get-record-event.ParamsDetails.json new file mode 100644 index 0000000000..cd1c0d42f5 --- /dev/null +++ b/docs/docs/reference/api/get-record-event.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/get-record-event.RequestSchema.json b/docs/docs/reference/api/get-record-event.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/get-record-event.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/get-record-event.StatusCodes.json b/docs/docs/reference/api/get-record-event.StatusCodes.json new file mode 100644 index 0000000000..ccb2be7c81 --- /dev/null +++ b/docs/docs/reference/api/get-record-event.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"record":{"anyOf":[{"properties":{"record_id":{"type":"string","format":"uuid","title":"Record Id"},"session_id":{"type":"string","title":"Session Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"record_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Record Index"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Type"},"record_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Source"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["record_id","session_id","project_id"],"title":"SessionRecord"},{"type":"null"}]}},"type":"object","title":"SessionRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/get-record-event.api.mdx b/docs/docs/reference/api/get-record-event.api.mdx new file mode 100644 index 0000000000..21fe1a59af --- /dev/null +++ b/docs/docs/reference/api/get-record-event.api.mdx @@ -0,0 +1,69 @@ +--- +id: get-record-event +title: "Get Record Event" +description: "Get Record Event" +sidebar_label: "Get Record Event" +hide_title: true +hide_table_of_contents: true +api: eJytVk1v20YQ/SvCnFpgK7lGTzxVSIxESIIIttqLIBhj7kjchOQyu0PDKsH/XswuSZGW7KZpTyK5M28+3ptZNcB48JBs4Y68N7b0sFNgK3LIxpYrDQkciO8dpdbpe3qkkkFBhQ4LYnLi2kCJBUECnZHRoMCUkECFnIECR99q40hDwq4mBT7NqEBIGuBjJY6enSkPoGBvXYEMCdR1QGHDuRjcBuTZSkPb7gTQV7b05AXj+upKfjT51JlKsoYE7uo0Je/3dT677YxBQWpLlgKSBrCqcpOGIhdfvPg0o7wqJy1gEyPEuoJXefy8DyVfspDKf6woBT62/wWI3qUjqfOpnP1CKf/LsOvo1WH0mZeanqYVdnimZDqQg1YNn8o6z0F4eF5JAGnle0GesaguIp5nqJHpF3F6NcpmQD3lHW1fDvIdWW/k+ITobe3S/4p5F0FaBcjszEPNUScnSNTaiPgwX4+UFOejA7cPwtOr4ZYn9FZB6giZ9D3y/9r3NxF2tmRo2+fZjad7O9kAI0VPpLo7k3Ns2oUcLoW76DvMeNuKz2/X1+cr4U/MjQ4DP7txzrof3weaGE0uT4ap8OcGuU0np9+hpGHMdqea0Tk8jkr+aGOCwnXhD68tik/kPR6CAvsReck0NGOYAlNWdWhIf7wKH0Rd/DSCOePjjfTy6Z8lIr2J6Xd2Iz2cKIoMvdyKt5GC1wTyfrNZnwFGfUyF8Y541s3tTXe/FcSZ7e6+cN1xBgksOkn7RdS5XzSD4NugePfYX4m1y8UDKxNYjq8Zc+WTxYLqeZrbWs/xQCXjHE003AlGWjvDxwCyXK8+0PE9oSYHyXY3NrgTcUa5Tc0GirAyH0ia1l3Py5oz68xfUUPdFZ1FrzZQv7dj5pchudlyvYLnLZscyRRhGkTTRwrHoJ6VfaoWFFARZgiYsPh9OBHKpYcxzNX81/lVuOms5wLLUYgLpE1SHLogolxUOZowNiGhpiN02+8oD/36l6fktMV2CjLrWUyb5gE9/eHytpXP32pyQtJOwSM6gw/Ssm0D2nh51pDsMfd0ltWwcuCn224qfp6BupxtT2QpLD5iXssbKPhKx8nfrbA0sl4mTXe+TFOqeOR5tuNET4PU391soG3/BlpRbv0= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Record Event + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/get-state.ParamsDetails.json b/docs/docs/reference/api/get-state.ParamsDetails.json new file mode 100644 index 0000000000..1395151c44 --- /dev/null +++ b/docs/docs/reference/api/get-state.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/get-state.RequestSchema.json b/docs/docs/reference/api/get-state.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/get-state.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/get-state.StatusCodes.json b/docs/docs/reference/api/get-state.StatusCodes.json new file mode 100644 index 0000000000..0f79e788ef --- /dev/null +++ b/docs/docs/reference/api/get-state.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"session_state":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Own uuid7 pk (state_id)."},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id","description":"Bare session correlator (not an FK)."},"data":{"anyOf":[{"properties":{"latest_agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Agent Session Id","description":"The latest-run harness's agentSessionId; a fast-path mirror of harness_sessions[].agent_session_id."},"latest_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Turn Index","description":"Conversation-level turn counter compared against each harness's turn_index."},"harness_sessions":{"anyOf":[{"additionalProperties":{"properties":{"agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Session Id","description":"This harness's own agentSessionId, fed to session/load on resume."},"turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn Index","description":"Conversation turn number this harness last ran at. Load-eligible only when equal to the conversation's latest_turn_index; otherwise this harness's session file is stale (another harness ran since)."}},"type":"object","title":"HarnessSessionRecord","description":"Per-harness resume state. Value shape of `data.harness_sessions[]`."},"type":"object"},{"type":"null"}],"title":"Harness Sessions","description":"Per-harness resume state, keyed by harness id (e.g. 'claude', 'pi'). Durable mirror of the staleness guard."}},"type":"object","title":"SessionStateData","description":"Typed shape of the `data` column: the session's durable continuity state.\n\nStored in the existing `data` JSON column (no dedicated columns) — every field is\nread and compared in the runner, never queried server-side, so a typed DTO gives the\ncontract without a schema change."},{"type":"null"}],"description":"Durable continuity state (resume ids + staleness guard)."},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"Remote sandbox id — the single source of truth resume pointer."},"flags":{"properties":{},"type":"object","title":"SessionStateFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id"],"title":"SessionState"},{"type":"null"}]}},"type":"object","title":"SessionStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/get-state.api.mdx b/docs/docs/reference/api/get-state.api.mdx new file mode 100644 index 0000000000..5ad6ec66cb --- /dev/null +++ b/docs/docs/reference/api/get-state.api.mdx @@ -0,0 +1,69 @@ +--- +id: get-state +title: "Get Session State" +description: "Get Session State" +sidebar_label: "Get Session State" +hide_title: true +hide_table_of_contents: true +api: eJy1WG1PHDcQ/isjf4Goy0GjSpUuVVUS8kKTFAQkXwCRYT1368Rrb/wCXNFJ/RH9hf0l1dh7e3t3QE4t+cSx65l55nnGs2PfioBjL4an4pi8V9Z4cV4I25DDoKzZl2IoxhQufMBAohANOqwpkGObW2GwJjEUPtteKCkKoYwYiq+R3EQUwtHXqBxJMQwuUiF8WVGNYngrwqRJpsEpMxaFCCpoftDigH0pptNz9uAbazx5Nnq6s8N/JPnSqYYRskUsS/J+FDUctYtFIUprApnAy7FptCpTQtufPdvc9oA0jtMNKkcobcxGLT5lAo3J9QC+SCsKIWmEUQcx3JkWHQOZJ45pJgejxNGSf0cYSF5gWFy1TMfIuprXCImBtoKqSUyLbpmJWgtmpwOV3cJuENNCxEZ+jyAfsts2iCRN3yHIXnbbBpnRdTnh4lovToxKrkXW80mqsjlfjxplxlYXZUbYo0aZ0dVFeTzX+zJVeX+rHVwbYLufofkCm6nYL5R8MuDAjbOfqQyPmNth9tgm1msy67WPZfDP0RG0XqC0zpHGYB1sGhsADbx6mxORGPChLawxkA8XOCYTLhZR3Zf1Q1m+S+5gl93BA/BPKoIcestFAxU6Q95veEhAWsN9+QwQRujDVoOhglo5Zx3Y0Wz9DLA//SU7m7349XywnFFio802RGculJF0c2eesza5RqIn0RnYT56WU3xhzRU5nzr1lqYr0sBxITVlclDaukFHEnCMyvgAhGXVY2IOMkFfTnkROUqpOBDqwwV5F8V+LJXXkFf5Xir22iwJW8CIJAQ7K+FtbVGCNeDIx5pSxo+g0pryZGFMrC/JQehhB40+gEMDGAbwzqLcIq3G6lITWKMncF2RAfoaUXMyoSIoe343PKxU3DOwoSJ3rTwthNrw3XYeKU2gPPiAmmATTbLoMDEcr0xJvMOZp5y8veT+0useb/L6lvMjKq1bVeqQ3FbnOHEPqRMO4CPqSOArbIi33CfuJIPVjdftuE9ZtAUwD2nTwoNuVlsXWgFfaEISLicdJUrCJg3GA9goNUZJGwVsNGrjyQD2okNWa947WKTEbLIcR3TyYR5bgMcce4/b6Uq1TxqSc6Y4QGLrE5RWx9oMc8zsZsODbDHxVKdMVGHScn5mzsxxsNwUlElGdKN8UGY8c/j78cEfrVdu9SBJ8jBIsn3on8A/f/0NdEVuAiNFWoLyZ8YRSkAj502n9e+iMeQKMGwBPOgqToXcFbktryQV4C0ghJTi3skBjNUVebY9M4zfYRngWoXKxgAIeRKFskIzTrt4Vf9F7vbu4QI2W8mV9PDDsmD52+bRyEt78z8a2XH2cFcLO6LaBoI2BlcYE5uEVGasCbyNrsyCuxiqWYk2lhuTSwBHOp1HltrwmqX2Khnz4tbJt7p9PpSsvwFPWv81LY8Ij+P/Pfu9a2PNz1Gn/UHo/G4e7oix7m7tTlDTKZv89PTp6oHrI2ol81fgJbeI/37akhRQaf6lAtV3fH61LRferlGx3UfufJ4yOoeTXsbvbAaYtPTjhwbK9+Q9jmneqO9fmsgAbm1pEDdNzCfJ2TydHvChJtz03KzI8YK5vAnfrAPmJsNv1/WqYS5RVuh+KvayBA9+FU9ODlcc5vpYLIzXNB9xjtsbg5pCZdtrhHSBECoxFNuzr+F2al1+W/CAzy00XyxEp3kVNipJm/+tQmj8cHub4qDUNso8sOIAVV54zj7K6FSYJCe7h/tvafKGUJITw9Pz/oJjrshcY4vLOl2wUW+JmWovOXZjqKxTf+bCae85qmw1TXqPbF/uNPEh7B7urzTKhVe8dbBMlTKLlF6LYintebaiEFSnjSMCYf1b94Z1Zg5zmJ3Bj4OddDSzPtRoeiHuUmoBY0cDl+J2o1GlzZIQ3bYqdq2IB5GsoygEl2FlfeD3t7eX6OmD09MpP863QiyNVJ6/YVIMR6g9rQTv+onYPGpL/gmI4m5QX2iyfAl1xZOYGIpUFFfoFEdLNVDMNGMY2XK3LKkJPauVFsZeukJ+/fJETKf/AjRCqwc= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Get Session State + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/heartbeat-session-stream.RequestSchema.json b/docs/docs/reference/api/heartbeat-session-stream.RequestSchema.json new file mode 100644 index 0000000000..3c9a43f2a1 --- /dev/null +++ b/docs/docs/reference/api/heartbeat-session-stream.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"replica_id":{"type":"string","minLength":1,"title":"Replica Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"is_running":{"type":"boolean","title":"Is Running","default":true}},"type":"object","required":["session_id","replica_id"],"title":"SessionHeartbeatRequestModel"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/heartbeat-session-stream.StatusCodes.json b/docs/docs/reference/api/heartbeat-session-stream.StatusCodes.json new file mode 100644 index 0000000000..65a5d85c07 --- /dev/null +++ b/docs/docs/reference/api/heartbeat-session-stream.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"stream":{"anyOf":[{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"flags":{"default":{"is_alive":false,"is_running":false,"is_attached":false},"properties":{"is_alive":{"type":"boolean","title":"Is Alive","default":false},"is_running":{"type":"boolean","title":"Is Running","default":false},"is_attached":{"type":"boolean","title":"Is Attached","default":false}},"type":"object","title":"SessionStreamFlags","description":"The nest as primitive bools (alive ⊇ running ⊇ attached).\n\nresumable (alive & !running) and reattachable (running & !attached) are\nderived client-side, never stored."},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"}},"type":"object","required":["id","project_id","session_id"],"title":"SessionStream"},{"type":"null"}]},"replica_id":{"type":"string","title":"Replica Id"}},"type":"object","required":["replica_id"],"title":"SessionHeartbeatResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/heartbeat-session-stream.api.mdx b/docs/docs/reference/api/heartbeat-session-stream.api.mdx new file mode 100644 index 0000000000..48eb0e77ac --- /dev/null +++ b/docs/docs/reference/api/heartbeat-session-stream.api.mdx @@ -0,0 +1,67 @@ +--- +id: heartbeat-session-stream +title: "Heartbeat Session Stream" +description: "Heartbeat Session Stream" +sidebar_label: "Heartbeat Session Stream" +hide_title: true +hide_table_of_contents: true +api: eJy1V01vGzcQ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xi6B78liWBeJH8abmh+2F/9QQW6Jzod8V06zPZQqJDv+XBCVPhsOsRrk2lZyAHM0BANQ0XDCGHnlFK0CyGh89glXpwgSnciuJ32DS9ZoVN22WZspKNUnZO4MFPx7VNHCOvVXlBJnPH648C4mh9V/0X2sfPwJRalx9+Oj01G/7nvqavpXt9QfhfW9WpmZ7YttFIhIRuOzvQG09YoLF/Kg0+ZU4bVIdyjumBWpwCKUrSCE4rf2DauM8xXdHA/eDo7DZcZ6KsD0XBzQyVaoLfNcD8NSgwoVGwJb1xJqP1R40tYiEmn3/chVsWDNZddivZ6Cx69Obza8/L1Cx7qYpGIJTvG4DKJImySyZP7EVVOTho5CcbO5rqIidnodSzPuGOU5lnTQdtIri/GXyyuRimn9UVtYyXsc/GBdwA+RCcGfyBQOmq3j2lpoMPOK21MmIib//QdDRksx +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Heartbeat Session Stream + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-composio-event.RequestSchema.json b/docs/docs/reference/api/ingest-composio-event.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/ingest-composio-event.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-composio-event.StatusCodes.json b/docs/docs/reference/api/ingest-composio-event.StatusCodes.json new file mode 100644 index 0000000000..2b51c3219d --- /dev/null +++ b/docs/docs/reference/api/ingest-composio-event.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status","default":"accepted"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","title":"TriggerEventAck"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-composio-event.api.mdx b/docs/docs/reference/api/ingest-composio-event.api.mdx new file mode 100644 index 0000000000..631dee44c3 --- /dev/null +++ b/docs/docs/reference/api/ingest-composio-event.api.mdx @@ -0,0 +1,62 @@ +--- +id: ingest-composio-event +title: "Ingest Composio Event" +description: "Receive a Composio provider event; verify, demux, ack-fast, enqueue." +sidebar_label: "Ingest Composio Event" +hide_title: true +hide_table_of_contents: true +api: eJzdVEtu2zAQvQoxqxZg5TRLdVOjDVAjixhxunKMgKbGFhOJZMihE1cQ0EP0hD1JMZRsJz5CvbE0fJzPe2/UAalthHIJd8FstxgirCRUGHUwnoyzUMItajQ7FEp8c6130Tjhg9uZCoPAHVr6InYYzGYvRYVtepVC6adPGxVJCrTPCRMW9/beztO6MVp8sE5Mt2hJCZWo/ij+/v4jWhOCC1FQjWJBwXgcUkcRhuqhEAvtPAplq3uriIJZJ25QqIAMcjsMWInKvdhIAVUrNsG1OWHA6JodViKm9XEwEdxLARKcx6A4MKugBGO3GOlBj4M+5CZAQsDonY0Yoezg8uKS/96ztEhaY4yb1IjbEQwStLPEGcoOlPeN0bnU5DHynQ6irrFV/OQDN0JmqBBJUcpPtPcIJUQKxm5BAhlqOLAYEKzVRqWGoASlNXrCCnqOkjJNLmv3Nxsol+epenmM2NQ00K9Oyb8Pt/teHiBu/Yia3tQf7XLF/Ez1E/T8k9Ai1Y6J9C4y3CuqoYQJje6aHJidDPJOQELEsGPjcY8pNAxX3uQGh9eayMdyMsFU6MalqlDZPoUyA3DFOXQKhvY5yXQ+u8b9D1QVBiiXq7eABTM+kPwedmRDeXONe5BgVcvv00S1C+ZXVg4kGFa7Hm7xyMZuXL4+MjN6ezqfwfkmvTtiayidrXGolI9Bno19mhYkYJt1BULVfj2esOTM4VDmovhcXHCIRWiVfVNilv19WuSr0d/v+uxOtv3Pl3+UnPCVJr5RxjJrmf1utO4SDtbNkg0UsA65QZDA38uazV4uoevWKuLP0PQ9h58TBnbkSsJOBaPW7I/lqpcH+7BZn3DP0ufdBQY2aXDh2deCTXzcrvnN4g76/h9Z8wKW +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Receive a Composio provider event; verify, demux, ack-fast, enqueue. + +Public (no Agenta auth) — mirrors the Stripe events receiver. Scope and +attribution are recovered downstream from the resolved subscription row. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-record.RequestSchema.json b/docs/docs/reference/api/ingest-record.RequestSchema.json new file mode 100644 index 0000000000..3aaeab6821 --- /dev/null +++ b/docs/docs/reference/api/ingest-record.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Record Id"},"record_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Record Index"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Type"},"record_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Source"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["session_id"],"title":"SessionRecordIngestRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-record.StatusCodes.json b/docs/docs/reference/api/ingest-record.StatusCodes.json new file mode 100644 index 0000000000..50e29e20d2 --- /dev/null +++ b/docs/docs/reference/api/ingest-record.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Ingest Record"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/ingest-record.api.mdx b/docs/docs/reference/api/ingest-record.api.mdx new file mode 100644 index 0000000000..a92caed02f --- /dev/null +++ b/docs/docs/reference/api/ingest-record.api.mdx @@ -0,0 +1,67 @@ +--- +id: ingest-record +title: "Ingest Record Event" +description: "Ingest Record Event" +sidebar_label: "Ingest Record Event" +hide_title: true +hide_table_of_contents: true +api: eJylVm2P2kYQ/itoPps338El/lTanhSUVkF3NB+CrGiwx7Cpvevsri9HkP97NbtgG7i7UpUv2LMzz7w9M+s9WNwYiFbwSMYIJQ0E7WMcgCpJoxVKzlOIQMgNGftVU6J0CgFo+l6Rsb+qdAfRHhIlLUnLj1iWuUic5fCbUZJlJtlSgfxUasa1goyTe39fRcpvdlcSRGCsFnIDAVhhcxYcourNU6jZM4dwMEG5+5RBtLo0zpQu0EIEVSXYrtGQVZ5DHbfwDw7wDF2m9PyiAyEtbUhfhehAapYXZCwW5ZUhp2ipz0Zvelk2qG3cXvd1J1dEveTjFtGoSif/F/PRg9QBoLVarCvr+99CYpoKpgzmiw5DrK4oOIKr9TdK7JvuZi16XZ8betIKTSmzvkO9+IJqPuy54/yDZzrUdd1F4NCcwJRKGp9OOBrxX0om0aLkdBiyShIyJqvy3sNBGYLrB+b6wnSr7v30fAY9nw5nUAdwG4aXQX7GXKQuhN691kr/lwhPRzoliyLnJ2GpMJcKuUpOTq+gVTNzcdtU1Bp3nZz/UD5AJllhNm/tkz/JGNw4Oh7n5TVVV4xmJIQsK1eQ4/HcCeoAEvvcgbloyG9cy2f7r6Tk2vjwD3odarYt8h16vRS/+xa85Oyo8mG5XFwAen6cEuOEQb37J2ZEAAXZreJroVSG30u0W4hgeBgqM/TLwwz9tQEBGNJPpI3rc6VzVsZSuCb71621pYmGQ6oGSa6qdIAbkhYHKLxizBhJpYXdOZDZYv6Rdh8IU9IQreKuwiNz07PtVK3pEJbiI3HNJBZucVR2q7T46SnEneaQvBUXhVn/0F55989YlDmdX2EtfzqXFNxk+G6STW/7k7vxXf92Mg3765ss6YfJ++lNNp1ihlM4v3lGJ7cGhKPwtj+664fvl+NJNBlH4bvB6G78Bc42/0UEx/XdHpxs4NqxOlNdUs9c4XuzxRzO2XByxAsCEzcPxyq6YwjOWtp2EgKgwq0HsITFL80Js5n54d2MBuPBiEVMrwJlx8XLfDyJsmkyj9ywzFG4peBi2h+o2ux/05TKuLY7usYBbJnY0Qr2+zUa+kvndc3i7xVp5l8cwBNqgWuu2IrX0vbIxD38TbvjzEvbd8uD1fPKM+9sl/IIeItZklBp39SNO7O3+PS4hADWh0+wQqVso/EHp4Q/IALgrzjrsoz2XraHHOWm4vUXgcfk3z9BNW6A +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Ingest Record Event + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-application-catalog-presets.StatusCodes.json b/docs/docs/reference/api/list-application-catalog-presets.StatusCodes.json index 309ed9e84b..ee5551dfe4 100644 --- a/docs/docs/reference/api/list-application-catalog-presets.StatusCodes.json +++ b/docs/docs/reference/api/list-application-catalog-presets.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets for the template. Use a preset's `data` as the first revision when creating an application from a template."}},"type":"object","title":"ApplicationCatalogPresetsResponse","description":"List of catalog presets scoped to one template."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets for the template. Use a preset's `data` as the first revision when creating an application from a template."}},"type":"object","title":"ApplicationCatalogPresetsResponse","description":"List of catalog presets scoped to one template."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-application-catalog-presets.api.mdx b/docs/docs/reference/api/list-application-catalog-presets.api.mdx index 804883db7a..f640cf96a7 100644 --- a/docs/docs/reference/api/list-application-catalog-presets.api.mdx +++ b/docs/docs/reference/api/list-application-catalog-presets.api.mdx @@ -5,7 +5,7 @@ description: "List presets scoped to a template." sidebar_label: "List Application Catalog Presets" hide_title: true hide_table_of_contents: true -api: eJztWN1v2zYQ/1eIe1mLaXZW7MnAgAVpu2bt2iBJu4ckSBjpZLOlSJUfaT1D//twFGXRtqy0affWJ8Pifd/vjrxbgeNzC7MLOKxrKXLuhFYWrjIo0OZG1PQfZvBKWMdqgxadZTbXNRbMacaZw6qW3OHkUl2qk0jADTLFKyxYzQ2v0KFh4eBRqQ3Dz7yqJTLOcm+4Iyqjq9qxny9VpQuULNfVrVDBlsfMLbhjNudlqWXB3AJZKYx1zOCdsEIr9mmBiuUGuRNqzri6VLz3hZVGV6md7IRby26EyqUv8JqbfCHusPjdGY835FM8uVQGnTDBuuDVBDLQNZog9riAGUhh3XWi6zrnjks9v44ckMHaf4rxCigoMIPOmOsPuIQMBEW45m4BGRj86EkrzMigDGy+wIrDbAVuWROvdUaoOWTghJP04TwKYy9xCU2TrbVsu9hp+ujRLDdUlVzaDV1cLd+UweKo9VZriVwBiY+flJcSmqvekONWHzvs9DV0atDWWlm0JPfJwQH9bGLrzOc5Wlt6yU4jMWSQa+VQuWBNH+Lpe0s8q8TW2lBWnGg15Nq3TNFKoRzO0STxOgoU2wB/7atbNEyXa5QbdN4oLCaBtuReOpgdNBl02Z2tQDis7K4RbQIGwhiTNxbF18TbbJn3MFFPExFNBgS2ERwF+GSQc4dzbaInvdq1q9v6uw/cGL4cteeoF91kUMrQeVIdm1EUtofubAeJCe5sD7kkVQHUTUZiDOa6qlAV90s6TUiHhSVovNeshHRYGN5x6bnT5j5Rz9aEw4KsEnWN7j4xZ5FsR0ifR337HnOXsP2jzYdS6k9HbXd7HvK2m2fCLHd8LKPeiIdi+a0RBBpv5MMlSJKwQF6EdpxK4UUhKEtcnmwYPKZn07U7NPYbSvVdZG8ysNLPHyrmjHgJEMWY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ck9hgYSOJD6fhK7CK/0xLLkWRvfX+2QvfPwTpxZT59bI87QRE4DOc3U/Xz81tJo3g45P1l2Q4+6G8btl4zebGzyHkX9Pj9tMhIOrCR0yeLQPbCd0Ao3tJP+35482Z1A33EpitboZ8aEd/8Dx88CHRdyZDSUOt84/ZrivNqf81c6jj5NBpWdj815f6O1fI49gPaThmCwczrtbtlAnt4TYWZ0nxMxO7k9olh+doP5T6FPsWnNj3TpA3mdojZD+0PxtE3BGNhenJ+f7Ahs8VGhW2ha7szD5Ba2MjOYJhiw04i4aYctO12lG51mGqE4hQwsmrtu+xOGF5IlQnrbvwvnajubTtFPcql9MeFzVI5PuGgJr0hG7o1wyyDk8OT4JS7b5zPMLq5SgnBttDjbJFvnhtfiZdg5xR3RoXcLbcS/3dwcFkTtiBQiKFSp05QfBuPY4cnxTj1uHFH58Nz1y5B4DNmW27239MivQvGAQ179sT6hXK/HKziY/Do5oE+1tq7iKlEROkLSSFjsJGxPR1z1Vf5jwdkuOCNMqFynteRCJUN3WwsXaT+kkMZqIOauHiCD2daOs1+JUlUvtHUkarW65RbfGtk09LndTBLKC2H5rUx2k2F5NbTSpF0NmRwq5Y4bQXzDMvYm/9Fp7EKP2b4YdPWjlqnOzq4NZ0OfXnQFuookh3mOYVbtmHeuFXJg3X7+fHYOTfMfhmc3xw== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-application-catalog-templates.StatusCodes.json b/docs/docs/reference/api/list-application-catalog-templates.StatusCodes.json index e5f3122592..5fdd7ae358 100644 --- a/docs/docs/reference/api/list-application-catalog-templates.StatusCodes.json +++ b/docs/docs/reference/api/list-application-catalog-templates.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},"type":"array","title":"Templates","description":"Built-in and custom templates an application can be created from. Each template carries a `key`, a `uri`, and the JSON Schemas that applications of that type expose."}},"type":"object","title":"ApplicationCatalogTemplatesResponse","description":"List of catalog templates."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},"type":"array","title":"Templates","description":"Built-in and custom templates an application can be created from. Each template carries a `key`, a `uri`, and the JSON Schemas that applications of that type expose."}},"type":"object","title":"ApplicationCatalogTemplatesResponse","description":"List of catalog templates."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-application-catalog-templates.api.mdx b/docs/docs/reference/api/list-application-catalog-templates.api.mdx index 68674b22aa..51a784d533 100644 --- a/docs/docs/reference/api/list-application-catalog-templates.api.mdx +++ b/docs/docs/reference/api/list-application-catalog-templates.api.mdx @@ -5,7 +5,7 @@ description: "List application templates available in the catalog." sidebar_label: "List Application Catalog Templates" hide_title: true hide_table_of_contents: true -api: eJztWN9vGzcM/lcEPrXA1c6KPRkYsCxN17RdEyRp95AECX1H22p10lU/nHrG/e8DdWefHDuXNe3e8pRYR36iyI+UyCV4nDoYXcB+VSmZo5dGO7jKoCCXW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vGhf0Rdab8/OTLcAmPkryM8NrnWmc5yr0MxjBMI3kYRtcw3VwDSEDR3a+Wu/E2YWZZPRj83PmfeVGwyGFQa5MKAY4Je1xgLIhvGKMPFjpFxFk/+ToHS2a1zOMLq5SgphlTUBtkq2dgJXkVUG2WjXtBz8zVv6zGpvjnqmZkKKppJ6Y1Lf7UTmxf3K0lWMbnzhPMPfdPqX9DNmda3e35Td+GbMEPGH5+/oLO3U9XcHe4JfBHh9VxvkSdSIiZnlSHkRbH8S95XDZJfTT0vNRS882rjiRh5VCqZMhvcmSi7RSsgda40G6jsuAs3pmnGeG5XKMjj5aVdd83Ow9OfgL6dgN3eYzrsV2LUx5g8OKxQSao5XMF/NltQGIgA3/fp5THCNXXFu1nVHWNeDPw3Oo638BDTEa6w== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-evaluator-catalog-presets.StatusCodes.json b/docs/docs/reference/api/list-evaluator-catalog-presets.StatusCodes.json index 4804fec8b0..4e03f4c9bf 100644 --- a/docs/docs/reference/api/list-evaluator-catalog-presets.StatusCodes.json +++ b/docs/docs/reference/api/list-evaluator-catalog-presets.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets in `presets`.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter presets defined against a template."}},"type":"object","title":"EvaluatorCatalogPresetsResponse","description":"Envelope for a list of catalog presets."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets in `presets`.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter presets defined against a template."}},"type":"object","title":"EvaluatorCatalogPresetsResponse","description":"Envelope for a list of catalog presets."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-evaluator-catalog-presets.api.mdx b/docs/docs/reference/api/list-evaluator-catalog-presets.api.mdx index 10186614dd..d526938958 100644 --- a/docs/docs/reference/api/list-evaluator-catalog-presets.api.mdx +++ b/docs/docs/reference/api/list-evaluator-catalog-presets.api.mdx @@ -5,7 +5,7 @@ description: "List presets defined against one evaluator template." sidebar_label: "List Evaluator Catalog Presets" hide_title: true hide_table_of_contents: true -api: eJztWE1z3DYM/SscnJoZZdfN9KRTdxwncZMmHttJD7bHpiVolwlFKiS1zXZH/70DipK4X3LipKfm5DUFPIDAI0hgDY7PLaRXcLLksuZOGws3CeRoMyMqJ7SCFN4I61hl0KKzLMdCKMwZn3OhrGNaIcNOmTksK8kdTq7VtZoFJSYs40zxEnNG/+qCVdzwEh0aRqpoSfJpIaQckK+VW+AAyN5bZLRi0NWGPLj7hKs75jQr0GULxpmtMBOFyILZa7UUnN29PLlk04w7LvV82sHZ6br7efsJV800bG+6bn/4xbsJJKArNJwCcZpDClJYd9tv9zbA3gZtSKDfGEV1DbRpSCG2BQkIimrF3QISMPi5FgZzSJ2pMQGbLbDkkK7BrSrStc4INYcEnHCSFi4DGHuNK2iapLciVCbrHG+5yRZiiXln6XONZrVhquDSbtjiavWu8B4Hq/daS+QKCD4sqVpKaG4GR05be2zW2Wvoq0Fb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_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-evaluator-catalog-templates.StatusCodes.json b/docs/docs/reference/api/list-evaluator-catalog-templates.StatusCodes.json index 72a9de8d17..3d48f60cfc 100644 --- a/docs/docs/reference/api/list-evaluator-catalog-templates.StatusCodes.json +++ b/docs/docs/reference/api/list-evaluator-catalog-templates.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},"type":"array","title":"Templates","description":"Evaluator catalog templates (blueprints for creating evaluators)."}},"type":"object","title":"EvaluatorCatalogTemplatesResponse","description":"Envelope for a list of catalog templates."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},"type":"array","title":"Templates","description":"Evaluator catalog templates (blueprints for creating evaluators)."}},"type":"object","title":"EvaluatorCatalogTemplatesResponse","description":"Envelope for a list of catalog templates."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-evaluator-catalog-templates.api.mdx b/docs/docs/reference/api/list-evaluator-catalog-templates.api.mdx index cf89662757..3dbc1fa820 100644 --- a/docs/docs/reference/api/list-evaluator-catalog-templates.api.mdx +++ b/docs/docs/reference/api/list-evaluator-catalog-templates.api.mdx @@ -5,7 +5,7 @@ description: "List evaluator templates from the catalog." sidebar_label: "List Evaluator Catalog Templates" hide_title: true hide_table_of_contents: true -api: eJztWEtv2zgQ/ivEXLYFtHY22JOBBRqk7TZttwny6B6SIKalkc2GIlU+3HoN/ffFULJEv5Rt0r3llFic+WY483HImSU4PrUwuoY3cy49d9pYuE0gQ5saUTqhFYzgo7CO4UqAOSxKyR1alhtdMDdDlnLHpZ4ObtSNumyXuUE2kR5LI5SzzM24YzXyBBlXHeQvls24yiSaG3V1fpKw9xenn5hNZ1hwmzCuMpZhzr10LNUqF1NvOPk2YGfc2hs1FiqVPsM7btKZmGP2hzMex8xp1qywDEuDKXeYdf4P2JVF8v9GGXTeKMzY+B4XY/ZNuBkbD5ttDVuN4XL17909LqphadCis8PxjXKaSYqTcJY1nweQgC6x9vUkgxGQxF277bsG/67FhwRKbniBDg2lZQmKFwgj2NwgJCAoNV89mgUkYPCrFwYzGOVcWkygDh6MlsDV4jQPWG5REtZEa4lcQZW0n5SXEqrbBJxwkj6cNGE7WtmraNWgLbWyaAn38OCA/qxT5cKnKVqbe8nOG2FIINXKoXLBm7KUIg0RGX6xpLOMfC0NxcuJ2kKqfa3UeCmUwyka6Nw8DhKbfP3kiwkapvOIqkKxcftrPAg6gVEwOqgS6DIwWoJwWNhtd+pU7AiodUaoaW88P5FuteHo46BeRxBVAve4iELU6HfSH3BBUsT8qTbNTjqz7VY37a8+cGP4otef4w66SiCXoaDENtajKGxH4tEWJyMG2o58UbICvauEYAymuihQZQ8jnUeiu8EiXj7oViS6G6w94Q9BtVV3D5BVoizRPQRz0YhtgXR51JMvmLpI7W9t7nOpvx3XNehtyNt2nomz3PG+jHojHsvlKy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+sk/l5H8tJxU9cLtm5nqoTTrHJfdv+SvfDO1x4B7X93Pddej0I826XrTpvtq5e6fx7lkuozlzc2TqwNpRPhqdnkUzfOYpNDLL5aKf383z0WDgHlLVRDPilj5yiUKVGASyerJW2a5yXq6X/PuLF7vD6CcmeBr6fvJa69C0P3ISTdEyLgZmQ6GSjdPvyazbww77oJq5paJQmMXQoPcXGsMWkfcPkwZjkEt/2j6RgTwu8mHgs98imB2vHntbfrN7PR/HrbdNrX5DF3e3nYtqDx02xavaBUNh9vby8mwHsI6PAm2u/AZmEcauktkcJjDuI3jPrgcoGNTLdhMTBgwYs5IHL9Y/c2tLMxmP0Y0SoVw6YguUlo0YrwlvPUbiNLerADI9O3mPq7rFhcn1bUwQSnsdTptknQtYyf08T9ut0NTZXGn+TzvbhpVQPcYEQ3GZqdiz06AcmZ6d7CTcxpHPEpbYfunRHAPdunZ/W9+IFyFHwCIrXnYn3qXdCARHo99GR/5TqYwtmIxEhC1jX4eaUkEO1qx1n8xPG8of2FA2seVTeVwKxmU0Tdd5cg19nkDYA3mZEG/NKPiszpWxnny9njODV1pUlf9cLyl9+KfcsLmI1pRhe7Vvu+kFerVCCi2Z5p4vZEw7qAfAmn+aJBimvZZrp7Z7lK4G/Pn6EqrqX5bJAyU= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-evaluator-templates.ParamsDetails.json b/docs/docs/reference/api/list-evaluator-templates.ParamsDetails.json index 70359ecb80..8d8f23e241 100644 --- a/docs/docs/reference/api/list-evaluator-templates.ParamsDetails.json +++ b/docs/docs/reference/api/list-evaluator-templates.ParamsDetails.json @@ -1 +1 @@ -{"parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}]} \ No newline at end of file +{"parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Include Archived"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/list-evaluator-templates.api.mdx b/docs/docs/reference/api/list-evaluator-templates.api.mdx index 5e5868554d..62f88fef3e 100644 --- a/docs/docs/reference/api/list-evaluator-templates.api.mdx +++ b/docs/docs/reference/api/list-evaluator-templates.api.mdx @@ -5,7 +5,7 @@ description: "List the legacy built-in evaluator templates." sidebar_label: "List Evaluator Templates" hide_title: true hide_table_of_contents: true -api: eJztWEtvGzcQ/isEL31gLblBTyoKVE2M2o0bG5HSHmxDpnZHWsZckuEM7ajC/veC5Gp39TIcn3sSlhzOfPOe0ZqTWCIf3fCzR6G8IOOQ32W8AMydtCSN5iN+KZEYlcAULEW+YnMvFZ1IzWDziBFUVgkCHNzqW/0RyDuNDEmQzDuyE1pZYAUspJaBNzIspbVQsCdJZRBxq60zhc9pwK4dLMBFuffDlgUOc0FCmeXwx3sGurBGakK2MI5peLrVUhMsnYjcf2FUSmypmET2AJYisVEFOJYrCZpwwK4F4q2+lzpXvoCZcHkpH6H4lZyHe0aGNTesAOsgFwRFT2eecWMhSb0o+IgriTRrMc9aSp5xK5yogMAFs6+5FhXwEd8VzDMug+m/eHArnnEHX7x0UPDRQiiEjGNeQiX4aM2DTfmIz41RIDQPzlsIr6glJUkqUFw0Kow3Mur6LnBGazQCBl5vTk/Dz7b7Jz7PAXHhFfvYEPOM50YTaArkwlol86j98DOGN+sePuuCbUgmCbnx6VEDO/oLHO9gvo0UuzH4wVdzcMwsOrMzqdl9+3U/6Kt+Wme8s/pozSVBhftwkvlbNEhO6mUPzIdwv4vl3FdCnzgQhZgraAGxwGzA64w/wOo5pu9htcdzQtu8ZAGa5EKCy5jHEG2G5Q7CVZcLbOFMFTNk8y6KL6SDnGYe4WB8bGC8i2TsE+5r+E8JVDbJ10LKhWZzSGhCvhpPbOFdJMyNXsilTykQQSAQSb3EmXWAQNHaQq+uFjHsW3eIooilQKjrnmNC2mUb5Gb+GXIKPJsD4ZxY8TprddNeKR6CeaPapBEeikgUvqtgOmdtMm4rsF+Xtg3c6rY5/T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AMl+PrC/YAq4PKpNGkVw92Xbqd8x3uaXi4B1Ms05iwdMbbGGRd/64z3nbe11pr3LXul7q2GyYG7FwWBWjmtQJEdmQSOWCner+CdMPCTWpiqetsFf9DhaqnTDsOHi0+k53ZrlOsm+/Y94dGxZUF/CHOidO2XQsH+3W1GQVj0DTFAeJFmxK3eofvgE1LWEV2oQefGK1W8T1CKH0EqS16BHdinjQUfQ7CkVyInFJAHAuu3iy3bZHfnxuL+SFHHbU29oapbSFn+hGUsRBDWbAwaIbB54jIIPTnN2/257a/hZJF7GfszDnjXj+0FUBCqmfGKGXyrdsXlOjN4FffHffDpUkAg6sqXD43U/0FiGIJnVOPk0ZjsGm4rcMIbn0aSNsxORzUGc/pa4/NnkPfBlt+pYNO72dnsE2C39D1UrBzUfLQcVO8Sy54LsLOp9PrPYYpPiqg0oSlZQkU9xMq+YgPUVZWQX/x6m8xCO5xs8J4p8IDYWX0YfosiSyOhkPwg1wZXwzEEjSJgZCJ8C7wyL2TtIpMxtcX72F1DqIAx0c3d32COB+kYNomax0grEyDc7NOjT2Vxsl/RdPU4y5Vpld1dOzC9P06juBCN9pLuK2rkCMip247aK55tqN2py3POFQxQziBqH5rb4JDgw2TmNPBT4PTcGQNUiV0T0Rcv9sSwY4WoHWXwv+v7C9Y2ZvYCYk6tErIWEqiG9dNFtzwlAXBh93/I/3t8S7jpUEKpOv1XCB8cqquw3Ha3ENoFxJDr+p297gCHlr5g4wAKabHo3AyvIvZkG2iNzBM78d5DpZ6r/aqduDSZvcfZ1Ne1/8Bd0ZWng== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-organizations.StatusCodes.json b/docs/docs/reference/api/list-organizations.StatusCodes.json index 02d58c9577..384e004954 100644 --- a/docs/docs/reference/api/list-organizations.StatusCodes.json +++ b/docs/docs/reference/api/list-organizations.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"},"type":"array","title":"Response List Organizations"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"},"type":"array","title":"Response List Organizations"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-organizations.api.mdx b/docs/docs/reference/api/list-organizations.api.mdx index ce2b79bbda..cbbbb8b7ee 100644 --- a/docs/docs/reference/api/list-organizations.api.mdx +++ b/docs/docs/reference/api/list-organizations.api.mdx @@ -5,7 +5,7 @@ description: "Returns a list of organizations associated with the user's session sidebar_label: "List Organizations" hide_title: true hide_table_of_contents: true -api: eJztVsFyEzEM/RWPLlw8SeG4JzJDoZkC7dAyHNJMR91VEsOuvdhy25DxvzPyJulmKT0UuJFDsmvpPdnSk5wNMC4DFDM480u05geycTbAXENFofSmlXco4BNx9DYoVLUJrNxCuT5AYQiuNMhUqTvDK8UrUjGQfxFUoBCMs6Mre2W3NMWVVUplqlk/8LxQkz8MgCbQjv/k8vL8+L6kfIhCTReC8qRMUGgVee+88sTe0K2xy0x5GHThXZOXK2S8wUAj0OBa8tk+raAA2e31AQo0eAqts4ECFBt4dXQkP4f5vIhlSSEsYq0+bZ1BQ+ksk2Vxx7atTZkZx1+DYDYQyhU1KE+GqcnkrZftsOlCmUq+ed0SFBDYG7sEDWy4loVpBUlDqOMyB7DrswUUs6F/0vsVG+sa0vyB4UKwSYPFhp7L8VGwaaCv51G96VEkDYs6a7nPhVVlxIz1eS9R7CPpHau7+UolPxnnbSZOetssfz/A5Za/IcZ/wf9BeJMGd2fJXz+ukoXzDTIUEKOpeqo5E4zqtNNQc0M+HChwWK7dAnqPa+jvocMmDcbeGt42S4/q99hpD5A03Dn/LbRY0vN28uUBntIwjdK836PxVMlUzJnYZ62X0f7UeiLUrrfVexlqhzM2ySfXfOVkkixJorfIKyhgPBwpgfxtTv1sA9HX4oKtyVXvXlfMbSjGY4qjsnaxGuGSLOMITec4F44yesPrTDI5n57S+oSwIg/FbN53uJBB02X30G2fZGzNKclJu1EAk8gr53cJkRLLljpUyiVfuAzfJmaSN6cm51MYXjUHJpmIWOaJuIuUzaAHx344LWigBo0YmbB5vbdInSSHXZij0cvRkSy1LnCDthfikWL9Mq/2o/r/1fhwNW7FwXTP47ZGk1sj12mzFfYM3PCPxsoFFsNmIzSffZ2SLH+P5EWpcw236A3eiG5m86R3shIRf6O1SKKUg4A41rFT5+DyFHHvG+3d8SWk9BN36B5T +api: eJztVk1v2zAM/SsCL7sISbejTwuwjwbd1qDtsEMaFIzNJGptyZXotlmg/z5QzofjbT102205JLZIvieRj1Q2wLgMkE3h3C/Rmu/IxtkAMw0FhdybWt4hgwvixtugUJUmsHIL5boBCkNwuUGmQj0aXilekWoC+VdBBQrBODu4ttd2C5NdW6VUgpp2iWeZGv0hAZpAO/zTq6vJ+6ec0iEyNV5IlCdlgkKryHvnlSf2hh6MXSbIY9KFd1VaLpBxjoEGoMHV5JN9XEAGstuboyjQ4CnUzgYKkG3gzcmJ/Bzn87LJcwph0ZTqYusMGnJnmSyLO9Z1afKEOLwNErOBkK+oQnkyTFUCr71sh01LZQr55nVNkEFgb+wSNLDhUhbGBUQNoWyWicCuzxeQTfv+Ue9XbFOWEGcHhEuJjRosVvRSjC8SG3v6ehnUuw5E1LAok5a7WFgURsxYTjqJYt+Q3qG6+S3l/CzPhwQc9bZZ/j7B1Ra/IsZ/gf9ZcKMG92jJ3zyvknPxUa1WKqrm5MOR4vrl2S2g97iGLmcbGzUY+2B42xwdqN/HjjsBUcOj83ehxpxetpNvh/AY+2mTZr1vjKdCpqApoJOlTga7U+oZql0vq08yxI5napRPqvHKyeRYkrDXyCvIYNgfIYH8Q0r9dAONL8UFa5Oq3L6umOuQDYfUDPLSNcUAl2QZB2hax5lg5I03vE4go8n4jNanhAV5yKazrsOlDJY2u8du+yRjbc5ITtq2PowaXjm/S4iUWLbURsVU8oVL4dvEjNLm1Ggyhv7VcmSSCYh5moA7pmQG3Tv24bSggSo0YmTC6u3eInWSHLY0J4PXgxNZql3gCm2H4hfF+mk+7Ufz/6vwcBVuxcH0xMO6RJNaI9VpsxX2FFz/j8XKBRbDZiMwX30ZoyzfN+RFqTMND+gNzkU301nUO1mJiO9oLZLI5SAgjmXTqrN3WYq494328f0VxPgDXF4ZJQ== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-secrets.StatusCodes.json b/docs/docs/reference/api/list-secrets.StatusCodes.json index e7497c368a..da50986e66 100644 --- a/docs/docs/reference/api/list-secrets.StatusCodes.json +++ b/docs/docs/reference/api/list-secrets.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"}],"title":"Data"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"},"type":"array","title":"Response List Secrets"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider","custom_secret"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},{"properties":{"secret":{"properties":{"format":{"type":"string","enum":["text","json"],"title":"CustomSecretFormat"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object"}],"title":"Content"}},"type":"object","required":["format","content"],"title":"CustomSecretSettingsDTO"}},"type":"object","required":["secret"],"title":"CustomSecretDTO"}],"title":"Data"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"},"type":"array","title":"Response List Secrets"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-secrets.api.mdx b/docs/docs/reference/api/list-secrets.api.mdx index 8d98a2c800..dab75acbe1 100644 --- a/docs/docs/reference/api/list-secrets.api.mdx +++ b/docs/docs/reference/api/list-secrets.api.mdx @@ -5,7 +5,7 @@ description: "List Secrets" sidebar_label: "List Secrets" hide_title: true hide_table_of_contents: true -api: eJzNV01v4zYQ/SvGnIU47dGnuptFGyTbBPWmPRiGMZbGFjeUyJCjNNpA/70YSrIlxdEm3gXakz5IPs68eZzhPAPjzsNsCQuKHbGHVQTGkkNWJr9MYAZaeV77ZjQCR96a3JOH2TP8fH4uj4R87JSVJTCDRRHH5P220JM/m8kQQWxyppxlOlqrVRx2mH7xsuYZfJxShvKmmLIAbp0Ywqre6l7liTy5tAQz8OxUvoMIKC8ysd8686gScut7KmW7wrPJ1u1fiMB70/38hzapMfeHX6sIWLEW8JqLK9mxiiBBDoZhXt5sYbZ8r2XGUo4qU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9FDijuEkGwkwqqKZ6OIIQ8WCHsvkoQSj7X1D9pLrxfdl6njoM47EGMNx+/BjSZhgq8xrVMxsH5QLwyCw2wJr4r/kGFnAWEy9zep0tkH8W4DwgBvVS/HA/4WyF/rWPO2qB+HHI3GFeaQ1ldtJNokN7jcb+sa/DvqRqc7r7Lte/l4n9Wumlxx29Zy6luaZihT1luRsBJdoejjQe6LoAZXsBmbxq8IUyqFaKjv90z6poBNQXPvcPhbOKftbDrF6iQVqspOIEfp4AR4WHhPGGlluKs9yPzm4hLrqOjZ3X13wYI+LgQN95dt2AXNL/13g3CD2bxyhTL8u/9IQWWcnIxskvdcrpXfHqmae+Mm85sLNqSmN0XZFFK3zRVxmiUDt7feUp0qgdOkQyh/2cz03p3Y6clPJ6e+J1bWlSA7RwyCM0gwkQGqgVMtgPs3qdinhcC1mZs2k5YKZR2NvryswOKtEU1Dw48VGorFfcKewHBYETN39510eRdbDTZPU9SkjCcQVeB/8EmIwrdR0W+fvrKm+RcfCWib sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-tool-actions.StatusCodes.json b/docs/docs/reference/api/list-tool-actions.StatusCodes.json index 7a23465ec5..9032711e0c 100644 --- a/docs/docs/reference/api/list-tool-actions.StatusCodes.json +++ b/docs/docs/reference/api/list-tool-actions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"actions":{"items":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"}]},"type":"array","title":"Actions","default":[]}},"type":"object","title":"ToolCatalogActionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"actions":{"items":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"}]},"type":"array","title":"Actions","default":[]}},"type":"object","title":"ToolCatalogActionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-actions.api.mdx b/docs/docs/reference/api/list-tool-actions.api.mdx index 7b9278c7d9..58ccae1c88 100644 --- a/docs/docs/reference/api/list-tool-actions.api.mdx +++ b/docs/docs/reference/api/list-tool-actions.api.mdx @@ -5,7 +5,7 @@ description: "List Actions" sidebar_label: "List Actions" hide_title: true hide_table_of_contents: true -api: eJztWEuP2zYQ/ivGnBJAtdxFTzrV2KSJu9uum3V7WRgLWqJtppSo8LGIK+i/F0PqQUm24uw6tz0ZpubFb74ZcliAJjsF0QOshOAK1gGInEqimcgWCUTAmdKPWgj+SGJcVBBATiRJqaYSFQvISEohglyKJ5ZQ+fgvPUAALMM1ovcQgKRfDJM0gUhLQwNQ8Z6mBKIC9CFHXaUly3YQgGaa48KyMja5oQcoy6DxwjJNdy6+izhatPYGvr4YKhsP9Z/WxZZw1fFBssPd1kLS9YYmq5XMcA7luvX/lzXre42JpjshGVUvcU2kJDZ2TVM1BKAci+m6jcAPjLOU6ZfEZHNH5Sget9ZJBw8jlZA/OA3Xzonvd2s4f0yoJ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bH34lF9CnSZHP0GkoPK8GC+jTfD7rGfT8aBPjhik9akiYU70V+ACwodqN/HoLCcT4EqDi1NMurkd+Fe/D6d/GwZSu4n1nZrdxdYePIQJF5WP9kGAkRx+kZI4T/u9W61IlcUzNRcqFyS7IhhaaXBDmBRdoIzWS6Z0zMplNr+nuEyUZla6EAgHXSTw522LN2Fyy66amE5gYvRWS/esZV02BW69lHVHWIuTJxAU3msym0AW49QlrjqSOYrUn9xmizrab3UIENHcVB5qS/JfDFyQIYujdjC/eXYxxqRRK56QIXHRS3LnrVgggfeOSE+YKzAWzr9L/AC794C61SAAkRk0BiCDpPQE1LMDP/beb5k0JC2ArFHY92O9XRNG/JLcWl/3QjbnNmCIrHozd7vJ/mMofCTe4BceeE7Kt15VzFOpXj7OM108V5wh33hcalQX+kQx1ju+6k7hD/4Y3d1WLeTtqTvF2QmueFy3A6phaCTwa+4/z3WWHOwO2dR1Xgx5M0pSWYT56Rxbid+heHz/MwdpvLx0lHg== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-tool-categories.ParamsDetails.json b/docs/docs/reference/api/list-tool-categories.ParamsDetails.json new file mode 100644 index 0000000000..68d3f6140a --- /dev/null +++ b/docs/docs/reference/api/list-tool-categories.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-categories.RequestSchema.json b/docs/docs/reference/api/list-tool-categories.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-tool-categories.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-categories.StatusCodes.json b/docs/docs/reference/api/list-tool-categories.StatusCodes.json new file mode 100644 index 0000000000..58fdfc0f9d --- /dev/null +++ b/docs/docs/reference/api/list-tool-categories.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"categories":{"items":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"ToolCatalogCategory"},"type":"array","title":"Categories","default":[]}},"type":"object","title":"ToolCatalogCategoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-categories.api.mdx b/docs/docs/reference/api/list-tool-categories.api.mdx new file mode 100644 index 0000000000..633625472e --- /dev/null +++ b/docs/docs/reference/api/list-tool-categories.api.mdx @@ -0,0 +1,69 @@ +--- +id: list-tool-categories +title: "List Categories" +description: "List Categories" +sidebar_label: "List Categories" +hide_title: true +hide_table_of_contents: true +api: eJydVU1v00AQ/SvRnEBaxaHi5BNRQbQqHxUELlFUTe2JvWXtNbvjimDtf0ezdhK7IUXilHh3Pt97M9sBY+EhXcPKWuNho8A25JC1ra9zSMFoz3dsrbnLkKmwTpMHBQ06rIjJiW8HNVYEKTTOPuqc3N0P2oECXcsZcgkKHP1staMcUnYtKfBZSRVC2gHvGvH17HRdgALWbOTgdgg2u6EdhLCRGL6xtScvbheLhfzk5DOnG6kXUvjaZhl5v23N7MtgDAoyWzPVLObYNEZnsb3kwYtPNyqlcdI86z5DZtveaahQ10wFuVGJl9FCQU5bbA1DuggKRjilHWimyp/G1vlzrV/nENQA6nmrT3Ifgtob2PsHyniC9VoSDZE2R0/h+hIZjS0u+2p3cIyDzuFu3OWY+EOr683fUp/PoMkfKAlBfF9fXJwy+B2NziM/s3fOWff/9OXEqM0zHBibTW6x3n3eRjlPEQ/qRAJhcx6uD7YvUBCtfPEcgx/JeyzoiP150wjGbCW3QSaraXtp7hUTD0R9/GsU5oSXS8HyF/9TNoJNX/5gN1LPkaKeofNQvO0peE4oV6vV7UnAXh9TYXzQnmcTKVbEpZUdVRDHlcQlpJDIsvJJ1osv2a8kn3Tj7RSS45gmoMCTe9wvs9YZiYONjtT3nyVz49MkoXaeGdvmcyyoZpyj7g03EiNrneZdDLK8vb6h3RVhTi4Oy8jgqyi21+DU7MAbNvomrtBhsS5bLq3Tv3thDZu17L1C1MPWjuWwjMXNlrfX8BTHyZWMFmZRSftM8RrUk7aP3YICquJgARNWbw43ogPBsE+zmL+aL+SosZ4rrEcpTpmcVHgAQYSaNAZ1HKVYTzewvIbIMsRtKzwL/3umQUH65CWavF2i5dJ62WHQdffo6ZszIcjxz5ac8LdR8IhO472gue4g117+55Bu0Xg6qfiwouDFl2GKXs5A/b2TPce1VPaIppUvUCClPnlD454p9yLqBpNlllHDI+eTtShqO4zH+3crCOEPQU2yvQ== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Categories + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-integrations.ParamsDetails.json b/docs/docs/reference/api/list-tool-integrations.ParamsDetails.json index 86dafde1c2..cf1f104212 100644 --- a/docs/docs/reference/api/list-tool-integrations.ParamsDetails.json +++ b/docs/docs/reference/api/list-tool-integrations.ParamsDetails.json @@ -1 +1 @@ -{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}]} \ No newline at end of file +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-integrations.StatusCodes.json b/docs/docs/reference/api/list-tool-integrations.StatusCodes.json index 383a5921c8..da372a3ff1 100644 --- a/docs/docs/reference/api/list-tool-integrations.StatusCodes.json +++ b/docs/docs/reference/api/list-tool-integrations.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"}]},"type":"array","title":"Integrations","default":[]}},"type":"object","title":"ToolCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"anyOf":[{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"}]},"type":"array","title":"Integrations","default":[]}},"type":"object","title":"ToolCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-tool-integrations.api.mdx b/docs/docs/reference/api/list-tool-integrations.api.mdx index 05b8d0a96d..39f1036c41 100644 --- a/docs/docs/reference/api/list-tool-integrations.api.mdx +++ b/docs/docs/reference/api/list-tool-integrations.api.mdx @@ -5,7 +5,7 @@ description: "List Integrations" sidebar_label: "List Integrations" hide_title: true hide_table_of_contents: true -api: eJztWE1v4zYQ/SvCnFqAiNygJ5/qZrddI2kbbLy9BIZBy7TFLSVqyWGwrqH/vhhSkin5o1lnF73kFISamTcz75EcegfINxbGjzDTWlmYM9CVMBylLqcrGIOSFheotVrIEsUmfLHAoOKGFwKFIe8dlLwQMIbK6Ce5Embxj9gCA1nSGsccGBjxyUkjVjBG4wQDm+Wi4DDeAW4r8rVoZLkBBihR0cJ9Eyy5FVuoa9ahWMFNlrfxPzlhtj2ANVe2h8DL7V9rn2cfi2I2K6VTCur5Hv0hgPRwtcHFcvu9gbXB5Nd+xUoWEl+C69kT5izwnQe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Z5lULj/ja6wsP+MiCC7IRua0sBtvZHZzeYWbD8hz1P7IRAJ3u2tpKNbXjtfianeaw+WhtPgnkKt9QRVBq/GcWKmYEjPvXDK7uYRxLgdbdLx45tnUIfltYKOwd9HSRVn6wwUWeflLv0NcoBwGmMnZT2cTWqqVsSWvIohD1RzdSW0aiK5pLbmoolkjVPoefKXBXz5Ua+JAV21gMN37bDLAI04XylA3g+32gRv8pGXT0HJ4mFINc2H4g4yepv4e3n0qeeTSkZueJseE++8bT5GOvkk8Rbz7jPAk093b/ynCowf7TmVBf7QgncMpGhWy79/ww23bYn5MgB0ucEf+ahB/59OgoL4JF93paickmGUZ1nFC9u4MCqDvHL+/n0PT/AtCO6+e sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-trigger-deliveries.RequestSchema.json b/docs/docs/reference/api/list-trigger-deliveries.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-deliveries.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-deliveries.StatusCodes.json b/docs/docs/reference/api/list-trigger-deliveries.StatusCodes.json new file mode 100644 index 0000000000..3e70c41c12 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-deliveries.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"deliveries":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"data":{"anyOf":[{"properties":{"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"is_test":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Test"}},"type":"object","title":"TriggerDeliveryData"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["status","event_id"],"title":"TriggerDelivery"},"type":"array","title":"Deliveries"}},"type":"object","title":"TriggerDeliveriesResponse"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-deliveries.api.mdx b/docs/docs/reference/api/list-trigger-deliveries.api.mdx new file mode 100644 index 0000000000..bf2bc1d063 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-deliveries.api.mdx @@ -0,0 +1,59 @@ +--- +id: list-trigger-deliveries +title: "List Deliveries" +description: "List Deliveries" +sidebar_label: "List Deliveries" +hide_title: true +hide_table_of_contents: true +api: eJy1V01v40YM/SsGz6rt9qhT3c1ia2yLBom3F8MwaA0tz+7oY2c4RlVD/72gRpIlJzFSw5tLIg35HvXIIZkTMKYO4jWsrE5Tsg42ERQlWWRd5EsFMRjteMvheKvI6CNZTQ4isOTKInfkID7BL/O5/FLkEqtL8YYYnn2SkHN7byZPrTFEkBQ5U85ijmVpdNKQzb468TmBSw6UofxVWgmFdWBICh+cuCoJYtA5U0oWImDNRt58aCwiULRHbxjieS0PfcjxCTRT5l7BtoRMaoshqrz6aw/xuqdybHWeQgT7wmZiAwqZfmKdEdRRb5Z7Y6DeDAIKsJMFQx2BL9WPIPkSYFsSRYZ+AMlDgG1JOrl21Vard/J4r9W7xPqtmizVUK+7snRq9SydYHdl6eTqWe4HHfAcI/tXClkS6RizcnBRruX8jLvqPeuo9Xw74GsBruS9FEmhbsb4IL51BBk5h+nNMH+27kGw5BtbTG4Gez4j1L1EUOy+UsIwMpPMSGUh45hsnCs6Us7bb1TdGtFHAZh8pkrYLO3JUp4E7DMcKqWlv6J5HLGPYzmSdTr031si+bt1F6GNT2+WWHzvfluuJOupEw1eGF1DfTprLdHmped3qc7W0//hWQbkJruumWj353gKyHUEZG1hb67FxlnUcFsm9/r02RWFIcyvf7ObrMT/WtrabeUhjPbqQS7aS0wpRr/r95E7tvfnAWzb4GVrUd7QPVlayJYhtIsAfwk67ghvFL2l715bUrLvtfNjgLp5U97B3UBrsYLRnOuWq/fnS5Prt8FafqKLtfEP7XjyMFw1M+JDIdtoSoJbIh8ghlm7lrrZaC91ZKWdNep7a8QQS91IHR4PzKWLZzPy08QUXk0xpZxxijoYbgQj8VZz1YAsHpefqfqdUJGFeL0ZGkiSstBDx2Z9krDU0qIjyDGT54XnQ2H1v83WC9I+JKTgVTftZF+EUR7EWzTBTRaPS7gUanQkazUmzcXrmJpjiC4++/y1kv8MtRwyYfZrfyIp70cCzKc/T+fyqiwcZ5gPKF6mahRhLwLTPzwrDepmRjTxnNo0rqFLI4y29U0Eh0IayRpOpx06+mJNXcvr716qMl5vIjii1bgTndZy3w9djk7QzFVYJAmVUjJHND5k4+I/DklmX16fPq6grv8D1VZ0+g== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Deliveries + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-events.ParamsDetails.json b/docs/docs/reference/api/list-trigger-events.ParamsDetails.json new file mode 100644 index 0000000000..06a5687275 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-events.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-events.RequestSchema.json b/docs/docs/reference/api/list-trigger-events.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-events.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-events.StatusCodes.json b/docs/docs/reference/api/list-trigger-events.StatusCodes.json new file mode 100644 index 0000000000..a99ce64140 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-events.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"events":{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"TriggerCatalogEvent"},"type":"array","title":"Events"}},"type":"object","title":"TriggerCatalogEventsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-events.api.mdx b/docs/docs/reference/api/list-trigger-events.api.mdx new file mode 100644 index 0000000000..d8ebd534a3 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-events.api.mdx @@ -0,0 +1,69 @@ +--- +id: list-trigger-events +title: "List Events" +description: "List Events" +sidebar_label: "List Events" +hide_title: true +hide_table_of_cont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qnqXDv6yuaz4Oiw4Xd6ecfNaDVcd/WrtN6EXqkh/h5XPGtl3dvsW227d64y3/sYqtX89oQms3XeGnD80AeDMD8TrdrQjz0WPabEbcvpr1j8OeFs5P6EPbZM2KA8skwWJI7skHhfnrhsuvqzXU9b/4LWSM +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Events + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-integrations.ParamsDetails.json b/docs/docs/reference/api/list-trigger-integrations.ParamsDetails.json new file mode 100644 index 0000000000..bad2c79142 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-integrations.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-integrations.RequestSchema.json b/docs/docs/reference/api/list-trigger-integrations.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-integrations.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-integrations.StatusCodes.json b/docs/docs/reference/api/list-trigger-integrations.StatusCodes.json new file mode 100644 index 0000000000..3af554f14c --- /dev/null +++ b/docs/docs/reference/api/list-trigger-integrations.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"type":"string","enum":["oauth","api_key"],"title":"TriggerAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"TriggerCatalogIntegration"},"type":"array","title":"Integrations"}},"type":"object","title":"TriggerCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-integrations.api.mdx b/docs/docs/reference/api/list-trigger-integrations.api.mdx new file mode 100644 index 0000000000..0baece65f1 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-integrations.api.mdx @@ -0,0 +1,69 @@ +--- +id: list-trigger-integrations +title: "List Integrations" +description: "List Integrations" +sidebar_label: "List Integrations" +hide_title: true +hide_table_of_contents: true +api: eJy1VkuP2zYQ/ivCnFqAsNxFTzrV3QSNsZt0kXV6MQyDS9ESU0pUyNEijqH/Hgypp712Fg5yEkTOzDePb4ZzAOSZg2QNK6uyTFoHGwamkpajMuUyhQS0crjFcL1VJcosXDpgUHHLC4mkl6wPUPJCQgKVNc8qlXb7v9wDA1XSGcccGFj5pVZWppCgrSUDJ3JZcEgOgPuKdB1aVWbAABVqOnhojUV3cg9Nw3oUJ7kVeWf/Sy3tfgKw49pNEHi5/3fn/Zxikc32pKy1hmYzoD8GkAmusbh92v9qYGMx+nsasVaFwp/B9dWT9iLwvQcZw4raOmN/cby3AaShMytdZUonHRm7mc/pk0onrKqIeJSdWgjp3K7W0cdWGBgIU6Is0btQVVoJz9P4syOdw8jByhLFUQUEYeqgdJSlkXNegkEqd7zWCMm8YYAGub6otvISR2ptNn8yTQwmnZgcQKEs3Glw1IIXuss3FWsrfV7sA903bFqF6yJ4MzJB6eAoM2Nbb/sgju11B9xavh9XZlAf5Xm9aRhok5lrnbwn3YZBbfW1Jj5ZTRa48BXa9iS7qikXwUoUiEhma8y3ntAhcYPVMylkIMu6oElvSBcY8Er5AT2CaR+BRY35o7d9kvmLTtaYR4+tT82gaZ4+S4GTkbGG8DR43p06cMuRa5MtB4pfoMBy3Agvwf7QuOtnSNOQgT9vbk5Hzn9cq9SLR2+t9fPwynmTSuRKX+hZbcTk9hX060m0OZ+oeyP6XBYuu9Tv76VzPBuV/7yoT0a0ols/lao6zNK+OnRAjY5fR2ZOinNLufyKP+QN5Sa438qN2DOUKFTofCrehBJcYsu71erhxGDgx5QY98phtJzuRYXE3NDylEn0axLmkEDcblEuFoGDcbcpufgwXpqaeDzdY2DgpH3utiw/lCDmlfIMCL85YuWSOJb1TGhTpzOeyRL5jKsguCEborYK997I4mF5J/fvJE+l9QNzJPA4zJWpWF8+Xqm7oYFD6xurvgV+tZtCHrQaT4udGbNi4Z2LFg9LOE7n5Io6jAtPqA7JXwM7CnuIliZd4fsLUPLir/6G6EA5DDDz2R+zOR1VxmHByxHESwU9evjaNBBj40pzVY4ei1DsNXTFBv/IUbmJCV3BgUFysidPIInZuXH0nMHh8MSd/GR109Bx2MGojKly/EmPtjD/3g+78TPXNXnqmXJOuF9oXyPdLaGvke03x0F4Qz9WkfTLARxlup+x8NvHdgz8HgF7uQIdO8tJMJ03k3T7QZl39G/3JFgIIatxdCdznQLou/uftytomu/yC4RO +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Integrations + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-providers.RequestSchema.json b/docs/docs/reference/api/list-trigger-providers.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-providers.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-providers.StatusCodes.json b/docs/docs/reference/api/list-trigger-providers.StatusCodes.json new file mode 100644 index 0000000000..65f0dbda71 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-providers.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"providers":{"items":{"properties":{"key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"}},"type":"object","required":["key","name"],"title":"TriggerCatalogProvider"},"type":"array","title":"Providers"}},"type":"object","title":"TriggerCatalogProvidersResponse"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-providers.api.mdx b/docs/docs/reference/api/list-trigger-providers.api.mdx new file mode 100644 index 0000000000..815352e3c9 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-providers.api.mdx @@ -0,0 +1,59 @@ +--- +id: list-trigger-providers +title: "List Providers" +description: "List Providers" +sidebar_label: "List Providers" +hide_title: true +hide_table_of_contents: true +api: eJx9VMGO2jAQ/RU0Z4vQHnMq2lYt2qpF3e0JoZXXDMHbJPbaY1Qa+d+rsZMQYLVcAM/Mm/F7b9wBycpDuYFHp6sKnYetAGPRSdKmXe2ghFp7eqIcfrLOHPWO8wQ49Na0Hj2UHXxcLPhrh145bbkYSngISqH3+1DPfvXJIECZlrAlTpfW1lqlXsWL55oOvDpgI/mXdTwJ6dxBmZCL6GQRStAtYYUOBJCmmk/uUoaAHe5lqAnKRRRwnrjsQBM2/hb6D54mwJ6cbisQgG1omBtlGmu8NszN0Kvna92j3+t2B1FAKxt8C2oo+8HxKC556kC2p597KDfXhVGMJ22oa4iTCT5PIKLIdGTZ/NPI1Q3wwNp7yKsJ1CyTGqMY0s3zCypK+r8G7XDHFDGD/e1vSbqTJGtTDVzBGUs6J08TetajWG81fB/WjxaL/LniGL5rT7P1xL4N0sGwwStkcCvpACUUvdN9oTJ8MRqoAAEe3TF5adNBcDUXSKsTm/nvgcj6sigwzFVtwm4uK2xJzqXOiVvGUMFpOiWQ5Xp1j6dvKJmYcrOdJjzwJmSHXqaN0kmr78/Ml7AMdDBO/0vaAZuCR8pVMZlkb1J5z+QyDTdbrldwzddFiFdWquSooVMKg7i69vm2vD+N1BwklM2nMcLyM4e5zWL+Yb7gI2s8NbKdtLhR7Gppeg4I/1Jha6nTGqRxul7NDQxq8h2ynjB9EgSwXQ/GEyd33bP0+NvVMfLxa0DHIm0FHKXT8pkp22yjGBhl/dLTAUul0LKLjrIOWZirh411HR339csjxPgfrQniog== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Providers + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-schedules.RequestSchema.json b/docs/docs/reference/api/list-trigger-schedules.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-schedules.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-schedules.StatusCodes.json b/docs/docs/reference/api/list-trigger-schedules.StatusCodes.json new file mode 100644 index 0000000000..dbf534fd88 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-schedules.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedules":{"items":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},"type":"array","title":"Schedules"}},"type":"object","title":"TriggerSchedulesResponse"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-schedules.api.mdx b/docs/docs/reference/api/list-trigger-schedules.api.mdx new file mode 100644 index 0000000000..84134ccb9d --- /dev/null +++ b/docs/docs/reference/api/list-trigger-schedules.api.mdx @@ -0,0 +1,59 @@ +--- +id: list-trigger-schedules +title: "List Schedules" +description: "List Schedules" +sidebar_label: "List Schedules" +hide_title: true +hide_table_of_contents: true +api: eJy1WN9TGzcQ/lc0emnCHDbto6eTqRugdUkTBkhfwOORT3tnBZ10kfZMrp773zur++HzAYZQwkvgtPt9u9+utFI2HEXq+eSaXzmVpuA8n0fc5uAEKmtmkk+4Vh4XWC8vfLwCWWjwPOIOfG6NB88nG/7L0RH9I8HHTuXkzCf8sohj8D4pNLtojHnEY2sQDJK5yHOt4sA1/uLJZ8OJIhP0W+4oElQ1Q2yL2gnLHPiEK4OQguMRR4WavrwPFhGXkIhCI58cVRHfRjzZcIWQ+fvQiQ4qDD8rvxAxqjX0WJfWahCmxzrzbFpb9ZjRFVBVUetll18gxp5TI/dlE9xpCIDsm0CEKT8lfHK94UJKRfoIfb4T3NZiEFkVdZ88OmXS8OVhGB4rFxdauDcfxBL0X96aw08F5gW+5cPgq/k2/KE1v5dqLwpTaL3jfdUkmwGKFybby2zQDjvE2XL3S1+jpxQ5LfQTgkRdQz3HSzgnyr26DHy/T9S/Scwq4kZk8EzJ7mF8JN8q2t3FL4M67kFUEY8dCAS5ELgPMOKJdRnZcCkQDlGFeB5neV/DsmkQq8jljyD5XMM2JBI0/ACS4xq2IWnlWpYLJZ/JUxRKPkus30s2k329XpWlVatjaQV7VZZWro7l9aCbqAU+MINgDQYXt1D2JkJH0QKckBE7A9rs3fjZ59BOgWCPwuEitMtrttclwbKr2oyDka9PcWJkR6BMXqBfJAq0fNY8o3m557R7xoEzC5TstKas6HqSgAMTDyfIYzNmt9JrcP5/HH//NO5UUV2kL4W5JN9X7+4995KLVrTvGz4XW60pY9AQo3W7Me/q2+yhl4jS7Kxc4OqlEOfku0+HyzaFaHilbRZYYh2Db+johmhS5nOIVaJiRgcHS5zNGBhUlO7oxtyYcy1ikExoa1KvJLBOsoAUvFo4a2qAroPlLlbd45Mbc8gODm6hPDiYsFMKx6yVsyaj48fBWlEHemaNLkfso1irVCB4hjawjbb7Y/TrLZTvohvDWGK1tnee4QpqzpLllq5WlHBhJC04YG9glI7YnXW3ibZ3i5bsbcQSwHhFLCuBBFiDRORnWLjug2dUOiZSoYxHptDXAdX50BoldGyRGYvhbVA7KIM2BObAW71uVSl/6vwZmyXsFkqmPPOAUUPUsDbeHmJrpHDlXndj8QEIqRzEqEvWRbJboQ7sge57qN0cfC2UA0kvsO1s6U2N+aNPhmMaUE9hhin2OEZvk9e30/szye/dJgM8373yKvoZ7p0PyiO77L0gM8CVpTdmCoRa72g+bh6bfty93cakCTg6lMNOL5wmQ5GrIHT95wox95PxGIpRrG0hRyIFg2IkVG04J4y4cArLADI9n51B+ScICY5Prud9A4oyq0+qXbOuqiJXZ6FW9YWbTwtcWaf+DQ3LaQRSSLVXFUZiYoN7I900BMem57N7Z8zOEr2WRRwumy1TWObRIO1ttjzikAlFiwgi+61boXp3g40fjX4eHYWT1HrMhOlR3KvU4EXQaIDwDce5FioMuhDOpqniNW+ryPtv8IhTO66sRzLZbJbCw2enq4o+fy3AUWnmEV8Lp8SShLqeV1GrI1UtDA4+jWPIqWfWQhd1OQb/k0DV7Prrj5MrXlX/AYGM0gA= +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Schedules + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-subscriptions.RequestSchema.json b/docs/docs/reference/api/list-trigger-subscriptions.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-trigger-subscriptions.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-subscriptions.StatusCodes.json b/docs/docs/reference/api/list-trigger-subscriptions.StatusCodes.json new file mode 100644 index 0000000000..49fefcda53 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-subscriptions.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscriptions":{"items":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},"type":"array","title":"Subscriptions"}},"type":"object","title":"TriggerSubscriptionsResponse"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-trigger-subscriptions.api.mdx b/docs/docs/reference/api/list-trigger-subscriptions.api.mdx new file mode 100644 index 0000000000..30ef4b5ed5 --- /dev/null +++ b/docs/docs/reference/api/list-trigger-subscriptions.api.mdx @@ -0,0 +1,59 @@ +--- +id: list-trigger-subscriptions +title: "List Subscriptions" +description: "List Subscriptions" +sidebar_label: "List Subscriptions" +hide_title: true +hide_table_of_contents: true +api: eJy1WN9TGzcQ/lc0emnCHDbto6fTqQuhdZMmDJC8AOORdXtnBVm6SHsmV8/9753V/eDuMMZQwkvIaff7Vp9Wu1o2HEXq+eSKXzqVpuA8v4m4zcAJVNbMYj7hWnmcY7U89/nCS6cyWvU84g58Zo0Hzycb/svREf0TQ2vCJ/wilxK8T3LNzmtjHnFpDYJBMhdZppUMfOOvnnw23MslrAT9ljmKBlXFIG1eOWGRAZ9wZRBScDziqFDTl+NgEfEYEpFr5JOjMuL9qCcbrhBW/iF8ooMaw8/Kz4VEtYYO88JaDcJ0mGeeTSurDju6HMqIENZCq/gpgC/BaKs/gsen3C/JpuOdCO2hLKPGyS6+gsSOT33qFx19ToMG5FNrIUzxKeGTqw0XcazIROiznj73FoPgyqj95NEpk4Yv22G4VE7mWrg3H8QC9N/emsNPOWY5vuXDDZQ391sYWvMH2+1EYXKte96X9WZXgOKFm+3sbJCVPeLVov+lq9FTipzm+glBojan9/ESzolipy4D3+eJ+g+JWUbciBXsKdkDjI/kW0b9YvIyqJMORBlx6UAgxHOBuwAjnli3IhseC4RDVCGex1mOK1g2DWLlWfwjSD5XsDVJDBp+AMlJBVuTNHItinlVv/bgyXMV7yXWHwWbxV29XpWlUatlaQR7VZZGrpbl9aArPGmNAUnpO+91kEcAu72wcawja7r47gh31ssKodFT4JYmDWswOL+FYlusDdA7MmLvoejGJa1JVLpPHaa++Kw6X8d9XDHQKZksRz9PFOh4rz73BOUe4s0CJTutKEt6PSXgwMhhZ3ms9/R1XoPz/6Msfqnd6X2k8/SlMBfk++pZv+PNct6I9rymdH6vNe0YNEi0rh9zX986g18iSp3XmcDlSyHOyHeXDhfNFqLhi7teYIl1DL6jo8erSZnPQKpESUbXliXOrhgYVLTd0bW5NmdaSIiZ0NakXsXAWskCUvBq4KypANoMjvtYVY5Prs0hOzi4heLgYMJOKRyzVs6aFV1+B2tFGeiZNboYsY9irVKB4BnawDa6vx+jX2+h+C26NowlVmt75xkuoeIsWGbpyUUbzk1MCw7YGxilI3Zn3W2i7d28IXsbsQRQLollKZAAK5CI/AwL0wh4RkfHRCqU8cgU+iqgaj+0Rhs6sciMxTC6VA7KoA2BOfBWrxtVip9af8ZmCbuFginPPGBUE9WstbcHaU0sXLHT3VjcAhErBxJ1wdpI+ifUgm3Jvm3p5uBbrhzENCTeV/aHpbU7Q5xQX3gKrN/W6mayG7dz46snbOc29Ea8Z848vp1MS/oZXqgPyiO7GEy+K8Clpfk4BUKvrjof163Mj3sz55hTyXFUsUMZyJ0mY5GpcArVf5eImZ+Mx5CPpLZ5PBIpGBQjoSrDG8KQuVNYBJDp2ew9FH+BiMHxydVN1+CCBuiqjPXN2iMXmaIq1bzS+TTHpXXq35DNnPojhVR5laFfJja41zJOQ3BsejZ7UIB6SzTpCxleqA1TWObRYNv3u+URh5VQtIggVr+3K3T+bdfjR6OfR0ehzFqPK2E6FFtPbDBK1DogfMdxpoUK2RVC2tSnedU8TMh7+JcPStWlpZn8im82C+Hhs9NlSZ+/5eDoiG4ivhZOiQUJdnVTRo2edHqhu/CplJBR/qyFzqtjGfw1hE61zbU/313ysvwPhYEddA== +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List Subscriptions + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-harnesses.RequestSchema.json b/docs/docs/reference/api/list-workflow-catalog-harnesses.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/list-workflow-catalog-harnesses.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-harnesses.StatusCodes.json b/docs/docs/reference/api/list-workflow-catalog-harnesses.StatusCodes.json new file mode 100644 index 0000000000..9f2c3883d6 --- /dev/null +++ b/docs/docs/reference/api/list-workflow-catalog-harnesses.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of harness records available.","default":0},"harnesses":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"}},"type":"object","required":["key"],"title":"WorkflowCatalogHarness"},"type":"array","title":"Harnesses","description":"Harness records shipped with the product (each carries its `capabilities`)."}},"type":"object","title":"WorkflowCatalogHarnessesResponse"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-harnesses.api.mdx b/docs/docs/reference/api/list-workflow-catalog-harnesses.api.mdx new file mode 100644 index 0000000000..c0f8a307da --- /dev/null +++ b/docs/docs/reference/api/list-workflow-catalog-harnesses.api.mdx @@ -0,0 +1,65 @@ +--- +id: list-workflow-catalog-harnesses +title: "List Workflow Catalog Harnesses" +description: "List the agent harness records shipped with the product." +sidebar_label: "List Workflow Catalog Harnesses" +hide_title: true +hide_table_of_contents: true +api: eJztVU2P2zYQ/SvEXLoLcCW3R51qbIPsIkW66LbowWusx9RYYkKTDEl54xr678FIsix706AI0Ft1kUS++eK8NzxAwipCsYC/XPi4Me4lwlJCSVEF7ZN2Fgr4VcckUk0CK7JJ1BgsxSgCKRfKKGKtvadSvOhUdzAfXNmolD3ZJ/sGVT0ghcIQNMUOc3SyUuhxrY1OmuJKXPngdrqkEKUoyRu335JNUQrlrCXFCT3ZrSspSsEvIyKZfn1YiNeZmIuXoZof4hhpo8mUItCGAllFUThLYqfxya4+32B1M+BuAm1WUgSKzuyoFFihtjGJVa4woXFVPgAp5gesnoe/dtWV+0hUiMV4lsurfAyYo9c3VaNLyo/ZxesMJDhPAbmC+xIKMDqm5yPgeYj5PMYECYGid5a/iwP8NJvx67xhj41SFOOmMeL3AQwSlLOJbGI4em+06oLmHyLbHCCqmrbIXz5wStwQ/lOu6Y3S3hMUoG2iigJISDoZXrntEJesed9s1xSE27wiDO5QG1wbyjqjDTYmQTFrJZzKLA6gE23j63wsbqmrwe5/20CxGBOLKWhbQSvHFdsYA+3ylOl7tm0vMv0+V79MXLQSPtJ+ckaD/Qn9jvaMmpL9PDCWpWZfaB4m1abQkDw6desPpNI3k7qd+m/bS1PmzqdGBypZ8ZzyxPZI2tuecnd9K+DkBEPA/aSmuwknz1t/9y8nhLgiHg/HuaDT5Ty4zr5axbdTpjiSvuVHwpZS7VhcFbG5x1RDAScZfkXaICFS2FGIXXuaYNgCve7Ov/+tU/KxyHNqMmVcU2bdfMQMdQ9csg/VBJ32nZP5w/072t8RlhSgWCyngEdWX0+Kc9jYbPSaWSQHAcC8SbUL+u9OxSBB88nXvRUXre3GdebDYc275MT84f5Vv862eEygSiepDdsgL8o+VQsSaIuaNxPh9udxh9nDZ9iHmWU/ZjNe8i6mLdpJiO6KObZTDP0U/8iww2mY/X87/be308C+RJ9T7g3qbtp1RDgMQlrAaMH06fOA6TCXwIOmdjEx+nBYY6Q/g2lbXv7UUGB9LCXsMGi+FzpxyCOZWTrdeIW5UuRZwTs0Ta+Ji3uMJTWq/e2bP6BtvwA3PCRi +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +List the agent harness records shipped with the product. + +Each record carries the harness `capabilities` (providers, deployments, connection +modes, model selection, models). A workflow's harness field references one via +`x-ag-harness-ref`, resolved against `/catalog/harnesses/{ag_harness}`. + +See: [Workflows](/reference/api-guide/workflows). + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-presets.StatusCodes.json b/docs/docs/reference/api/list-workflow-catalog-presets.StatusCodes.json index 5ad70410e1..039f02d38f 100644 --- a/docs/docs/reference/api/list-workflow-catalog-presets.StatusCodes.json +++ b/docs/docs/reference/api/list-workflow-catalog-presets.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets defined against a template."}},"type":"object","title":"WorkflowCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets defined against a template."}},"type":"object","title":"WorkflowCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-presets.api.mdx b/docs/docs/reference/api/list-workflow-catalog-presets.api.mdx index fa259af037..10ab5aa7e2 100644 --- a/docs/docs/reference/api/list-workflow-catalog-presets.api.mdx +++ b/docs/docs/reference/api/list-workflow-catalog-presets.api.mdx @@ -5,7 +5,7 @@ description: "List presets defined against a template." sidebar_label: "List Workflow Catalog Presets" hide_title: true hide_table_of_contents: true -api: eJztWE1z2zgM/SscnJoZ1c529qTTZtJ2m223zThp95B4MrQE22wpUuWHU9ej/74DirJkW1a2afeWk8ci8AACjyCBDTi+sJDewD/afJlLfW9hmkCONjOidEIrSOGdsI6VBi06y3KcC4U54wsulHWMM4dFKbnD0a26VZdRjBtkiheYs5IbXqBDw8KCW3LHMq7YDFmmi0I4R2i0gGwujHW3yuBKWKEV03PGmcJ7tuJGcOVGbILOG2UZVwyL0q2ZJOful6g6nrAlt7dKabJDvkbfg4NXiCm72e52+mxscI4GVYZjXornCy9yHN836ycjSECXaDgF4yKHFMjiXSNwl3HHpV7cRRuQwHbDFNcNUBQghca3uy+4hgQEBbbkbgkJGPzqhcEcUmc8JmCzJRYc0g24dUm61hmhFpCAE07Sh+tmo29xDVWVbK0IlUmf4x032VKsMG8sffVo1jum5lzaHVtcrT/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t8qjnXzBzHdamP57X3e1NyNtxngmz3PGhjHojHovlT0YQaLyRj5cgScIKeR7acVcKz3NByOHycs/gIT37rq3R2B8o1c+RvUrASr98rJgr4iVg5EMSElhoU3AHKXgv8uGmTm38NDamzX1ZA2CfbEju25iGKgHjlRPDDTMBVL6gp0m5catQ4URQtzdI4Atf8/hnNqR1GlVRmGvyxwa65q6aS3OwkXUfAT+KuoNrbc9GusG6X7qXdr8uyITJvOTm2Rsv5R9WqxcfvSu9ew59yYx3wH/hevg2OOCF74LP5S6kBHdVevcU3J8V3Is6nFUCOnA/RfZnRfZjjOdQSyXhV7Gp9N6yT+3kf20nVXLCuzglPfRMmsaB9RU9hnoS2JP63SR2E17ps5OPr3qkPnp1dzxpR8+D+aZv/h6Y3wch2muUbYe3qiLmX1++PJ71PnMp8vBIZ6+NCS/sRw56OTou5MAQJnW2d/o9ZTA7HeD3Og4ZVQKFXQ5NVH+itXyJu2ydJg3BYNd02txngbzbkcN05v7uiDlKzDnF8m/Xm7wuyCg2tfmRrvsUbVNUZ+h0KF7VKRhCytvr68sjgTU+CnQrTTuUZZiRwv4jhd22ZRy3KeMGk3a87S5OqnEcxMeQgEWzbpYsYUYAWuCE3NZ/V86VNh2P0Y8yqX0+4ktUjo+4qAlnJCPzRrhNEDK5vHiHm/qVCunNrEsQunMNsn2yNjG8FO/CaieuYiberbQR/zTjadjD1JNICJ9QC93N9yQYxyaXF0eFvHdEtcMzt9s5xGNIDtzeeUtv6SJUDjjkxW/tCSW6nWLgbPTL6Iw+ldq6gquOirACbFoAiz2AnWg82119P+0OIzqoRMel5EJ1Rtoa/zfQckDYxVBsibOpAUggPVgf7raNVMYrbR3J2W7n3OInI6uKPtdLP0J2Liyfy87aL+yF+raFtAYhe0N1hMjNCZ19Mk7m/Nk0tp3n7FQAmppRm67Oxq49Z0NjXjVFuY0kkyzDMAY2zEf3CDnQ9pvfX19DVf0L5r31mQ== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/list-workflow-catalog-templates.StatusCodes.json b/docs/docs/reference/api/list-workflow-catalog-templates.StatusCodes.json index 34b57d7d9a..6916602c42 100644 --- a/docs/docs/reference/api/list-workflow-catalog-templates.StatusCodes.json +++ b/docs/docs/reference/api/list-workflow-catalog-templates.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},"type":"array","title":"Templates","description":"Workflow blueprints shipped with the product."}},"type":"object","title":"WorkflowCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},"type":"array","title":"Templates","description":"Workflow blueprints shipped with the product."}},"type":"object","title":"WorkflowCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/list-workflow-catalog-templates.api.mdx b/docs/docs/reference/api/list-workflow-catalog-templates.api.mdx index d3415e3aa9..bc5054feba 100644 --- a/docs/docs/reference/api/list-workflow-catalog-templates.api.mdx +++ b/docs/docs/reference/api/list-workflow-catalog-templates.api.mdx @@ -5,7 +5,7 @@ description: "List workflow blueprints shipped with the product." sidebar_label: "List Workflow Catalog Templates" hide_title: true hide_table_of_contents: true -api: eJztWEtv2zgQ/ivCnFpAtbPBnnRaI0m32XbbIEnbQ2IktDS22VKkykdar6H/vhjqRfmhNOnjlJNhaubj8JsHObMGyxYGkiv4qPTnuVBfDUxjyNCkmheWKwkJvOHGRl/r79FMOCw0l9ZEZsmLArPoK7fLyC4xKrTKXGpH1/JavuTCoo5mqyhTOeOykrrl5oYVheApI/Tb2K/gHROOWaVv40jpa0lrRhK4vR1FE50u+R1mkcW8EMyiiZjGaMmzDGXkpEBjolsuU+EyvGG19O215Cay2uEouuwpLoSaMRExmUUaWfZCSbHyJl8gJtFVy8T02VjjHDXKFMes4C8Wjmc4bpgwz0cQgypQ+6OcZpCA4MbeNAI3KbNMqMVNazfEUDDNcrSoifU1SJYjJLBpPMTAifovDvUKYtD4xXGNGSRzJgzGYNIl5gySNTC5ejf3WHZVENZMKYFMQhm3S9IJAeU0BsutoIXTar+WWihJujGm56JfboqJJsFuG4a0kfEbzDhp99owog7F32DCRb1TSesaTaGkQUOIhwcH9NPPzAuXpmjM3InovBaGGFIlLUrr7eiYHX8ypLMOrCw0Ra/l1Q6pcpVSbR+XFhdIxDcGHnmJzfLw1uUz1JGaB/mp0TotMRt56TlzwkJyUMbQpUKyBm4xN9uGVMTvINFYzeVikMO3pFtumPg4qOMAoozhM64Ccmr9Tvo1rkgqZRYXStcn6bZtj7q5f7PAtGarQXuOOugyhrnwhTvco88iZXGT3clWHPbzr6s6rbN8SJcxwWhMVZ6jzO5HOg9Ed4OFleU+s3pFaBdYVx3ugToJysguoCbD74G5aAvBBkjnRzX7hKkN1Jrr5Ki6DF56v237mWKWWTbkUaf5Y2P5veYUNE6LxyMIQlgiy/zdFaKwLOPkJSbOegYP7dM/2h1q8wOp+qFWL2Mwwi0eC3NBuhQQ2RBC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zZmgZFwOznFBp7+t9ImG6H+G3qlkXUMjNYmgw+xeNYYvIXPtJAxjkwn9tSlogj5NyGNDs90jMlmkOPZbf7U7zxX7msanUr+nibrQ1UWWh/VAcVSYY8pXXFxenWwIr/8jRLpXfXC3CmFQwu4QEuh3XuN5hjdvBfQwUDOrbZoMV5gHw+7FgxOrv0trCJOMxulEqlMtGbIHSshHjFeHUy0id5nYVhExOT97gqupIIbmcxgQhE1fe1CdrLcAK7sdv2qxsJs4uleb/9fZX1dQRcOJyrmLDToJyZHJ6shWwvU8+SFhqux1F/RnoxrO71/q+OQ8hAhZZ/lf7xVu0nVjgYPTH6MAfFcrYnMnoirB9bfNGHe5kb4pZd6H8tLgdWtzWvuMjdVwIxmU03FZhcAktB4StjEce4h0WBR+zS2Wsp16vZ8zgBy3K0h9Xa0Lv3Rk3bCaiRWHYJe1a+no4vVYhlPaxba5nf5ApXqX+IEu3+OwYpv6P5p4jRGozz4eXVpyTNMUi5toqKV5Km3r+Pr6AsvwfANGGTw== sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/log-application-revisions.RequestSchema.json b/docs/docs/reference/api/log-application-revisions.RequestSchema.json index f1e5e04bd1..30a14429df 100644 --- a/docs/docs/reference/api/log-application-revisions.RequestSchema.json +++ b/docs/docs/reference/api/log-application-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application":{"description":"Filter for the log. Typically set `application_variant_id` to list the revision history of a single variant; optionally set `application_revision_id` + `depth` to walk back a bounded number of commits from a specific revision.","properties":{"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationRevisionsLog"}},"type":"object","required":["application"],"title":"ApplicationRevisionsLogRequest","description":"Request body for `POST /applications/revisions/log`.\n\nReturns the ordered list of revisions committed to a variant, newest first.\nEach entry carries commit metadata and the full revision record."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revisions":{"description":"Filter for the log. Typically set `application_variant_id` to list the revision history of a single variant; optionally set `application_revision_id` + `depth` to walk back a bounded number of commits from a specific revision.","properties":{"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationRevisionsLog"}},"type":"object","required":["application_revisions"],"title":"ApplicationRevisionsLogRequest","description":"Request body for `POST /applications/revisions/log`.\n\nReturns the ordered list of revisions committed to a variant, newest first.\nEach entry carries commit metadata and the full revision record."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-application-revisions.StatusCodes.json b/docs/docs/reference/api/log-application-revisions.StatusCodes.json index 47a224bbcc..95dc97d121 100644 --- a/docs/docs/reference/api/log-application-revisions.StatusCodes.json +++ b/docs/docs/reference/api/log-application-revisions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-application-revisions.api.mdx b/docs/docs/reference/api/log-application-revisions.api.mdx index 250c1bebef..132e129f34 100644 --- a/docs/docs/reference/api/log-application-revisions.api.mdx +++ b/docs/docs/reference/api/log-application-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Return the ordered revision log for a variant." sidebar_label: "Log Application Revisions" hide_title: true hide_table_of_contents: true -api: eJztWltT47gS/isqPe2pNYFlZtizOS+HBaZgl9mhgJnzACno2G1Hgyx5JRkmJ5X/viXJdhzHcUgID7sFT8Tu/lp98de6TaiBRNP+DT3MMs5CMEwKTQcBjVCHimX2N+3TSzS5EsSMkEgVocKIKHxkmklBuExILBUB8giKgTC9W3ErLkBrcg8z1Lvi7R2L7omRhDNtHGCcc05GTBupxkTGxIzA3IpC+j9EujEA52OSLWCWg3CgP5L7CDMzcvBPwB9uxRDCBwJkKHMRYUREng5RWSOhTFNmNImVTAkQnWHIYhZWXvXIiTCKob4VoJAo579FwCfUZidmShsCIiJMhDyPcOZJFReFoVRRjwZUZqjceM8i2qdcJndtPmgaUIV/5qjNrzIa0/6EhlIYFMb+W9PY/aZtUiZUhyNMwf6XKWvDMNQNWftzPpUfGTeoXMbsmLlMeuR6nLHQhVijeV7WKjdrmQOimUg4krbkLSB3545snjoaLI9H3ap7JcafY9q/mVAzzpD2qTaKiYQGNJYqBUP7NM9ZRKdBJSFyzul0EFDDDLcPap8OuSzDcmZ16JNUDzGXT69h9n8FdtNme/Zew9mvHr3p6/aNVq7OW6x7+joeNjx7BY+8hVcoj0ZVbD8pjVwow2IIt1pq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7Zyfz3SJ8ZZkWYkcsdb261zSa+Xievhm7WMsdz1KDkP+3eTO1/0F3ej/1duwj+y3nIAITpzIjz+pswT3Ht4umL7poWpGT7QTbBQcmgs0Wz7JTl5R0UPz2t2XaQURHlpb7V/TxcQgavyg+mdjHbnJhmbIq/qEtwatBsxnjWPUOx3U3EmbLtTUrzktPmjNd3rK319iPY3R7AItlB0HnsPegaESH1T3Z3B3RUQUP1iN4oH3qrt2amkvds0fKQWSlOximHtP+/QVryYWS sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/log-environment-revisions.RequestSchema.json b/docs/docs/reference/api/log-environment-revisions.RequestSchema.json index 81bc7288d2..9356b08af1 100644 --- a/docs/docs/reference/api/log-environment-revisions.RequestSchema.json +++ b/docs/docs/reference/api/log-environment-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EnvironmentRevisionsLog"}},"type":"object","required":["environment"],"title":"EnvironmentRevisionsLogRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_revisions":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EnvironmentRevisionsLog"}},"type":"object","required":["environment_revisions"],"title":"EnvironmentRevisionsLogRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-environment-revisions.api.mdx b/docs/docs/reference/api/log-environment-revisions.api.mdx index d22feb1b89..5e8e320fe1 100644 --- a/docs/docs/reference/api/log-environment-revisions.api.mdx +++ b/docs/docs/reference/api/log-environment-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Log Environment Revisions" sidebar_label: "Log Environment Revisions" hide_title: true hide_table_of_contents: true -api: eJztWV9v2zYQ/yoEn1pAltO0TTcBA5Y2LZo1XYMkzUsSJLR0cthRpEpSaTxDr/sA+4j7JMOJkkLJtpo/DjBs84tl8u53vB/vTuR5Ti2bGhqd0LfyimslM5DW0LOAqhw0s1zJ3YRGVKjpOdxInGu44oYraWhANXwtwNjXKpnRaE5jJS1Ii48szwWPK5TxF6Mkjpn4EjKGT7lGG5aDwV8e+uBka/qcJ5UNOfuU0uhkTu0sBxpRYzWXUxrQVOmMWRrRouAJLYNWQhZC0PIsoJZbgQOe7+Sghie7qEMfwVrPgu/bFdOcSftIrh079Nru+m118X2/HscfZ4dpy1MWr9PIdg1ZW0ggt5dLsbm0MAU9CLZTaZdl0EioyReILV3qUxMbZk9Nl+pgsnENCaasnzLLKfLhDlya0rIsfRirC6gGTK6kcem2ubGBXwmYWPMc05dG9LCIYzAmLQQ5qIVpcN9sj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KtkZ/23jBgs+YccOATjA9Bxd0NhsxA5+1KAoc/pqDxhQaVos9QuousMRO6mSa0d9gWtcvaXtlIURxkbvkae0LmMVOYz+KILOdskOvghx/Oj2jAR1V/5OlKkYdzb6hR+wbHVCKf7vZOqfKsRkVTI7zstdFHSZ+/gau5W/z sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/log-evaluator-revisions.RequestSchema.json b/docs/docs/reference/api/log-evaluator-revisions.RequestSchema.json index 427bbd65cf..935a24c354 100644 --- a/docs/docs/reference/api/log-evaluator-revisions.RequestSchema.json +++ b/docs/docs/reference/api/log-evaluator-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator":{"description":"Log request scoped to an evaluator / variant / revision by id, slug, or version.","properties":{"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorRevisionsLog"}},"type":"object","required":["evaluator"],"title":"EvaluatorRevisionsLogRequest","description":"Body for listing the revision log of an evaluator variant."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_revisions":{"description":"Log request scoped to an evaluator / variant / revision by id, slug, or version.","properties":{"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorRevisionsLog"}},"type":"object","required":["evaluator_revisions"],"title":"EvaluatorRevisionsLogRequest","description":"Body for listing the revision log of an evaluator variant."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-evaluator-revisions.StatusCodes.json b/docs/docs/reference/api/log-evaluator-revisions.StatusCodes.json index 47bc704b64..8c2e48a789 100644 --- a/docs/docs/reference/api/log-evaluator-revisions.StatusCodes.json +++ b/docs/docs/reference/api/log-evaluator-revisions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in `evaluator_revisions`.","default":0},"evaluator_revisions":{"items":{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},"type":"array","title":"Evaluator Revisions","description":"Matching evaluator revisions."}},"type":"object","title":"EvaluatorRevisionsResponse","description":"Envelope for a list of evaluator revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in `evaluator_revisions`.","default":0},"evaluator_revisions":{"items":{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},"type":"array","title":"Evaluator Revisions","description":"Matching evaluator revisions."}},"type":"object","title":"EvaluatorRevisionsResponse","description":"Envelope for a list of evaluator revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-evaluator-revisions.api.mdx b/docs/docs/reference/api/log-evaluator-revisions.api.mdx index 78616d7c4d..9b2001b3ae 100644 --- a/docs/docs/reference/api/log-evaluator-revisions.api.mdx +++ b/docs/docs/reference/api/log-evaluator-revisions.api.mdx @@ -5,7 +5,7 @@ description: "List the revision log of an evaluator variant." sidebar_label: "Log Evaluator Revisions" hide_title: true hide_table_of_contents: true -api: eJztWtty2zYQ/RUMXtrO0JLjJG6rp7p2MnbjJB5f2gdH40LkUkICAgwAOlE1+vfOAiRFihRlKfJML/aTRe6exS6WZwEsZtSysaGDW/rqnomMWaUNHQY0AhNqnlquJB3Qc24ssRMgGu654UoSocZExYRJAoUeuWeaM2l7H+QHeQk209KUCoZwSUKVJNwSpSPQPXIVqhQcKoKNpsRkaSqmXI4/yCpuUAAHROnFCDTEoEGG0CM3BvLRWc3hHj5IkFGquLTEKhKDDSeEEZNCyGMelhDfGRJnQpCUTYViUY8GVKWgGTp9FtEBFWp8Vw7jrnSFBlTD5wyM/VVFUzqY0VBJC9LivyxNBQ8dRv+jwejNqAknkDD8L9VowXIw+KvExh9LEVdjkhshBgMVoSu1cPeLuJD+IiqjKeFRQIzIxi5c96DxOfq2wnbp1x2PnANy+j6mg9sZtdMU6IAaq7kc04DGSifM0gHNMh7ReVBKyEwIOh8G1HIr8EGZS+SyGNgZatAvSn+KhfryGEb/yLGXbS48zeP1KI7+ns/Fkp+7N1m6Wbe48PIxvFvy6hG88RYeIS2WsmH3E1KfB6Ytj1m4SwNHOWRuIYLUTlqxubQwBt0JduK05/OgkFCjjxBa2jLrReTMuRq3aiBBcQ0Rlo8Fl7UlUBXq0tMaXS4ySKYkVpoIbiyX44cXHDqfz6ujsToD98CkShrPdwf7+02WvcrCEIyJM0Euc2EabMvmocq80tJsLMJx7CSW/X6XJSPQ6FytWP7ZUnn+7DntmGXC0sF+7bNflKfBjHILiekoOCUvYaHoytPNyO8K0dro71vMNAivsLLwZjdeNEa/k1E3R/tUhv7pZWgXabucrWVh+BbQshQUqP/+csYyO/Er4J2AezQsk8zCA1FRdM/yBLorJwLOA5qAMWzcid0F8zZXnwc0Fm7vVcWp8zU3d5UKVKktI6UEMFmpLWeGHFVEK2UiZsJgOeTmrrbh6IIqP7kVQEbyNAW7DuYqF2sHSZh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t3Nrllqy4Cy7hoaZQJFdbebvKFDNfPyLnKj2fx0MCMK2c05TKm4ZjYi6wXdcEg1/i2KHVOvErWbjNmv1ZgVib0GGP51Xb2fDE2fvi5XK15UEyRn6H1oTjxU9CWYafX1xcrgD4/ErAThdd2UuU6ySnD5jjtlyll+mVO9YXCoRrQ944Rb2d+k0D7LOVuBv2/E2tTM+j3IeuFQmVRzx1qsh7jXnCIGGGmuZ06kKOLszcw9ctUOrgdVgUcPftUqouV4WcpfwMYEH/OkTcu+F/F8T3HjPdbERckTOnLxU2kV19ZkgpouVm05qoPfR6zn17Ghy/2Xv747Me9Fy8PD/ZGz+Nw7yD8+fB5fHjIYnZI193Zeah2c7NzY9vbKNc7kBub3ERpq9Bs41OtC/dQpfzGyP7ckUKsqpzgjuIZObo4WyHr2ivkVxY6Oiny1L2mwdJHs/hWcAoSx67UAkt+Kd/UTjfofu9Zbx8f4RecMFkxgbfgHlC7Klfx/j+XFnP2QKLup4JxWTnz8CRYuZRjKjmKv5EIhwGdIGcObulsNmIGbrSYz/Hx5ww0Mtswz9ERZsrtsDwRcaT3CaZFqZB2z9UcFBeZ57SlEozk6jWOwhDcRny97LBC6xfvr65pQEf5ncvEdcmoZl/QI/aFDqi7wGkLsnPPZlQwOc5cb5Z6TPz7G5C6vvE= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/log-testset-revisions.RequestSchema.json b/docs/docs/reference/api/log-testset-revisions.RequestSchema.json index 114dd747c8..578598149f 100644 --- a/docs/docs/reference/api/log-testset-revisions.RequestSchema.json +++ b/docs/docs/reference/api/log-testset-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"testset_revision":{"description":"Scope for the log: one of `testset_id`, `testset_variant_id`, or `testset_revision_id`. Optional `depth` limits how far back to walk.","properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"TestsetRevisionsLog"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionsLogRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"testset_revisions":{"description":"Scope for the log: one of `testset_id`, `testset_variant_id`, or `testset_revision_id`. Optional `depth` limits how far back to walk.","properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"TestsetRevisionsLog"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision."}},"type":"object","required":["testset_revisions"],"title":"TestsetRevisionsLogRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-testset-revisions.api.mdx b/docs/docs/reference/api/log-testset-revisions.api.mdx index dfb342996b..c7bc946a2f 100644 --- a/docs/docs/reference/api/log-testset-revisions.api.mdx +++ b/docs/docs/reference/api/log-testset-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Log Testset Revisions" sidebar_label: "Log Testset Revisions" hide_title: true hide_table_of_contents: true -api: eJztWm1T2zgQ/isafbqbcQKlLb3Lp6OlnXJ9gQHaL8CAYq1jFUVy9QLkMvnvNyvZxrFDSCHM3NzAp1hePSutdh+td5lSx0aWDk7oMVhnwVl6llBdgGFOaLXH6YBKPTp38e25gSthhVaWJtTATw/WvdV8QgdTmmrlQDn8yYpCijQgbPywWuGYTXMYM/xVGMR3Aiw+tZFxjINNjShceKRHqS6AZNoQlwORejQgWgHRGbmoJgt+kdw+XTEjmCpHtbl9UenAN32yHxQwSS44FC6/IFKMhbMk19ckY4YMWXpJnCbXTF72aXLPus8FD1tXk/2MDk6m1E0KoANqnRFqRBOaaTNmjg6o94LTWVJLKC8lnZ0l1AkncaA8CnJYQpM9lKdPoKmloWvAdW/pe0Qu9a1fzzz+rXusex8RnxknMpauU8FOCVlqCJ65EFsoByMwS8F2w+wZWiJK6OEPSB3t7KfyA/tZj1CtUKn0HELYp8xGj+8sYai1BKaWLmEvIpHjGilphXclkXkpSaWQxJXaEPbA0pwYcN4o4KQKg/7CjSEpCQMcKa1DLd2DbG78MPIZnc1mTRxnPIQBW2hVmmJrc3MBT/k0BWszL8lhKUyTh9Jiqn2c1Dru2x28CxJta3714yEYJMeaqmvT9YN0xrx0dLDZiI9bVh9MqXAwtnfzdBWzVvrRMqf/FTY4QqwGHzwGu41ZrXsd660w67h/DGgd6e2VPrPvf4V9mXe5NmsDj2jI6szBiqgo2nNiDMuJHgFnCR2DtWy0FHsZzJdy+iyhmQx5YRNnjg/uv1M+BIQ2Px1IlkKuJQcTU7oo3JNwBZIErf1TdaqOc2HJWHOQRFgiAoeGbE1OCIwLNyFD78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r3e3uoNXuZZbyv7c/tlvr3NcrZN5/q/q05a1FNYde5D5rTf5ladM1PHX3VS1RndXNytrHp2QuW6HZg7wXfIzsFeh3hnHiHJsSzEdO0I4TFN5rzy1hlpQrFejA8dsNFfzZOZYgTd7L/ob+IQBsiIqZaKu2JqrvhWeSoSx0YpmQjUFlY1qcKt6Xzaltfgdwy5s4QWGJvpCZ1MBszCNyOnUxwOdwuGTHXyAzTZCXJrUUfThF7CuCYu5XqBAVFc+hg9cxcChnGcsZNlULqlsmct+jjYPzqmCR1Ufy7BPgBNqWHXuCN2TVNK8X8qrg6sMDahkqmhD/0PGjHx8y8ER/YM sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/log-workflow-revisions.RequestSchema.json b/docs/docs/reference/api/log-workflow-revisions.RequestSchema.json index 07a09bee5b..43be385091 100644 --- a/docs/docs/reference/api/log-workflow-revisions.RequestSchema.json +++ b/docs/docs/reference/api/log-workflow-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"description":"Log query. Supply `workflow_id`, `workflow_variant_id`, or `workflow_revision_id` to scope the log, and an optional `depth`.","properties":{"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowRevisionsLog"}},"type":"object","required":["workflow"],"title":"WorkflowRevisionsLogRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_revisions":{"description":"Log query. Supply `workflow_id`, `workflow_variant_id`, or `workflow_revision_id` to scope the log, and an optional `depth`.","properties":{"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowRevisionsLog"}},"type":"object","required":["workflow_revisions"],"title":"WorkflowRevisionsLogRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-workflow-revisions.StatusCodes.json b/docs/docs/reference/api/log-workflow-revisions.StatusCodes.json index 05a791f376..6d72a49489 100644 --- a/docs/docs/reference/api/log-workflow-revisions.StatusCodes.json +++ b/docs/docs/reference/api/log-workflow-revisions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/log-workflow-revisions.api.mdx b/docs/docs/reference/api/log-workflow-revisions.api.mdx index 5df4e3f233..61e800842b 100644 --- a/docs/docs/reference/api/log-workflow-revisions.api.mdx +++ b/docs/docs/reference/api/log-workflow-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Log Workflow Revisions" sidebar_label: "Log Workflow Revisions" hide_title: true hide_table_of_contents: true -api: eJztWlFv2zYQ/isCnzZAcbK0zTY/LU1aJGvaBEnaPQRGepZONluK1EgqqRfovw9HSopsybLjusAwxE+WdPeRPN59PPL4wCxMDBvesL+U/poIdW/YKGQqQw2WK3kasyETanJ7X36+1XjHDVfSsJBp/DtHY1+reMaGDyxS0qK09BeyTPDIQex+MUrSOxNNMQX6l2lqwHI09FRB0/8YTaR5RnpsyM7UJPg7Rz0bBFd5lolZ8LnuB48/h43HO9AcpPWvlW58qTpMnwKrAhOpDAM7xUCoSRiAjAOQgXJtggg+x5jZ6ecBC5d0swnohipn5wkb3jwwO8uQDZmxmssJC1midAqWDVme85gVYS0hcyFYMQqZ5VbQi8r4wWWJHZySAvsBTS200GHArQ/qk4cuW9x+Q/P4DQ/Z+kh8C6AtTyDa5hAOS8iyBeeDndhcWpyg7gU7dtpFEVYSavwFI8vaA6qcwZypSacCRTjXGBND1HHaYZkm0KVnBVYURRPA6hzdC5MpaXxM7e/ttaP+Ko8iNCbJRXBZCrNwU3KJVO6VFuz3OIQjJxEudOJDno5RByoJasILuAzslJsggwkOnEYCubBsuNd0u0eCHD4wbjE1yymvjjoj8kmfLz0pzq4IrBFp3wO+iFn3fCs9rlDriPoe1DqGWn195rb/ELdBbqdKbw3coxFngsU1UUl0x/IU+2mUAIuQpWgMTHqx+2Del+pFyBLhkq0mzjwvcHPbILcGbY2VEgiyQVunJjhsiDbYKAFhiGm5ucU7EDlYb+4+qDe1YDeQkTzL0K6CuSrFukFSkDDBeBXI+1KsGyTKjVXpKowjL9UNIcRK/TOxTHmq1NdV2icks6T7KsaVnSeZZSa00XS1AUmoGyBBjMcQrRzC20puyTCmsNIZjkimQ30K5jbXolf9BEzwUYtl6n6lXolw5cWWgExBxgL7Q4NQTkq5FswTEqy3LvLbNEEQLU6AOO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h+tppAzVTQT6I7LTGs3ilWMtTQ1vMhqUeeM4JrelpWZE6/XFu7uwH6rwTTW5Ih8SSnV068m3/jhF3ILzbRyifwKrXbFsV+CriA5ub6+aAD6+Gh+z9LKzgnamaKPblJlCDkFav+z3bLLZ3Yrot4ViiZkUN+5bf7mwZ982S6k3K2z/zmzNjXD3V3MBpFQWTxwF/UwAO4FR4QRZZrbuQM5vDh9h3N/9mLDm1FdwNUcPuAWxapFgpS/Q3Kbv7wrmnH8n7IlxWn6/nztXEmBf/n4HdGbb5CkAld/F9T+8Q17MYHfXk0OXu68+vWXX3devjrY3xm/mEQ7+9HvBy8mBwcwgQO29BnNukqtPeN1lTfRWWjprqu00KVdV6n4vGQvd2k4UfUsdK0aCA4vThtVw8IrYjSIXAKXa+5es3ApAB/jjnamxPEZswjJH9Wbhesvtjf4ZbBHjygZEpA1EysTaOm+t4hKoondVACXtQsin1uPn7OYWoDQ/5Rfo5DNKBOHN+zhYQwGP2qR5/TYVUaUH8Uaj8lpN6Pq9sjl0leclzwl7Y4jPBIXmU+VJf6nnPUah1GE7tJiteyoRhYX51fXLGTj4kO8xDUUmYZ7mhHcsyFj9FGfLZPIPXtgAuQ0c21s5jHp719mIrc1 sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/mounts.tag.mdx b/docs/docs/reference/api/mounts.tag.mdx new file mode 100644 index 0000000000..f0eab0758a --- /dev/null +++ b/docs/docs/reference/api/mounts.tag.mdx @@ -0,0 +1,20 @@ +--- +id: mounts +title: "Mounts" +description: "Mounts" +custom_edit_url: null +--- + + + +Durable object-store mounts for agent working directories. + + + +```mdx-code-block +import DocCardList from '@theme/DocCardList'; +import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; + + +``` + \ No newline at end of file diff --git a/docs/docs/reference/api/open-run.StatusCodes.json b/docs/docs/reference/api/open-run.StatusCodes.json index af6f5e9ecc..43fbfeddf9 100644 --- a/docs/docs/reference/api/open-run.StatusCodes.json +++ b/docs/docs/reference/api/open-run.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/open-run.api.mdx b/docs/docs/reference/api/open-run.api.mdx index e96a8a0d3e..32bcc22ab1 100644 --- a/docs/docs/reference/api/open-run.api.mdx +++ b/docs/docs/reference/api/open-run.api.mdx @@ -5,7 +5,7 @@ description: "Open Run" sidebar_label: "Open Run" hide_title: true hide_table_of_contents: true -api: eJy1WEtv20gM/isGTy2gxmmxJ53Wm6SIt80ma6e9BEYwlmh7uqOROo+gXkP/veCMJEuyZDlperIlkR+fQ3K4A8PWGsIHuHpiwjLDU6lhEUCaoXJP0xhCepKPykoIIGOKJWhQEdcOJEsQQlBWPvIYAuASQsiY2UAACr9brjCG0CiLAehogwmDcAdmmxGXNorLNQSwSlXCDIRgrUMx3AgimFk5msaQ5wtC01kqNWoC+HB+Tj8x6kjxjPSEEOY2ilDrlRWjWUEMAUSpNCgNkbMsEzxyZo2/aeLZ1ZTKFBltuJcQpdYzFbpyaXCNqqbchaMIIMYVs8JAeJ4H5AgnSW5vV85BTdSVcO7uJ+D6UfAnrAlepqlAJmuCp3r0mWhqoldMaMwDYmeROQFg4qm6ISKRagrbcYgLT9UN8d2iHVTiX0fUowOLNifo4Km6IXQmuBlCmDuiDoANc1aoIjC9GNfMGeLoemAMaqPRDOPcl4Q9QOgPaaqGoa72pD1gkdUmTQaBLjxZD8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rc1FfJdWgT51yo+ndNTS9VftEC4iFLl8KSe4zBA2z99bS/jx2ywcMsvjP8kvtVAbOz96enbvym2iTH/rnIirxahxk5tZTHo5TwfzW3imyy0P5AJVQ+tMX+pmUN5wunosANpQAkwfY7ZZM4xclsoxe05URBWgRwBNTnC3JXQ87iLim/1F+VXCgWVlp4NUsXwyvR/sJtK5xEURJESR16QkC36+Ky1hXKDZFfuTNDKZhiKmpsB3UNUqkMs3vbuf3kGX/AybVUbw= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/open-runs.StatusCodes.json b/docs/docs/reference/api/open-runs.StatusCodes.json index c33d986a40..4c295cd97f 100644 --- a/docs/docs/reference/api/open-runs.StatusCodes.json +++ b/docs/docs/reference/api/open-runs.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/open-runs.api.mdx b/docs/docs/reference/api/open-runs.api.mdx index 6b8a4106f3..807a1766e9 100644 --- a/docs/docs/reference/api/open-runs.api.mdx +++ b/docs/docs/reference/api/open-runs.api.mdx @@ -5,7 +5,7 @@ description: "Open Runs" sidebar_label: "Open Runs" hide_title: true hide_table_of_contents: true -api: eJy1WVlT20gQ/iuuedqtEkdIQnb9tA6QwhsILCbZB8pFtaW2PdnRSJkD4lD+71s9I9mSrMMQhxesUffX53T3jJ6YgZlm/Tt29gDCguGJ1GwcsCRF5Z6GEevTk7xXVmoWMIXfLGrzPokWrP/EwkQalIZ+QpoKHjqug686kbSmwznGQL9SRZiGo6YnZeU9j9xPbjB2P8wiRdZn2iguZyxg00TFYFifWcsjtgxyAlAKFixghhtBzzdW9oaRZss1STL5iqHJtOUKIzIxlzles66tvrFyGOkbbxxbEtaa1yiLbkGnidTegqPDQ/oXoQ4VTwmC9dnIhiFqPbWid5MRs+ClPgoT65kyo7g0OENVsPzEUQQswilYYVj/kLSkOBX9WkadChfxJwZycTVl/bsqAdf3gj9gQfAkSQSCLAge6t4F0RRET0FochLX9xCaLQAGnqoeIhSJJs+3Q5x4q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8OF4Ucw1zV6l+/S3ESpboU/g+chklj+RXTZKQ+Eh3DvvcyX/ykFQoRbRv8BsPSQsGn5pCb+3oPxHWPGCCx7wctEluu3LabucVoWq24QUdLra8dOqUPQxqOXDwrsMzqB5A7GxxNwegVAymvFA0ycGkWxfI/y5i8QcWgF5ca83dHdmbk5PNW7AvIHjkNFoXdDaw+xVYhAa4qLnNEkm48vUlrd6gejFf5Rt8KkF6Updar1FrmGDdAcKCSSKjlZ8N+OMEEi92t+7kzTwVYDYm5Iy4pMWyJfkSN978TK64sV9MkZ+hairO/RTURcjl/f3tBqCPj9XAuElRtrJEGaOZJnS5nCba5HWnzY5weRF9RFeZR3T5TBUE1YPbqPafmVWCRCHlbmL949SYVLePjtAehiKx0SFMUBo4BO4FB4QRWsXNzIF0brsfcXaJ4BJFf1AUcG2uj7BVscWsQMo/unrpmwbWsWaaKP49PxeiUx829VpEBEX63fLq/OIJ4lTgylV4n70ewx9vx6dvDt6+e/Xu4M3b05OD0etxeHAS/nn6enx6CmM4pbzEuBwnxdDpOFdbndsuW+d85RMtQwhd1OV2u88sWCNxyR0lytgtQmYQ4r8WX1ZOKNnx4avDY9eKJNpkF2DZEMVZXzvVz8ikcD5KBfhzLmfJcxYQfVYICJbdbru/T3AHblMKnnafPT+PQONnJeZzek23pjTLg4A9gOIwIpZcRZ7m8521Vn41SXNw73cmNJif37UsRYHmNTphiKmplR0U4vv2pnfPAjbK/mAiTiLSUfBI3sAjazPnj3eQ4oHePTMBcmIpsbSZx6R//wMj14Uu sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/open-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/open-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/open-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/open-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/open-simple-evaluation.api.mdx b/docs/docs/reference/api/open-simple-evaluation.api.mdx index 6809142694..41366fac2b 100644 --- a/docs/docs/reference/api/open-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/open-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Open Evaluation" sidebar_label: "Open Evaluation" hide_title: true hide_table_of_contents: true -api: eJzlWEtv20gM/isGTy2gxtliTzqtN0mRbLubbJz2EhjBeERH0x2N1HkE9Rr67wVnJOtlxU6annJKLJEfyY8Uh8MNWHZvIL6FswcmHbMiVwYWEeQFav/rIoGYfqk7I7JC4h1uBSGCgmmWoUVNGBtQLEOIoRG5EwlEIBTEUDCbQgQavzmhMYHYaocRGJ5ixiDegF0XpGysFuoeIljlOmMWYnDOo1hhJQk0nk4uEijLBYGaIlcGDeG8Pz6mPwkarkXhHY1h7jhHY1ZOTq4rYYiA58qisiTOikIK7mGnXw3pbFq+FZoIsSJY4LkLSpXLQlm8R93y8cRLRJDgijlpIT4uoxYt3qBaX648a13wlfQZGRcQ5k6KB2zZX+a5RKZa9i/M5BPJtDxYMWmwjEidcXsAwCxI7YbgMjeUxMchToLUbohvDt1eJ/71QiM+MJ4e4EOQ2g1hCinsPoS5F9oBkDIfha4SM4pxznwgXm4ExqKxBu1+nJtacASoKrJc74c6a0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c0rj8MZ3WNz6aJem4ZUJfTAHi1I5zb0VaR3OXIGpIKUohlnXqTQJTnSeSdwGFXNjKd/xsip+x8neL4F9hb4vcFEf+6vq7PbHNHtXkVlw7QpNdo/xE2ooN3LFYOIjZcXQj/0WoVe9ZxN869L0WxAwbuJtSNh0uL8FBZsmvSFAU05ou6tTZ8e1A3lf6Zf+Qi6c1pSK4lA5XKAVq7mRX7u7mFOMvmGIwYQhuMvE57kmq/tayVMQP+Dz4L7C8KxYXcxjUlh0Qu43nh3EWF0MLj3EyReHS7R40aKxo1wfgJr4IU8DyGg/CPGD6ptxTVmy2p+vX+9Pdz6hknHYlld8mH3/aCcmi1L5MUu9c7cFVCa2vn7LrWO2u81bl6VM1GRBYh679nnTxBuDj9Rs235RT8Zgyl+5/Un5wsDidReTVjcIYZ9bMHspuWAun23nGmzmeQ+em+B+JddudjYpChnqp+IypODQGrmeTu/2AMP62F4Ytzmlg6v2xDIhu8p4pplnxvoJpl3BCIZhujlsZnRmuN6aY5ZDnoJyC0X6qR54Oq1YGXPpEx4eV9bmZjQckjsTKnPxGT5SavEMZRCcMYZwWtrCg4zvbt5RcU0Yk4bRw6wtMOF1GlbettgmW5jLd8T8VcPXsbOrTMuvdcB++LoKWqVfBcusvQjG3rnB+O4Gdtnb+sQbCoVfP7Ul/xminbCbaPlwSvx2AkuY/LX5stU8w/nZH2fn/IpTUs1mKhP7+du5dlYk8PIc5gql30Den3WV2gcIqYX2AJa73dHumNrndxbBilfG6AHW6wUa+qhVWfJr3+JyfiJ4Qi1xwfQ9rCGWhv/H1YRnz8VNJYIX99VmeTlorvzbrtdJTTmj7B8/QQT/UbE3WPf1ZFUvm3UlMxaCctvS3it/vL422+DudjKFsvwfVAk9iw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/patch-organization.StatusCodes.json b/docs/docs/reference/api/patch-organization.StatusCodes.json index 0c7014d948..2c8c80e1d7 100644 --- a/docs/docs/reference/api/patch-organization.StatusCodes.json +++ b/docs/docs/reference/api/patch-organization.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/patch-organization.api.mdx b/docs/docs/reference/api/patch-organization.api.mdx index 7323f33c2b..da4a8eb7ea 100644 --- a/docs/docs/reference/api/patch-organization.api.mdx +++ b/docs/docs/reference/api/patch-organization.api.mdx @@ -5,7 +5,7 @@ description: "Update Organization" sidebar_label: "Update Organization" hide_title: true hide_table_of_contents: true -api: eJztVsFu4zYQ/RVjTi3A2mnQk051s1vE2G5jJN72YBjBWBpb3JVELkklcQX+ezGkbEm2E7Qu9tZcHJEzj8M3b4bTgMOthWQJd2aLlfwLnVSVhZUApcmEr1kGCWh0af6oekYgQKPBkhwZRmigwpIggb7Ro8xAgKwiQg4CDH2tpaEMEmdqEmDTnEqEpAG30+xunZHVFgQ46Qpe6Ec2mmXg/SrCkHW/qGzHvseoqaocVY63UOtCpsF78tmqite6Q7XhezpJNqwX9Tb4VLu7TbjTMCgvDitVXRTAkezDfGBfL1oWLsP4nX29gIxsaqQONF8I9a4H4QVsipDnPhZmmeRtLOY9EiJ/Lapaf6bUvXnOrwHYC6h1ho6yR3SXhvwpIoymDrw/juG8HqILeM8OhqxWlY2pvL664p8Bk/BQpylZu6mL0X1rDBeLRWbnVLtRpmQKoK6D9vdRs3DF/wL7DwJz3+iARYtfksNvgf+Rcb0A9VyRefx3qrljn1HUTknlOrTaBqSj0p7idEWDxuAO+jFEX8/N+Em6ts33oF73nfUcvIBnZb5YjSldFsmfnfu5Iu8a+RICEwfWVuc7QFv7P11fn5b7H1jILL4b741R5vJaz8ihLAYXHhoUKh3s/oOKkpWjLRnwq9fZ+k2luK+w0m7feiY/krW4pY76100DGaMF7wZB6DoQ0iWcF7yA1L30YE4a8Q1z+XK+WffzyNzE8Fu7Xiq7FMUMvU7Fu5iCt16G28VifgIY9TEURnw2RnfDcaYkl6vDsBPmG5dDApP+RGMnzdGA40GAJfO0H4NqU7ATahmyHT9z57RNJhOqx2mh6myMW6ocjlFGwxVjpLWRbhdApvPZB9rdEmZkIFmu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hkNqN6mipdZ1PMqfI4RRkD14yR1lb6bQCZLxefaHtJmJGFZLUeBtywSKPsxmH7VqGRn4jJ68x/XvtC2/5Jg/UXMYvZYflf99794QlLo6j33l5CHeD+fszrfnlnbAcO1E8ByGqjh6KbBz4m8+XiCHW0xQOMadDr7uHCNogDpnuCQQCVYXzBE5Zv9ztcB7ctHnM2fTM94yWjnS+xGhxxWi8H74OOex6JmVEow9CGmppOSavRW9iBgOTwtbwWUGjnObZpHtDRnVVty8s/arKsjbWAR7QSH5i2VQOZdHydQbJB5eiorL3jwT/X3VC+moA4Xe5OPxWL5xFVzXcg4DttT3xDBOcqdhptuqiLeODr4C89ypHd8nDEjHmakvHPxq4H47mc315cgoCH7jOj1BknWfzJxoM/Y8naRJL5O4TXGlBY5TVbZAIRlH+/AFE3PAg= sidebar_class_name: "patch api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/populate-slice.ParamsDetails.json b/docs/docs/reference/api/populate-slice.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/populate-slice.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/populate-slice.RequestSchema.json b/docs/docs/reference/api/populate-slice.RequestSchema.json new file mode 100644 index 0000000000..c1f84b096e --- /dev/null +++ b/docs/docs/reference/api/populate-slice.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"results":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"PopulateSliceRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/create-results.StatusCodes.json b/docs/docs/reference/api/populate-slice.StatusCodes.json similarity index 100% rename from docs/docs/reference/api/create-results.StatusCodes.json rename to docs/docs/reference/api/populate-slice.StatusCodes.json diff --git a/docs/docs/reference/api/populate-slice.api.mdx b/docs/docs/reference/api/populate-slice.api.mdx new file mode 100644 index 0000000000..75e31a69e8 --- /dev/null +++ b/docs/docs/reference/api/populate-slice.api.mdx @@ -0,0 +1,69 @@ +--- +id: populate-slice +title: "Populate Evaluation Slice" +description: "Populate Evaluation Slice" +sidebar_label: "Populate Evaluation Slice" +hide_title: true +hide_table_of_contents: true +api: eJztWVlvE0kQ/itWPYE0jh2TA+ZpQwCRBUQUGx7WsqLyTDlutuegjxBj+b+vqntOO3EOhYeskpd4eurqr+ucXoLBCw3hGN5forRoRJZqmASQ5aTc00kMIeRZbiUaOtdSRAQB5KgwIUOKeZeQYkIQAlUyzkUMAYiUedHMIQBFP61QFENolKUAdDSnBCFcglnkzKyNEukFBDDLVIIGQrDWSTHCSCaoLeycxLBaTbxQ0uZtFi9Y0rqOKEsNpYZfYZ5LETnu3g+dpbxWm5Ar3q8RpL0YbaVxP4WhRG9SzKRDbQmYLr7OHAQYx4KlozxtkdYUxT6nWSYJU1gF61vnlevFQCRUZCWqF59xSvJvnaXdkzS35iXj44Vk0x8UGWBYSsTWiGG1QVzbkFopW8wf3B6Z5f+/11Gx1YQMPnCrjX0VKyI1dEGqrTiZtleaCN2Gxwcrt8MRVA57ByZUChfbPaDFej9EvzCSqwAuSWnhw209zkvS7wVJADHN0EoO/UF/sN/tH3Z391jIHPWcM8oW3NfTxjbbPqKeuxQSgFEY0S2itzoO85eySJsI9W3i7mPpqBBZaCClMvXsn4/hn+8dlKsAtEFjt0IWAKU24RqZUxr7lZ+WLHFxUjZN/ZK2UURa8/mikFZxmXQHxksRphFJSTFMritoQ2/EpsGrwB2TukR5rYnXnuHaVk9KAQyQSEgbTPI7emiMhrrMtN1NK6krrsk5oTkX8dWDLT5zIjon8VUzKfTdaVF+/i8ttuWToaG884kW7nQjSlGJrIjJu7Yaw4KtiDtl03sKOLNFk7Luk81GaFxvp21ppfFaZzlz7cmxIjTUcHof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d7J/7y9ma5h5rzAq8tQWJ6YbkMheBl8t9/SiZRJQ== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Populate Evaluation Slice + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/probe-slice.ParamsDetails.json b/docs/docs/reference/api/probe-slice.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/probe-slice.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/probe-slice.RequestSchema.json b/docs/docs/reference/api/probe-slice.RequestSchema.json new file mode 100644 index 0000000000..60fe9a5700 --- /dev/null +++ b/docs/docs/reference/api/probe-slice.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"ProbeSliceRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-results.StatusCodes.json b/docs/docs/reference/api/probe-slice.StatusCodes.json similarity index 100% rename from docs/docs/reference/api/edit-results.StatusCodes.json rename to docs/docs/reference/api/probe-slice.StatusCodes.json diff --git a/docs/docs/reference/api/probe-slice.api.mdx b/docs/docs/reference/api/probe-slice.api.mdx new file mode 100644 index 0000000000..462fa22232 --- /dev/null +++ b/docs/docs/reference/api/probe-slice.api.mdx @@ -0,0 +1,69 @@ +--- +id: probe-slice +title: "Probe Evaluation Slice" +description: "Probe Evaluation Slice" +sidebar_label: "Probe Evaluation Slice" +hide_title: true +hide_table_of_contents: true +api: eJztWFlvE0kQ/itWPS3SOA4Bwu48bQggsoCIHMOLZUXlmbLdbM9BHyFea/77qrrndmLHUXjazYszPV3XV8dU1QYMLjWEU3h3g9KiEVmqYRZAlpNyTxcxhJCrbE7XWoqIIIAcFSZkSDHhBlJMCEKgmsG1iCEAkTIhmhUEoOiHFYpiCI2yFICOVpQghBsw65yJtVEiXUIAi0wlaCAEax0XI4zkC416g4sYimLmmZI2b7J4zZz6MqIsNZQafoV5LkXkqEffdZbyWaNCrthYI0j7c0pRiexaxO4Z0/WXhbNTGEr0fp2LoLqASuEaiqCmSK2UwKpXVl2VwgYXsWZCbSi//pvWD5N8kCRD+eAjcy4YuZzQXIv4do8gkRpakjpI0tgxH1ww86IhzObfKTItj15yTF1xSI29I6EoCqeczrNUe2+cHB/zT0w6UiJnB7ItNopI64WVg3F5GR7t7yiznqhncqPoubsRQEwLtNJAeOy1tNI4DjVoXcYL6TKrDS/GsWClUF52rjY3SiXmWSYJ0zbOtc/vYwORUJGVqH77hHOSf+ksHX6xJrfmGfS90PZX/zZs+WyXt987K5nkv2DtpDQ2IYOPNLZl2VaStQQn8+5JG6N9iLy3cg8gQR21D6Han/M92sNA/cxgFgFEitBQfI1mF3CtchujoaERCe1kf+7ZDs6cWjaPf4WQr55tKSQmSb9AyFvPthRSwTVf8/f2YXLKD9R+sN6s3We2wetJpVRo1VIqwJ5USgVXLeXpWHt+N6S08F+XB6T5FpNvJXkRwAr16gkt/4B6VdpsFEa0h/XOisf0FS/SJkK9j90hmk5KlqUEUipT/xfWJyqs7xyarq1EY3eiFgClNuE5IKc09ic/LFniHlzZNPVH2nde7GIU0iruu5zP+CjCNCIpKYbZXX37lVfiLoXrzqqWztmaGlI3KO9U+07X9pO0YsCgiYS0wSR/0oI8qbl2mupHa9y0zv12sxoM7ho/+i2+83gzxRwyZbXmEWeSTQ9kMLblfLbd9zfz2bQxp6tpLfHOABq7lntrFmnD53vyFnbT2a4RpM9b1+OEH0VenpxsTx/fUIrYT6I+wR49esRkUMgdI4TMos7bQ2re7H6cPmVeQdfJ6uWumPpMWuOSGtDvv+rAGEz4rcteLld8vc7Gsn5F5rbFZssn54zlrdkbQoyNV7+81/6y1i6qS+A9ULz1LtgVJB8mk8sthj4+uoHhBtpBa1FxVe5LEjKrzK1RMm3c/sSsIISRFkkuadQsTvRo09miFCO3eOEsIXVT7VuskkyNuXCO948rY3IdjkZkjyKZ2fgIl5QaPELhL86YR2SVMGvH5Ozy4iOtPxDGpFyatC5ccbz6COxeq72Gufjosrfc/ZxZs8qU+MeHVbn7WXkqBoozYdysa97dIlu+vW6ZwosF/v5qcfpy+Or189fDl69OT4bzF4toeBL9cfpicXqKCzxlV7c2JdMqFme9zcb0eOYicZG1A/HMATM4u7yAvgc7rzipMXIxXFnpXkPQg7xBmr+GiUtpMITJn/WbTrcIx0fPj475iOMhwbQl4t4Y6iha+4EzZZRLFC6XnVqbMrym4MOLdWqt9gII+4s6H2OzAFYcnuEUNps5avqqZFHw8Q9LioNmFsANKoFzhnG6gVho/j+GcIFS05aOdVWE38Zl4j4bNM1PV/cqsFKOKlaQnyAA983r7RZdbVtVobsp75x7cUNXgRoeWwWZc8ZTnEUR5Wbn3Vkrey+/XE0ggHm5b0yymGkU/uTKhD+9vlnuceaFJJ9tQGK6tFxDQ/A8+e9fyHdU7Q== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Probe Evaluation Slice + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/process-slice.ParamsDetails.json b/docs/docs/reference/api/process-slice.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/process-slice.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/process-slice.RequestSchema.json b/docs/docs/reference/api/process-slice.RequestSchema.json new file mode 100644 index 0000000000..56cd782a44 --- /dev/null +++ b/docs/docs/reference/api/process-slice.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"},"overwrite":{"type":"boolean","title":"Overwrite","default":false}},"type":"object","title":"ProcessSliceRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/process-slice.StatusCodes.json b/docs/docs/reference/api/process-slice.StatusCodes.json new file mode 100644 index 0000000000..41380e396a --- /dev/null +++ b/docs/docs/reference/api/process-slice.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"202":{"description":"Accepted.","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/process-slice.api.mdx b/docs/docs/reference/api/process-slice.api.mdx new file mode 100644 index 0000000000..90560b9606 --- /dev/null +++ b/docs/docs/reference/api/process-slice.api.mdx @@ -0,0 +1,69 @@ +--- +id: process-slice +title: "Process Evaluation Slice" +description: "Process Evaluation Slice" +sidebar_label: "Process Evaluation Slice" +hide_title: true +hide_table_of_contents: true +api: eJyVVk1v2zgQ/SvGnHYB2k6dxN3Vab3dADWyixhx2oshGGNpZLOVRJWkkriC/vtiSMmS7TRtfLFEzhfnvXlUBRa3BoIV3DxiWqKVKjcQClAFafc2jyGAQquIjFmbVEYEAgrUmJElza4V5JgRBECHEGsZgwCZsyvaHQjQ9K2UmmIIrC5JgIl2lCEEFdh9wc7GaplvQUCidIYWAihLF8VKm7JBV+BgHkNdhz4oGfu3ivcc6TRHpHJLueUtLIpURs57/MWonNe6EgrNx7WSjF+nHLVUaxm7d8z3d4k7p7SUmZ/XXIvWALXGPdTi4JGXaQpcenuqZZNsMI8NOxpLxfor7X8t85syWSoGtxy55s4VhHYt4+efJJK5pS3pN2W6d8EHcw5eC1CPpJ+0tNQLu1EqJcx78N4drATElGCZWggSTA3VXW61+UKR7XktPDGXzMt7zwao69qd0BQqNx7SycWE/2IykZYFswACmEURFZbiEfw6VXzsq8kL4T5jKmPPzxutlX5D1BMCxmRRpvx0QOPYIFXR0W4H3yk9znEMT5Hsmvmv8gUyaJnZvkT01vQ/Mga31NHix6auGYMH3q1ZE4rSNaTdnruFWkBkn3thzpD+wL18ZnTP2dAN/sr1xpff2PWI2UHkEfpxK/7xELxGvY8PD4uzgJ4fx8RoODroCdiy0dGM7E45gVXGOl21OwhgbGRWpDTuBNWMqyN1rceNJIMAQ/qxVeJSp+yPhXTg+9edtYUJxmMqR1GqyniEW8otjlB6w5BjRKWWdu+CzBbzW9p/JIxJQ7AK+wZL5qxn4bHZATks5C1xL5tbYVbandLyu6dWcyvsvBc3i6fhvhPym2fks58L8QouE/zjOpleDa/fv3s/vLqeToabyyQaTqI/p5fJdIoJThnunoauWj6GJ5q3ugiPlMkrDVeXqD49Z65Vg9liDqe4Hm3xqGPkmN2e222DOAGh6z0IoMwNOljC7K/DDvOSEfVpLkbvRhe8xBzJMO+leIVZR6UesOEJGhcpSjfjrrCqId0KPOm4qt6ngIDg9FpvmRcK2DFtgxVU1QYNfdJpXfPyt5I0UykU8Iha4oZbuaogloaf46bdZ1Ue9BJ+u29G+vcBiJerb+mWM9e4RH4DAV9pf/Yt4lRv1xK6amw++HRDp01djDOp5knyHv7KeNU27E314m75AAI2zfdJpmL20fjEmoVPvl5V+E7zBwyvVZBivi1ZXQPwMfn3P6PHTT4= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Process Evaluation Slice + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/prune-slice.ParamsDetails.json b/docs/docs/reference/api/prune-slice.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/prune-slice.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/prune-slice.RequestSchema.json b/docs/docs/reference/api/prune-slice.RequestSchema.json new file mode 100644 index 0000000000..54b961ca36 --- /dev/null +++ b/docs/docs/reference/api/prune-slice.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"PruneSliceRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/prune-slice.StatusCodes.json b/docs/docs/reference/api/prune-slice.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/prune-slice.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/prune-slice.api.mdx b/docs/docs/reference/api/prune-slice.api.mdx new file mode 100644 index 0000000000..657425deb2 --- /dev/null +++ b/docs/docs/reference/api/prune-slice.api.mdx @@ -0,0 +1,69 @@ +--- +id: prune-slice +title: "Prune Evaluation Slice" +description: "Prune Evaluation Slice" +sidebar_label: "Prune Evaluation Slice" +hide_title: true +hide_table_of_contents: true +api: eJydVt+P2jgQ/leiebqTAmzZXdrL09HeSkV7pyLYuxcUoSGZgNskdm1nuzTK/16NHUiA3fZaXojt+eVvvvmSGixuDUQruHvEvEIrZGkgDkEq0m41SyECpauS1iYXCUEICjUWZEmz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info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Prune Evaluation Slice + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-agent-mount.RequestSchema.json b/docs/docs/reference/api/query-agent-mount.RequestSchema.json new file mode 100644 index 0000000000..fe4ccaa501 --- /dev/null +++ b/docs/docs/reference/api/query-agent-mount.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"},"name":{"type":"string","title":"Name","default":"default"}},"type":"object","required":["artifact_id"],"title":"AgentMountQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-agent-mount.StatusCodes.json b/docs/docs/reference/api/query-agent-mount.StatusCodes.json new file mode 100644 index 0000000000..646029c5e4 --- /dev/null +++ b/docs/docs/reference/api/query-agent-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},"type":"array","title":"Mounts"}},"type":"object","title":"MountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-agent-mount.api.mdx b/docs/docs/reference/api/query-agent-mount.api.mdx new file mode 100644 index 0000000000..70077c6a99 --- /dev/null +++ b/docs/docs/reference/api/query-agent-mount.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-agent-mount +title: "Query Agent Mount" +description: "Query Agent Mount" +sidebar_label: "Query Agent Mount" +hide_title: true +hide_table_of_contents: true +api: eJy1V01z2zgM/SsenFXbm9mTTnWT7jTTpvUm7l48ngwswTZbSmT50Ubr0X/fASlZsh072UyaSywReCAfHghoCw7XFtI53ChfOguLBJQmg06o8jqHFH54MtU9rql09wXbQAKGfniy7p3KK0i3kKnS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ZY9JhkGWl31nbRE/b0y90MElg2XzqFytnH4C+uV/wFKQB/MLF30Fp4twWJ5drzzZJCxOS//wCuK5F+ +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Agent Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-analytics.StatusCodes.json b/docs/docs/reference/api/query-analytics.StatusCodes.json index b6e859aa50..59c825be8c 100644 --- a/docs/docs/reference/api/query-analytics.StatusCodes.json +++ b/docs/docs/reference/api/query-analytics.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`.","default":[]},"query":{"description":"The resolved query used to compute the buckets.","properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"specs":{"items":{"properties":{"type":{"default":"none","type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`, ordered oldest to newest.","default":[]},"query":{"description":"The resolved query used to compute the buckets.","properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"specs":{"items":{"properties":{"type":{"default":"none","type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-analytics.api.mdx b/docs/docs/reference/api/query-analytics.api.mdx index 03c9e0ec6b..3418f6161f 100644 --- a/docs/docs/reference/api/query-analytics.api.mdx +++ b/docs/docs/reference/api/query-analytics.api.mdx @@ -5,7 +5,7 @@ description: "Aggregate span metrics into time buckets." sidebar_label: "Fetch Analytics" hide_title: true hide_table_of_contents: true -api: eJztWV9v2zgS/yoE+3BNodi94p78dNn+wfa2bbJNtveQBBVNjS1uKVIlR0ncwMB9iP2E+0kOQ1KyZMeOm3YPOKAviSUNZ36c/xzechRzzyfn/AXUDqRAKPhlxgvw0qkalTV8wo/mcwdzgcB8LQyrAJ2SnimDlqGqgE0b+QnQjy7MhXnfGM9mSiM4ZeZMmIJdK1PYa3pSBRhUUmiGluUnx6dnbIxOSGXmY+Ltx58bcIs8uzBYgkmM1RfwDEtglUBZQhFgeDZdROkkQtqqbhA8swaYdayyDi5MRMp8U1XCKfCsBpd4jthvHhiWyhOUaaN0wWQpHHpmZ0wLBCMX2YWR1mPG0H4Cwxov5pARe9l4tBUzTQUkICAQCHPrwuYEolNTwhNU8ugRew+fG/DIprZY0KtDlnc6ytmf//mDeVEB86WogYm426AKBqaorTKYMS9tDQXBpa9BBxeGMSwFMmlNEtl+F0boBSpJEA5Z3tkgSsutLsBjPs4NXNMPNrMurAsqdcLMo2JzZRDcldA5ySKiqD92rQos2WNlmAdpTeEPoiBfg/RRiGBaeSR95m+DJU5rkDkDggqeRSebkl9cl0qWJGClOdpHMtyXCKW01yP2UsiSkQxWgNTCgWeC5bioIQB8nCebjEkjyjS28XnGureF8tIBAr2bKiOirzGW98w39srMdSDpv60ajaqO7z0Gw2Us/91bE1lYx/InUY+iQXsQMAtWWEQoWF4LLPMUM8l87DERw42oag0BRc9xxHyUAm1EPuhHsqkaLVBdwQgtCp0frJzL19Z4oMefYigy4YA5wMYZKJgyTJbOGqvtPDiodQW4pMxkTylcsIq4MHkSnLNCSWSfY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KDl8u/wt7aByV sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-application-revisions.RequestSchema.json b/docs/docs/reference/api/query-application-revisions.RequestSchema.json index a7b2cfbdf0..79ebe88c37 100644 --- a/docs/docs/reference/api/query-application-revisions.RequestSchema.json +++ b/docs/docs/reference/api/query-application-revisions.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"ApplicationRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionQuery"},{"type":"null"}],"description":"Attribute filter. Includes standard fields (`slug`, `slugs`, `flags`) plus revision-specific ones (`author`, `authors`, `date`, `dates`, `message`)."},"application_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Scope to revisions belonging to these applications."},"application_variant_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Variant Refs","description":"Scope to revisions belonging to these variants."},"application_revision_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Revision Refs","description":"Restrict to specific revisions by `id` or by `slug` + `version`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived revisions. Defaults to `false`."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When `true`, resolve embedded references in each returned revision's `data` (for example, snippet references). Defaults to `false`."}},"type":"object","title":"ApplicationRevisionQueryRequest","description":"Request body for `POST /applications/revisions/query`.\n\nReturns committed revisions across one or more variants. For the ordered\nlog of a single variant, use `POST /applications/revisions/log`."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_revision":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"ApplicationRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionQuery"},{"type":"null"}],"description":"Attribute filter. Includes standard fields (`slug`, `slugs`, `flags`) plus revision-specific ones (`author`, `authors`, `date`, `dates`, `message`)."},"application_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Scope to revisions belonging to these applications."},"application_variant_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Variant Refs","description":"Scope to revisions belonging to these variants."},"application_revision_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Revision Refs","description":"Restrict to specific revisions by `id` or by `slug` + `version`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived revisions. Defaults to `false`."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"ApplicationRevisionQueryRequest","description":"Request body for `POST /applications/revisions/query`.\n\nReturns committed revisions across one or more variants. For the ordered\nlog of a single variant, use `POST /applications/revisions/log`."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-application-revisions.StatusCodes.json b/docs/docs/reference/api/query-application-revisions.StatusCodes.json index 47a224bbcc..95dc97d121 100644 --- a/docs/docs/reference/api/query-application-revisions.StatusCodes.json +++ b/docs/docs/reference/api/query-application-revisions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-application-revisions.api.mdx b/docs/docs/reference/api/query-application-revisions.api.mdx index 9d55f7e783..44caa60f34 100644 --- a/docs/docs/reference/api/query-application-revisions.api.mdx +++ b/docs/docs/reference/api/query-application-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Query revisions across one or more applications or variants." sidebar_label: "Query Application Revisions" hide_title: true hide_table_of_contents: true -api: eJztW21v2zgS/isEv2yLU5w0bdNdf7ps0qK57UsuSVvgHKOmJdpmlya1JJXUF/i/H4akJFpvdWznUCySL7Eo8hnODDmcF+oOGzLVuD/Ax2nKWUwMk0LjYYQTqmPFUnjGffzvjKoFUvSGaeiASKyk1kgKiqRCc6koIgEANN4QxYgwunctrsU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+eToiEzIEQ4uWA/W6zHMuTB8eHD4Yu/g1d7hb1fPXvZfPusf/to7ePXsT1zcdB60ywwD5iu4eF6/eDsIMt12RUD6ud784c1pvyT60KNVLjM+xHD1K3bOEVfus+X31rqMmF8/65Jxt8jW9TV/P+yguOK1cn+rvI51kF+nOljajWYiw33GEj8EHZ+f1c8d4U+wZ5PYblF53LM/46gShMvYC2n/3O7Y2FAy/1fxy0olDR/0nvUOoAl2hTkRwRDu4+C1TknB96uP3xTv9ptiv+/BMWM/5YSJoJLntvBB+Fq6T4tLM7ltfBjhGez6/QG+uxsTTT8pvlxCs/u9Pxj6GxNj8MvBsKj12Rf7O13khx1h9uypCcR55nbkyiESjgaux3EcU1tiapcdBgcTUA+O8Nh/Ej23GyBW5BbWRG5xH9tvrE1+t8u23WFOxDRz0ddhwr//AYcGoHI= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -43,8 +43,6 @@ Use `application_refs` / `application_variant_refs` to scope the query, or filter on commit metadata (`author`, `date`, `message`) via the `application_revision` object. For the ordered history of a single variant, `POST /applications/revisions/log` is more direct. -Set `resolve: true` to inline embedded references in each revision's -`data`. ,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},"type":"array","title":"Interactions"}},"type":"object","title":"SessionInteractionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-interactions.api.mdx b/docs/docs/reference/api/query-interactions.api.mdx new file mode 100644 index 0000000000..80f12eccb9 --- /dev/null +++ b/docs/docs/reference/api/query-interactions.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-interactions +title: "Query Interactions" +description: "Query Interactions" +sidebar_label: "Query Interactions" +hide_title: true +hide_table_of_contents: true +api: eJzNWW1v2zYQ/isEv2wrZMdxm3QThmFps2JG1zZLshVYahi0eLK5UKRGUnG0wP99OFKS5ZeoSeoNyydLunt4vDse77ncUcdmlsZX9AKsFVpZOo6ozsEwJ7QacRrTvwow5UQoB4YlzstE1MBfBVj3SvOSxnc00cqBcviT5bkUiVc/+NNqhe9sMoeM4a/cILgTYPHJQ3slVX5IaXy1KWCDVRPB16VcmQONqXVGqBldRs0bVUhJl+OIOuEkvqj2RUacLiPqCvMlYJeFqZGuheqEiSioIkPPFhbMhOW50TdM0ig8C5UXjkY0kQKUmzitJd22erRy+ltcb9u2ZUStY66wD7MlB8XDGwM214oDD7+1vPE/E6YSkBJ4tzUXYc2d9qTSp9T9QeUgxQ0Y4BOhJlN2jx+nWktgqjMepzUSGSnyinkPteAXMJ1rfb0H+I8V0hJzKEjr6Z+QYAjv99KvmN5vvDt2eipIsamEiVbSH4QN61boJ40s+YCyuM+UFdLROGXSwhMs223UQiiuF5gkHSFUsADrunMu1SZjjsaUMwc9J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ddXWf78BaNmvd3PeLemeQS/zqGSI2nijehAVfIANyty2Yrai8Rl/iROMziYO+CeZXcu1OqQlRiND9rjgNIehKk58vL8+2AEN+rCeGZ/dktD6izsDNNQ6wc20RNXQY9KDKe3vQptIHYRSN3Y7BZtGHujASFVgufJzD49y53MYHB1D0E6kL3mczUI71mQiCY8RICiNc6UFOzkZvofwZmB/uXI3bAheYniHh1sWaILFcYIMUUcUyfD4p3Fwb8XfIIgw2mhS00C+Y+Oer2fxPtyzLJazN2tusq5VLNa9avQq0Z4vd1PykRT5aF8vWVRBq146CXo1dtoag9R2wNoisB450OBi+6A1e9obfXR4exUeH8fDb/uDl4R90NTfskgnjP/o8Zd8epccvekcvD1/2XhwdD3vT52nSGybfHT9Pj49Zyo5pM9gbNLO5tcHbao42qOdgg6U/gKlun78TnyDk5Gy01X+ufcJaxhJ/dOto+8/IKNdSb5VxSAUzX8moA5b92HzBg9eQHjroH/YHvsvW1mVMtZbYeXTWjGxyEYvDQS6Z8OXLm3RXnarmNrF0Y0QVVYk3jugcz2F8Re/upszCb0Yul/i6SsyrcURvmBGYCf6cRHVe4ynyBCNUKOV6vtShuCzCIdmo/Hhag8ZJkkDuOmXHrVJx9uHikkZ0Wv1bK9McdQxbYAlkCxpTzLO8mb75d3dUMjUrsFjHNGDi3z91tGl+ +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Interactions + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-mounts.ParamsDetails.json b/docs/docs/reference/api/query-mounts.ParamsDetails.json new file mode 100644 index 0000000000..fc3dab04d6 --- /dev/null +++ b/docs/docs/reference/api/query-mounts.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/query-mounts.RequestSchema.json b/docs/docs/reference/api/query-mounts.RequestSchema.json new file mode 100644 index 0000000000..d50c5a9e65 --- /dev/null +++ b/docs/docs/reference/api/query-mounts.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"mount":{"anyOf":[{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"include_archived":{"type":"boolean","title":"Include Archived","default":false}},"type":"object","title":"MountQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"MountQueryRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-mounts.StatusCodes.json b/docs/docs/reference/api/query-mounts.StatusCodes.json new file mode 100644 index 0000000000..646029c5e4 --- /dev/null +++ b/docs/docs/reference/api/query-mounts.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},"type":"array","title":"Mounts"}},"type":"object","title":"MountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-mounts.api.mdx b/docs/docs/reference/api/query-mounts.api.mdx new file mode 100644 index 0000000000..dcabc67349 --- /dev/null +++ b/docs/docs/reference/api/query-mounts.api.mdx @@ -0,0 +1,69 @@ +--- +id: query-mounts +title: "Query Mounts" +description: "Query Mounts" +sidebar_label: "Query Mounts" +hide_title: true +hide_table_of_contents: true +api: eJy1WG1T2zgQ/iuZ/eyEEN5af7oUelOmpVCgdzPHZBjF2iTqyZYryUAu4/9+s5Lf8oKBTOALE3n32fWjR6tdL8CyqYHwDi5UllgDowBUippZoZJzDiH8zlDP72P/NICUaRajRU1OC0hYjBCCQWOESu4FhwBEUrpBABp/Z0Ijh3DCpMEATDTDmEG4AJbMLycOxc5Th2K1SKaQB9VKkkkJ+SgAK6ykhRsfqHPOISe7Ir5IIplxvGc6mokHfEsWRaSxUhJZAgFwnLBM2sq0DH3uY3SGZYycEiNkNPaT4nNCqwNZnWEAkUosJta9bppKETli934ZldBanUaqiXYr0NAvR/cyR8sGDcJ3wGSwTuAmZp5lYpW0PA9KbzX+hZFtODud/XD7sp5eHsCjSLh6pOxbXj/BRzS27dUDmCgdMwshcGaxa0WMrXx895B5AEryXYNfesg8gASfXgudZYK/kPKTw5QiFptBRWJxiroV5ZvzpvfWHHV7bphkMRULZiJMuF/jWP0YtXLg4J3WLOoHJrfO+LwEyAPQzOJGoCSLxy/gXJNvm1b/rrS4Qaqv0vi1Lw+Q52Sv0aQqMV7Dg36f/hF9WqRUFuhUZlGExkwy2bkujGHrKhKVVWSF2zrRU2fROL79PICi1ocLEBZjswFXI7PI79luD8mph+0MnRqzlL9HkJ8etgjCUeI7BDnzsEWQkq7x/IVy/ZazX5L1aV5U8JKvnUYp2aqilITtNEpJVxXF3+rb3Wvfmduc5XO1HdRZAyIPwMhsuvVtS75U+3ZGmmcq1YpqT7EZ7Wi175X3KtjedS/BmV0vRi9VyzNyygOYSNePvtH7T+dFVoV3/RaMc0E7yORVA9F3Z8uYbW94W+DHaNl74F8Q7qYrpW4o75qbPVohAGpXpjWbrxJkWu85b1JdOP6yOhwM1u+nv5gU3N0+nc9aK7395cTRMiFbbhmpoqWnrxBm1TyMnqfjm/IJut00003Hpt4UY9gUa26fN3VkdG7pqetw0sxfvFXHQgt0F9inBszaRpwSl9TUvaAE4sanX9g19FBvkd+h56k481vQpowvt7dXa4BeH8vCcN1O56IcE2O0M0XjY6qMdWOjnUEIe7632CvnMoP6oRwlMy3JgqXCban/ObM2NeHeHma9SKqM99gUE8t6THjDEWFEmRZ27kCGV+dfcf4FmWtl70ZNgxtSotfWslm1HywVX5HyKsbKYWZnSov/vGCKmXLmvYgC0vh1PQB+fmJxKnFpgGsW11o26+OWn5tWxp9yzIFBf3DY7Z90Bx9v94/Co/1w8KHXP9n/B+pppc3GDx1wMGEfjibHh92jk/2T7uHR8aA7PphE3UH08fhgcnzMJuwYqnGiX00ES+1+3b33y+67nzvNT1RT8kO3UZ3h1TmsamXpEZUPFjmuStbdYwhWJFDvPA0isSseYJHFf1RPSOukJx+m39vv9d0lqYyNWdIIsaLWlV6hUAOdxL1UMuFqhUtmUQj5DqoPIl7KowBmpPTwDhaLMTP4U8s8p2X/nLTJhWFj2fgI8S/OV7+dPDCZUWx3BJ5x2PCxo3Yb0Q8tyM/pPyj1Shl4/1NfsLuuWtW+a8WbUvAewyjC1Lbajhpn/ury5hYCGBffRGLFyUezR6pi7JHypK9M5O1Oo1tbgGTJNKN6G4LHpL//AS7GTOI= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Mounts + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-queues.RequestSchema.json b/docs/docs/reference/api/query-queues.RequestSchema.json index bb7586a8b1..ba8c8ff7ba 100644 --- a/docs/docs/reference/api/query-queues.RequestSchema.json +++ b/docs/docs/reference/api/query-queues.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sequential"}},"type":"object","title":"EvaluationQueueQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueQueryRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sequential"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","title":"EvaluationQueueQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-queues.StatusCodes.json b/docs/docs/reference/api/query-queues.StatusCodes.json index 868401dc1b..bdfd9245c8 100644 --- a/docs/docs/reference/api/query-queues.StatusCodes.json +++ b/docs/docs/reference/api/query-queues.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-queues.api.mdx b/docs/docs/reference/api/query-queues.api.mdx index bc5d95ce0b..a2ca3b26b2 100644 --- a/docs/docs/reference/api/query-queues.api.mdx +++ b/docs/docs/reference/api/query-queues.api.mdx @@ -5,7 +5,7 @@ description: "Query Queues" sidebar_label: "Query Queues" hide_title: true hide_table_of_contents: true -api: eJzdWW1v2zgM/isBP90BTpNmfdn86bp1w3rbrV3T7YALgkKx6UY7xfb00jYL/N8PlPyapG6SdcNw/dJGIR9SJEU9Yheg2Y0CfwSvb5kwTPMkVjD2IElR2k9nIfjw1aCcX381aFCBBxK/GlT6ZRLOwV9AkMQaY01/sjQVPLCKvS8qiWlNBVOcMforlQSrOSr6ZOGsUjw/j8AfLQtEwvr2sABX14pciTVnoimo5ymCD5MkEchiyLxyKTZCQDb2QHMtaOFMdYYVSpZ5hWQy+YKBhkqyitFH8v0jReWNdXIVn2BW3GdhyEmdiYvGRjbxW2nJ4xu7sh4GAi4DI5j87T2boPhTJXH3LE6N/h2Wt1Tf/pIwrOy/LXZXbvMwQ8123GptX/kKjzXeoGwank2aK/UIPRaPN0a0h8NbANc420yJScnmrVFpqm4X0b8okpkHMZvhhvFawfhAupkHIapA8pRCsyvUaQ0i88AolNc8bEPzIErkjGnwwRgetqJ/Uig7Z2ENealG8qw8bmPz5OQ2bdlKEz/hbi5NnG/G4f74vTiLdis/w5w1tWV/XN8a73gcJnfkT0t7j/EOld4wOyHT2NXcFn7LyXCQmQeJCJ8a/NxB0uHF+02hH62qD4SVeSD4jK8HXdsvl1DeW23atwxRtvuGsZkRJWAqwDh0a9RK8g/j1hhYeKrHWKO8feBa3sTjswKAzhPT65vh6r2wekZIt61q/y5rcU2pblntl44ZQUaKRJO4xBB8LQ3aBZUmsXLVPej36VejR8PQBAEqFRnRucyFwduVYAWJcUpLUa+28MpKUHYjZoQGv595kNM8v9ZCvpeXLd3ZD3GvmiMREwq3iP6vTcPOjd6Chznp/zURezAgrUxsRWsLKrZLUH9tLhZIZBrDa/a0t9grB9s5scEyafgjjHxysLmREAX+ACOnDjY3UoRrMn9CylcE6+W8oLF5vJ7UShGt0koRsCe1UoSrtPJ00A7vFqX6jvL/nKtnHijNtGntYhWLSUsOYy+2ECw9j92ScvctbYZxYSTdtihlImkpY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ZMB7Nrxb+1V/d1qO5LguhdEkQBGE+nCrfn+w7yzIFsQIFOmD2tWhhQ2St3h6zZD7dYL6nxKAdu3R52To3YlJIf8wvUYrOMNuHsqiDZqWXs+8Nhk5N/ZoKHVqf3mnb19oQ8RM246GDWIg5qbzehV+OHvfQ+dhO03E7dtMWwZCtKsZuKyx8Wtc7oXdFb2+8RMyLxon/LqFKg7yswjZC8Il/etydpNU3IN276mVy1qhchchF62BUnLgRdOfL26uq8Aejyo54YtuPrFSk4Rz2L6W4/iRXhJUzPwIddLL8D7Lreatfe/tPJgZLOMxthIwVJs4Tb8LrHmdaJ8nd30ewEIjbhDrvBSLMdxp3gmDACI7leWJDj89N3uHiLzDb5o3FV4JKy0uVZXayIDUv4O6R5Oa4Kx0bPYsm/ueShGNOUnBa5g/L9ovxy8fqezROBtS8RRa+40hNSR1zv7rIeOWu0yi6koM5lBtbDUAw3bz6dleLSEp5N2fOD6eF+/+Bo76i/f3A47E+eTYP+MHhx+Gx6eMim7BCqd5Gj9VTGZXlc10ZxRbi+iY3EVy/Z8ss0GA6G+/3BUX/44mrvwD/Y84fPdwZHe/9AeSfWJeOuttZdZXZpNSjunWqXSuUd0SC/4xmktpZM42opObZJ3zs+P20Ev/aKyjILbBXKM9i+ppDWtlO5i4iqzW1RBo1s/kfxpsY1YbCztzOgIdrbcxZVTKxUgZUWLdtZVOF2E8G4rcF2MsusQIygUiCguH7x3CdCivuM6ok/guVywhR+kiJNadi990djD26Z5GxCvhpR4Gf5/l/Cv7jIa2yk+7ZYk7gwbr+vnF1UeJzGcRBgojtlx5WSd352eQUeTLLvl/M4JB3J7ijT2R34QOmVuDX6Sze2BMGiG0PHjQ8Ok/7+A7c+4y0= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-records.RequestSchema.json b/docs/docs/reference/api/query-records.RequestSchema.json new file mode 100644 index 0000000000..1f9c54d50c --- /dev/null +++ b/docs/docs/reference/api/query-records.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"SessionRecordQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-records.StatusCodes.json b/docs/docs/reference/api/query-records.StatusCodes.json new file mode 100644 index 0000000000..39e10da663 --- /dev/null +++ b/docs/docs/reference/api/query-records.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count"},"records":{"items":{"properties":{"record_id":{"type":"string","format":"uuid","title":"Record Id"},"session_id":{"type":"string","title":"Session Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"record_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Record Index"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Type"},"record_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Source"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["record_id","session_id","project_id"],"title":"SessionRecord"},"type":"array","title":"Records"}},"type":"object","required":["count","records"],"title":"SessionRecordsQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-records.api.mdx b/docs/docs/reference/api/query-records.api.mdx new file mode 100644 index 0000000000..3d79c148b7 --- /dev/null +++ b/docs/docs/reference/api/query-records.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-records +title: "Query Records" +description: "Query Records" +sidebar_label: "Query Records" +hide_title: true +hide_table_of_contents: true +api: eJytVlGT2jYQ/ivMPjtwvemTn0rTzIRJO6Ec7QvD3CzWHii1JUdaJUcZ//fOSsY2ELj0Wl6wpdWnT99+u9YBGLce8hU8kPfaGg/rDGxNDllbM1OQw+dAbv/oqLBOecjA0edAnn+2ag/5AQprmAzLI9Z1qYu4cvLJWyNjvthRhfJUO8FlTT6Op/0etZI33tcEOXh22mwhA9ZcykDLajRT0DTZMcxuPlHBLRXtSMkBBoDrC4BFZP+7nGSR6EMjgD0Au0BxwNfW+MTx/u5O/hT5wulajiWIoSjI+6dQjhZtMGSvVaGwIS1qT6YN05bcQIG3MSIySwnID6CZKn8JliKuKPpkXYUMOYSg1QA/KRMFzl6RlEw4SDb+5bbztKrFODI3ip6jhGb/8Qny1YUuTdYNmVCW0KwvTxJBxCy6Is9Y1d9EvGSokOmNLLq5y7JD7Xmn2OubfAfrpUz3iN4GV/xXzIcE0mSAzE5vAief9JColBafYjkfOElK4bzWbm037dGbDApHyKQekf9X3d8m2NGUX+wEfR2cOPrEqtdaBPTY6BzuLyrFv7h9qum+YK9t5dt21PaQJjakH+/vL1vOn1hqFRvK6J1z1r2+3yhi1OWNHlLa4mT2O+zX1eb6una/2kRQ5K389lZ3+Y28xy31ibgeGsXoSkebOqRe2k7P4oBYkp8HMF3S+hZrmJ5f9pVok+i3cYPM9ilKGbouxS8pBd/a7BjyfrmcXwAmf5waIzpotOg+zRXxzso3u7ZeAGvkHeQwaavAT1pPTuI3PZaH+0LOxwQHV0os1jpmN73umGufTyYUxkVpgxrjlgzjGHUKXAtGEZzmfQSZzmcfaP+eUJGDfLUeBjyIKZPNTsO61GCtP5DwMljFzhJ4Z53+O3lHUiyU0ipRQ+y+6K8j756xqks6v170ngVtnuzQItN4mtF0PoNzbU+mpNywiO46UovTkJ3p1MsDGVAViw2YsPqpmxEeInra5m78w/gufket5wrNYIvz7J7w6zQT607qEnUsrsjm0Ca+uxT5QTvK0oVOzLsTl+QrOBw26OkPVzaNDKf5fLXO4As6jRuRaiXVvTvm9QB/0f5YOobfxBqU8DKkPJ61JDFUWjEtCqr5Zux6YOT5x4clZLBpL5uVVbLG4Vc5EX6FHEDuqxwPKXcgGTtAiWYbpIvkkDDl9w+nH8Ca +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Records + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-runs.RequestSchema.json b/docs/docs/reference/api/query-runs.RequestSchema.json index 58d58ff394..2e51927a8c 100644 --- a/docs/docs/reference/api/query-runs.RequestSchema.json +++ b/docs/docs/reference/api/query-runs.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"references":{"anyOf":[{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array"},{"type":"null"}],"title":"References"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationRunQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunQueryRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_traces":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Traces"},"has_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testcases"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"references":{"anyOf":[{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array"},{"type":"null"}],"title":"References"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationRunQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-runs.StatusCodes.json b/docs/docs/reference/api/query-runs.StatusCodes.json index c33d986a40..4c295cd97f 100644 --- a/docs/docs/reference/api/query-runs.StatusCodes.json +++ b/docs/docs/reference/api/query-runs.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-runs.api.mdx b/docs/docs/reference/api/query-runs.api.mdx index 747cad2bd3..acb5784734 100644 --- a/docs/docs/reference/api/query-runs.api.mdx +++ b/docs/docs/reference/api/query-runs.api.mdx @@ -5,7 +5,7 @@ description: "Query Runs" sidebar_label: "Query Runs" hide_title: true hide_table_of_contents: true -api: eJztWllv2zgQ/isGn3YBOXHcHK2f1k1SxNumydppF1jDCGiJtrVLUyqPpF5D/30xJHVZR+Sj2KJoXxpTw4/kzHBmvpHWSOK5QL0xun7CVGHpB0ygiYOCkHD9a+ChHvqiCF89csUEchAnXxQR8m3grVBvjdyAScIk/InDkPqunnb8twgYjAl3QZYY/go5gEqfCPjFlX6M2epuhnrjzcczqvdVLeCLR+o/kbyIXIUE9dA0CCjBDEVOMsQUpSiaOEj6ksLAQLQ+wPzIASjsyj3B+gbBwLk0EMTbB+7SIBi4L4qovTb3hwawe8PuYs+9GQQDJ0Lqy33QRhogctAC65Nya+Cd8G6wPqzGsJCSCCmI3A/zIQaxoMTcloDvB3udwlhgVwkZLPcCvTQQFnChlpjthXejESwcVjLYC60PAFHkxELB9G/iSpQKpYFoqBjYcvVOx4IiMIAUogT2PB8mY3qfixdNNiwk99lcj5TDINfnrqKY//IB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frXlcSZmI0ekpUSc+jVVwgpeESXyCQ9NxBhi+4qFca5DL+5svZP2ZYG0qprNyBx3oGh2rdsvPBSfhF+0xTdiALpVcxTz8M8sMQd4HrcwoEAXo+rj41vnTC44SqvXFfrucV2bzCizUnSsV1bwhq4/mDbbaWXSwxcu8wZYizXOlslg0FVXCUpst+FV72epd0ViuwxWtWUGtaLHVsaLB1Lpshd2Wnoq6TB6VFbepqlJ5c5biLOUviy+2iqzmrJpHm27g0PWHN1P0boF/OF9cvO+ffzj70H9/fjHsz98t/P7Q//Hi3eLiAi/wBaq59cx9o+Fg+L4/+NAf/vhwdj46PxsNfzgZfDj7HRVe2NXHONNui8jd5CD3dBU3VnilQeZVBqm2OYu4bHIu9QXpXd7f1ARbeQXmG/vaWmXarl8jb+vqFTcOHGykjTeSBEf/yt9UMttocHJ2MtAhbCykLZzaKSrWYqscZO8g2MHThGKTINVL2VhDMkUlQ4LsZxGe+dcD0IIVWJ3RFG02cyzIL5ymKTSb96PpzENPmId4DnLSsdwqsxM2KDd2mMn+g+G0MJuxC1v+DQyUGXHp+ySRzr6zkmG8v5s8IA/N7X9GRHEAYzh+hu3gZzRCoFqJ2SHYEWjbIIrZUoFLGiGDCT//A/IZ7kg= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-scenarios.StatusCodes.json b/docs/docs/reference/api/query-scenarios.StatusCodes.json index 7be12bfdc4..f2d1c0c6cf 100644 --- a/docs/docs/reference/api/query-scenarios.StatusCodes.json +++ b/docs/docs/reference/api/query-scenarios.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-scenarios.api.mdx b/docs/docs/reference/api/query-scenarios.api.mdx index b619631d5d..e95998c5b6 100644 --- a/docs/docs/reference/api/query-scenarios.api.mdx +++ b/docs/docs/reference/api/query-scenarios.api.mdx @@ -5,7 +5,7 @@ description: "Query Scenarios" sidebar_label: "Query Scenarios" hide_title: true hide_table_of_contents: true -api: eJztWetv2zYQ/1eM+7QBcuy4ebT6tPSFeu2aLHE7YIZR0NLZZkdRKkUm9Qz978ORetqO4gRu1xbNl1jU3e8evBepFWg2T8Efw4trJgzTPJYpTDyIE1T2aRiCD58MquWHNEDJFI9T8EDhJ4OpfhqHS/BXEMRSo9T0kyWJ4IHl7X1MY0lrabDAiNGvRBGy5pi6dYdo+eTyfAb+eJ1mJqyGdQIWhpzwmbhokFYUepkg+DCNY4FMQuaVS6lWXM7tynYYCLgKjGDqlzdsiuL3NJbdoUyM/hW8AiSefsRAQzbxQHMtaGmNGLIN4koHaYRoML+0NhLLj2/rKDc1Qs0eaGrNrnyFS41zVE3B0bS5UvfQXf54aUS7O7wVcI3RbkxMKbZ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et518giDldf3uaXdsU81kxvJTajlJPUbyMKTqNSTlP9SsvJcb9SaV2k0F/cNTtn3YHr0aHx+7xoTt4edA/PfybVF8AjLcTTopKTV7M4OXx7OSoe3x6eNo9Oj4ZdKcvZl534L06eTE7OYEZnJDSJfy4HcckvURvS75eirOS27TbrHI20dgC2HaXaWnr59WpUnoqJ2QrQT8xKWIWlTPE0HhxZ3hzSdZDq/IIsy14JrlkLmkeE2ctPoqwwKIYmFxLFIXgt/xJpVkm/YPDgz4uYbymtx6piM3grmiYRwvmrl7MgZnsavRZpXE/JqW4J+XbTcf+YAFPf4GZwh2T1WoKkn4QPElw2T53xxOHPIBgMEWLmU5skYX1ivxDl1kCDVXXZGIk59qG8VphwnxiOYaeR2PVSDspJbOb67sRccg0/SlFEPnII+AR/R0eiUvQyWK7TXdl11aEQzjXWEtcYjHx7z//knDU sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-session-mounts.ParamsDetails.json b/docs/docs/reference/api/query-session-mounts.ParamsDetails.json new file mode 100644 index 0000000000..fc3dab04d6 --- /dev/null +++ b/docs/docs/reference/api/query-session-mounts.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-mounts.RequestSchema.json b/docs/docs/reference/api/query-session-mounts.RequestSchema.json new file mode 100644 index 0000000000..a00638ff68 --- /dev/null +++ b/docs/docs/reference/api/query-session-mounts.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"mount":{"anyOf":[{"properties":{"session_id":{"type":"string","title":"Session Id"},"include_archived":{"type":"boolean","title":"Include Archived","default":false}},"type":"object","required":["session_id"],"title":"SessionMountQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SessionMountQueryRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-mounts.StatusCodes.json b/docs/docs/reference/api/query-session-mounts.StatusCodes.json new file mode 100644 index 0000000000..edbeddfd38 --- /dev/null +++ b/docs/docs/reference/api/query-session-mounts.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id","session_id"],"title":"SessionMount"},"type":"array","title":"Mounts"}},"type":"object","title":"SessionMountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-mounts.api.mdx b/docs/docs/reference/api/query-session-mounts.api.mdx new file mode 100644 index 0000000000..3e27dbe7d8 --- /dev/null +++ b/docs/docs/reference/api/query-session-mounts.api.mdx @@ -0,0 +1,69 @@ +--- +id: query-session-mounts +title: "Query Session Mounts" +description: "Query Session Mounts" +sidebar_label: "Query Session Mounts" +hide_title: true +hide_table_of_contents: true +api: eJy1WNtu2zgQ/RVjnuXYcW6tntZNumjQpnWTdBfYwAhocWyzS4kqSSXxGvr3xZC6+aakRpKXwBTnzOjM4XBGS7BsZiC8gxs0RqjEwDgAlaJmVqjkkkMIvzLUi3vjn9/HKkusgQBSplmMFjWZLyFhMUII5TbBIQCRlOYQgMZfmdDIIZwyaTAAE80xZhAugSWLb1OHYhepQ7FaJDPIg2olyaSEfByAFVbSQhFv55JDTvsK/yKJZMbxnuloLh7wd6IoPE2UksgSCIDjlGXSVltL15feR2dY+sgpMEJGYz8ovi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yk6hmjL61aCwMgXUTX2/bMr7uTsEU9U8A0OXqM5wdAnr4ll5RPWERY6rknX3GII1CdSZp/kkdtUELLL4j+oJiZ/05N30Dw4P+u7SVMbGLGm42CHftR6iUAUd0V4qmXBFxAW1LJRdjcBO/CWMV/c4gDmdgvAOlssJM/hDyzynZf+c5MqFYRPZ+GbxLy7WP7U8MJlRGO5U7DDY8m2kNhvTDy3Izh2JoJQwReDtz31R77qKVttuFHgKwVsMowhT27p33KgHo283txDApPiEEitONpo9UqVjjxQnfZyyjkr6xkJrS5AsmWVUk0PwmPT3PxBFZPY= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Session Mounts + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-streams.RequestSchema.json b/docs/docs/reference/api/query-session-streams.RequestSchema.json new file mode 100644 index 0000000000..1cc9e0dfd0 --- /dev/null +++ b/docs/docs/reference/api/query-session-streams.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"is_alive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Alive"},"is_running":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Running"}},"type":"object","title":"SessionStreamQueryRequestModel"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-streams.StatusCodes.json b/docs/docs/reference/api/query-session-streams.StatusCodes.json new file mode 100644 index 0000000000..e8de36df72 --- /dev/null +++ b/docs/docs/reference/api/query-session-streams.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count"},"streams":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"flags":{"default":{"is_alive":false,"is_running":false,"is_attached":false},"properties":{"is_alive":{"type":"boolean","title":"Is Alive","default":false},"is_running":{"type":"boolean","title":"Is Running","default":false},"is_attached":{"type":"boolean","title":"Is Attached","default":false}},"type":"object","title":"SessionStreamFlags","description":"The nest as primitive bools (alive ⊇ running ⊇ attached).\n\nresumable (alive & !running) and reattachable (running & !attached) are\nderived client-side, never stored."},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"}},"type":"object","required":["id","project_id","session_id"],"title":"SessionStream"},"type":"array","title":"Streams"}},"type":"object","required":["count","streams"],"title":"SessionStreamsResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-session-streams.api.mdx b/docs/docs/reference/api/query-session-streams.api.mdx new file mode 100644 index 0000000000..d225fe737c --- /dev/null +++ b/docs/docs/reference/api/query-session-streams.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-session-streams +title: "Query Session Streams" +description: "Query Session Streams" +sidebar_label: "Query Session Streams" +hide_title: true +hide_table_of_contents: true +api: eJy1V01vGzcQ/SubOQQNsJZco6c9VXFSxEiNqLbSiywY1HIkMeWSG34oVoQ9F+jP7C8phtzV7kq27CaxL16Rw8fhmzcz5BYcW1rIpnCN1gqtLKTt5ywFXaJhTmh1wSGDzx7N5tbG+VvrDLKCVhj87NG615pvINtCrpVD5eiTlaUUeUAYfrJa0ZjNV1gw+ioN4TuBNozXuIKHlWrzYQHZdAtuUyJkYJ0RaglVuhtRXkqoZik44SQN1J4nFxyqFIS9ZVKs8V60udYSmToKd2GTUQCIYMYrRR58B9xVDVFVaWOm558wd3BwiOvA7h/E+FWk91JzlFDRWiJcGOSQOeMxDNhSKxuJPDs9pX8cbW5ESdwTrM9ztHbhZXJVG0P6raHKtY+L6kMI5XCJpnOK82BRpdCoJNuCcBg/+mAx3v0op7DQpmAOMvBe8A5wjG1ukDnkt8wd00oHhTOHJ04UeDRE5xE2GQXXfcmfY5OPEbbehKPEZ9jkTYStN2nomm8eya593p9C1utNnXANXz90l4at3S4NYT90l4au3S6l0ZSXt/9PnOO4qsboF7R9jPuL1kKGgkzZu2BeBlG0hWzBpMV+MWqHmHMsX1FRCGPxEN0869TDvbJ1T81LWw8auH4NPAbR1Ln7QVpHH3GksTuAeWr5/C2wme6VwskKE4XWJcwmpRGFcGKNCblgk58CRcm///yd1GcN343LrwY36kYZtL5gc4mN+cvkRW39KmGKJ5QZtCDaNEAvkxc7nIQZvFEcjVgjT3IpULkTKzimicI1msQ6bZAPSBOulkQrdMa5oMMwOe6EmHrBPjHHRD8h3CqFAh17DvxLwiX/vfmerj7xJmbHPVFvG+EUQiZ28raXgIe3hKgQaEGZMWzTVVLduR7bNzbDttM9tJVt+u6ukVcp/HJ2dtir/2RS8NCJk7fGaPPtjZqjY0Ieab5S573ZJwSoafbV7GHuftfRwSAvuzxW/y7RWrbENhAPmwYykgnNUiVRpY+XkKZkhAFqd+6uA3NQIs6Jyzv3aGCJm+h+bdeJbBuiGKGHqXgTQ3CsZr2bTMYHgFEffWGE62DSdIzr3QW8QLfSdEMvtSXgkrkVZDCsE8AOa20Oww0+ZIZZo7Eh0N5IsmWlCFGOP1fOlTYbDtEPcqk9H7AlKscGTETDGWHk3gi3CSCj8cV73LxDxtFANp11Da5JnFFufbNdiFgp3iP5pVhBv0ferbQRX6OGKNTkUlxFrJDsr9pHx9s7VpQS9x8RrYDa1hdrWLeT1TdooRa6K6ZROG8yGl8c9I/eFCUmy4MOG+fDNKR7TLYEQgpYhLQEh6z4dTdDKqKwxG1OBz8PTsNdRFtXMNXZ4iEd9PzcsUtiH5aSiZCOwattLZFpQ5jtFLA0PvRI7ivSUzaF7XbOLH40sqpoOM5n01kKa2YEtbkQ9LQJEkniL9w0yabcSchaMpc+RnyviJH04opRnmPpjtrOOpIff7ieQArz+vFZaE5rDPtC2cy+QAZA71gXDplt49gWJFNLT3Ung4hJf/8BHBwr9Q== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Session Streams + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-applications.RequestSchema.json b/docs/docs/reference/api/query-simple-applications.RequestSchema.json index 558a549f6a..5a594d6bc9 100644 --- a/docs/docs/reference/api/query-simple-applications.RequestSchema.json +++ b/docs/docs/reference/api/query-simple-applications.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleApplicationQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Supports `slug`, `slugs`, `flags`, and `meta`. `flags` filter both artifact flags (`is_application`, etc.) and revision flags (`is_chat`, `has_url`, etc.)."},"application_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict to specific applications by `id` or `slug`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived applications. Defaults to `false`.","default":false},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"SimpleApplicationQueryRequest","description":"Request body for `POST /simple/applications/query`.\n\nReturns one row per application with the currently resolved variant,\nrevision, and `data` merged in — the shape most clients want when listing\napplications for a dashboard or invocation picker."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleApplicationQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Supports `slug`, `slugs`, `flags`, and `meta`. `flags` filter both artifact flags (`is_application`, etc.) and revision flags (`is_chat`, `has_url`, etc.)."},"application_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict to specific applications by `id` or `slug`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived applications. Defaults to `false`.","default":false},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"SimpleApplicationQueryRequest","description":"Request body for `POST /simple/applications/query`.\n\nReturns one row per application with the currently resolved variant,\nrevision, and `data` merged in — the shape most clients want when listing\napplications for a dashboard or invocation picker."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-applications.StatusCodes.json b/docs/docs/reference/api/query-simple-applications.StatusCodes.json index ed38d0ed6d..9f9274559a 100644 --- a/docs/docs/reference/api/query-simple-applications.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-applications.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},"type":"array","title":"Applications","description":"Applications with their current variant, revision, and `data` merged in."}},"type":"object","title":"SimpleApplicationsResponse","description":"Paginated list of simple-application rows."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},"type":"array","title":"Applications","description":"Applications with their current variant, revision, and `data` merged in."}},"type":"object","title":"SimpleApplicationsResponse","description":"Paginated list of simple-application rows."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-applications.api.mdx b/docs/docs/reference/api/query-simple-applications.api.mdx index 02ff48ec1f..1d7cb0a5b5 100644 --- a/docs/docs/reference/api/query-simple-applications.api.mdx +++ b/docs/docs/reference/api/query-simple-applications.api.mdx @@ -5,7 +5,7 @@ description: "Query applications with variant, revision, and `data` merged per r sidebar_label: "Query Simple Applications" hide_title: true hide_table_of_contents: true -api: eJztWt1u2zgWfhWCVy0gO07apjO+2kzSotnptFkn7QDrGDEtHVtsaVJDUkm9gYF9iH3CeZLBIfVry6pjp8BgkdzEog4/kofU+fkO76llM0P7Q3qSJIKHzHIlDR0FNAITap7gM+3Tf6WgF4RVZMgdtzG5ZZozaQOi4ZYbrmRAmIzIOGKWjckc9AwikoAmWt11r+W1vIq5IdwQGwMxMUuAzJWxJBQcpDXkjklLpkqTiJl4opiODFGacHmr/LjXMuHhV9CmT4CFMeKSkGnNwZBxNpsbHo0DMs6n5B/LaV3LZ58G7wOSMM3mYEGbgJgwhjkzzwkTSs4Mj8DNkGnLpyy0ZMpBRKZL3iqNL66lsToNbaohIn843diYWaLBplqaop8hSopFQFID13J88fHyihxUlXjg+o67NKAqAe0azyPap679xvB5IuCm2oMGVMMfKRj7i4oWtH9PQyUtSIs/K4IHXwxu3D31K8NficYxLAezIuse5eLjlPaHq2JT4c7HZgFubjZC2UUCtE8nSglgki6DokmmQtDlKKCWW4EN54ZUTiBdBggMt0ykzCq9D+ybAsSDGsmTBOw+kJcZhAecM8lmEO0D+FsG4QHD1Fg13wfv1CN4OCH2wnovcqBYqa/7IL3D/tkSVQR7LRD75+q3Ybyf8hHAg00BogkL91rm2xwjW2rM9jpsp9h/GdCYmZtUi52h3jFDPmmRQ3nrvhfapYfIAGMmIwG7f6qI+C7DWC6DXE5NvkBoaSl36YxixVg43/TW2al1fARas2Asijj2ZOKibhO3mLexmsuZa2mGoSHXYSqYfvaeTUD80yjZOZdJap/T1UVVl78iTNc00Ka7K794OgfLdlxqZV1ZC5cWZrgZ1YHnk3pLVUPf08fbVLSrI7in3MJ8u05Ma7Zo1Uq968M0+htqchlQI9LZlvpaw7jEvhnGitKzZa6jbb+6S4f68C+lEbQe7Z1Yq/kktUCmXFjQXXKZJonS1pAxLgajK7co/OEihDzAwg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1WGaMC4q1JYLAyPqwgBdqxEH7no/xqsYw8ZgRO/upkzDJ5WsVtjs3g9GY3/MnKKVjsYF82U/86+wzKOlMAc27KJ4kjmvvnYKwfDiepyEIVjCpV12XIlsqAQa0Kn/c4OF9aZUsVsMx+yWDqj964Wi/G3b7mjCxDzDg8OAOkz89xczq2IU sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-simple-evaluations.RequestSchema.json b/docs/docs/reference/api/query-simple-evaluations.RequestSchema.json index 7dc3b5916b..9cffaba272 100644 --- a/docs/docs/reference/api/query-simple-evaluations.RequestSchema.json +++ b/docs/docs/reference/api/query-simple-evaluations.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"SimpleEvaluationQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationQueryRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_traces":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Traces"},"has_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testcases"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"SimpleEvaluationQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-evaluations.StatusCodes.json b/docs/docs/reference/api/query-simple-evaluations.StatusCodes.json index 95a62882fb..dea9dfd885 100644 --- a/docs/docs/reference/api/query-simple-evaluations.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-evaluations.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluations":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},"type":"array","title":"Evaluations","default":[]}},"type":"object","title":"SimpleEvaluationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluations":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},"type":"array","title":"Evaluations","default":[]}},"type":"object","title":"SimpleEvaluationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-evaluations.api.mdx b/docs/docs/reference/api/query-simple-evaluations.api.mdx index 21f269851d..f6ff13d31d 100644 --- a/docs/docs/reference/api/query-simple-evaluations.api.mdx +++ b/docs/docs/reference/api/query-simple-evaluations.api.mdx @@ -5,7 +5,7 @@ description: "Query Evaluations" sidebar_label: "Query Evaluations" hide_title: true hide_table_of_contents: true -api: eJzlWltv2zYU/isBnzZAjh03l1ZPc5MU8ZYtWZJ2wAwjoCU6ZkddyksSz9B/Hw5JiZJ1qWOnQLHmJdHR4Ufy8PDw46eskMQPAvkTdP6ImcKSJrFAUw8lKeH6aRwiH31RhC/vBY1SRu5JydNDnHxRRMj3SbhE/goFSSxJLOFPnKaMBtqx/1kkMdhEsCARhr9SDl1ISgQ8OUzdMl5ezZE/WfeaMz3Ydgcq7hl9JFUXuUwJ8tEsSRjBMcq8whQrxlA29ZCkkoFhLPYuoX3mARQO5I5gI4Ng4AKWCBLuAndqEAzcF0XUToP7UwPYseFgsePYDIKBEymjche0Ww2QeWiB9Uy5XeCt8C6wnqzGsJCSCCmI3A3zLgexoDaJE74b7LmDscCBEjKJdgI9NRAWcKEiHO+Ed6ERLBxWMtkJbQQAWeblTsnsMwkkck6uOt2oGNZy+UHXgjowgNSqBA5DCo0xu67Ui00GLCSn8YO2NMOggPJAMcx/usQzwn4VSdwbx6mSP6P1CZXnveaMarPvCtqdmTyKiMRbTrU0L2uhsSQPhFc7jmZVSzlCX4vHB8W6w+GtEJUk2qwR5hwvO6NSbfqyiP4Okcw8FOOouarW41XD+APaZh4KiQg4TevH2eZQZyUIqKnh2iLasK1Demie8AhL5COlaFgKwdejNw5F5x681ce/24l6GzbvwCcah8kTDKjjsI7JExHNp0R9NiGWpCepjm/HAhjIzEMJC18b/MpAQo6Q502h7Sp0DflZYzIatRyZjdtyDeVSt4Z585Dw7rGRWEXA+LAISBwaG2SsfZh2xkDDQ0LGkvBHzLYe8TgHyDzEsWzec/XyU8O5gbZdaftXkYsNqfrSdL8xbBdl0BKoL+VAmyRXRBtEmsTCpPdwMIBflVqAblUQECHmiu3dWGfkbUuag0SZRmthd3M41R6wvHOsmET+IPNQmb/7pUqyPddeOxrqfLo0gjlmgqzz6y4Ay6GbIRyn7oKwvLkZouDRXQiGK7eMoeDOnWMwXs0QBV/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V2ytdAnuOhv8h8+nD8BjrT6Q4YsOZklITEDW0oqZgVpijArcAm/3MDl77ICl42zn0vJtbwoT5QVylzOq2zlElh5YTEVlZemOaW8xCWI8gKb7nG5Zpd9yVMT2X06313lJZYVm8ekEXk1g9dHs+PD7tHJwUn38Oi4352+mtFun745fjU7PoYZHJPKa076akP6vf5ht3fS7b+5OzgaHB0M+q/3eicH/5D88aXNxr6hbNaJ7HWklz1wlF4v8seIXvqY0EtMHJlFxTAyNGu9M7y+rDin9BWGZKAmAqUL13xNvLVdlG8eFEALE5CJYrD4LfumdEEjvb2DvR4W4ZZ2+T/XRF0EWEtuuF2FIW4/5hCYIGx6tHLBYURscCDlNL+7GGGYm2MsGYzIajUFyT4KniRYbL8fjMYeeQARwBQdNsLZn6d7f0X+Zcs0yIaqa6I1mnNt9/ra4YVBx9YYUspi1Wo7LoS766vbO+KRqfvp0yLysY6AR4zi8EgGBNdYnL1gmLIV4RDeazxvBsQy8d9/1bnT/A== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-simple-evaluators.RequestSchema.json b/docs/docs/reference/api/query-simple-evaluators.RequestSchema.json index 7df5a0ec78..60eb1541e9 100644 --- a/docs/docs/reference/api/query-simple-evaluators.RequestSchema.json +++ b/docs/docs/reference/api/query-simple-evaluators.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleEvaluatorQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (slug, slugs, flags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to these evaluators."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators.","default":false},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleEvaluatorQueryRequest","description":"Body for filtering evaluators via the simple surface."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleEvaluatorQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (slug, slugs, flags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to these evaluators."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators.","default":false},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleEvaluatorQueryRequest","description":"Body for filtering evaluators via the simple surface."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-evaluators.StatusCodes.json b/docs/docs/reference/api/query-simple-evaluators.StatusCodes.json index 150fc3f195..c3be416d6c 100644 --- a/docs/docs/reference/api/query-simple-evaluators.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-evaluators.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},"type":"array","title":"Evaluators","description":"Matching flat evaluator records."}},"type":"object","title":"SimpleEvaluatorsResponse","description":"Envelope for a list of simple evaluators."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},"type":"array","title":"Evaluators","description":"Matching flat evaluator records."}},"type":"object","title":"SimpleEvaluatorsResponse","description":"Envelope for a list of simple evaluators."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-evaluators.api.mdx b/docs/docs/reference/api/query-simple-evaluators.api.mdx index ab291b5d0d..598c40ce43 100644 --- a/docs/docs/reference/api/query-simple-evaluators.api.mdx +++ b/docs/docs/reference/api/query-simple-evaluators.api.mdx @@ -5,7 +5,7 @@ description: "Query evaluators via the simple surface with filters and paginatio sidebar_label: "Query Simple Evaluators" hide_title: true hide_table_of_contents: true -api: eJztWltvG7cS/isEnxJgZctO7LR6qusksE/T2LWdFKgs2NTurMSU4m5Jrh0dQ//9YMi9ai/WrUBw4LzES8185MyQQ35DPlHDJpoOhvTDAxMJM5HSdOTRALSveGx4JOmA/pGAmhPIJcgDZ8RMgWg+iwUQnaiQ+UAeuZmSkAsDShMmAxKzCZcMUfZu5a28ApMoqUkomCngiAI/UoEmryIJJAZFmDI8ZL5xgNzoWymYAW3IA1OcSWPBFTxwzSNJZqAmEBAuTUTuA2bY/es9cg0yIPdPi3tiolspuDaECVE2gktrQ6yib+Ab1ADb4Ky9ZMaAkrdykvAA9qhHoxiUteU8oAP6D0rdOQfcFajUowr+SUCbX6NgTgdP1I+kAWnwTxbHgvsWY/+bRtc+Ue1PYcbwr1hhD4aDxq8c0irK+UVIB8NloVDY6LULcH1X6rQqaeYx0AEdR5EAJunCy5tkIgR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NMTFNe/SL5aQbP9fTAau4vfBHbRaJwxUeYYfqfLNNwJ3TNxE8R5Yh1z5RoBEcL2OPN9agiQdtlxITRdX93cYg9P3LP4uXGJWJJHiKfkEQ+weWMPvY3LNm1PmBMxTSDyD7DFhH//A7kfuwQ= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-simple-queue-scenarios.StatusCodes.json b/docs/docs/reference/api/query-simple-queue-scenarios.StatusCodes.json index f9b82da46c..135b38b2d1 100644 --- a/docs/docs/reference/api/query-simple-queue-scenarios.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-queue-scenarios.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-queue-scenarios.api.mdx b/docs/docs/reference/api/query-simple-queue-scenarios.api.mdx index 48aba00eec..d2d1bf452a 100644 --- a/docs/docs/reference/api/query-simple-queue-scenarios.api.mdx +++ b/docs/docs/reference/api/query-simple-queue-scenarios.api.mdx @@ -5,7 +5,7 @@ description: "Query Simple Queue Scenarios" sidebar_label: "Query Simple Queue Scenarios" hide_title: true hide_table_of_contents: true -api: eJztWutvEzkQ/1ei+QTSpklDH7CfrhQQPTha2sBJF0WVs+s05rwP/GjJRfu/n8behzdJN5sqRYDgS4k9D894Zn5jexegyI0EfwSvbwnXRLEkljD2IEmpML/OQvDhq6Zifi1ZlHJ6/VVTTa9lQGMiWCLBg5QIElFFBUpaQEwiapk0vWYheMBi8CElagYeCPpVM0FD8JXQ1AMZzGhEwF+AmqfIJ5Vg8Q14ME1ERBT4oLWRopjiSPARBXfOQsiysZVHpXqZhHMUsiw+SGJFY4VTJE05C4xVvS8yiXGs0p4KtFkxKvGXWbxhiufnU2NWnYCF9dnmxWdeSRFrzgEXXpiDhnigJRXXuxP6SVLRqUmWddFM0Uhu9nrmFQRECDJvo1NCVnElky80UM7mXZkgMlt4VYTQRwyvNaIzjA5L07QVU25i2CUgYchwnwm/qJGuuHaSJJyS2FWeewJH1ouBgIlAcyKevCcTyv+USdw9i1OtnsKy3a57lohhxUlNvn1jbESWX9/WYW5qRBV5oKmOXfkIixW9oaKuOJrUR1wPbfLHG82b3eGVSdaCaXN21Vm38+hf6EnMJkWUbvSYBzTWEQJCSuPQjphaiAVY6Di2Q1IHAZVY+6eEcS0oMgqRCBwKSBxQzmkIzhIqfLmyi1if7mZueVPvrVXfb63t9+mqMCHzTNCJW8LXenxtRC5jQyHAEbbBOZXY9ms+K0UjF4uoVCRKW2JRSBTtIlNzUpdSXRVbg5KrrL19w0pfZkJjh0h7qeMcaK3cx8dZq9EG2HdQtwnRnWzJwboBz+9YHCZ3uKQGQI/pHZVqp+H3wYrMPEh4uGvh51Zk5kF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G1X3o8mfSnpYqDDPqDo27/tDt4NT48Hh4fDgcvD/qnh/+Q8kPFZDfhNK8v2topeyxoa6bksv8RVi0VEGmhULfaNN/X0di03XaVSULuZzm1lDBLO2TzVz82cW0RFsPayBywzuj6kmzGg9IUpgjqmoiYnhYzjW5ZOrr5icVU7psEQRRQ/49splTik/7B4UEfhzCuJHc1iYiGiFRSNzvVGH17EafM5Aej3DoJVhNig1Va4iPIsPAtTfHDGxuzpg5ZYrgbTsh6PacSPgkexzhs54eTqUPuqWB0juacrInHJP7fS26AtrTMci15dpOkg+ed/EqgrH0aqAKMUlj64i/ikH9hVfwKyCTLZRoF18n0mZXUNSktZ9/K8Bh+LcfIdSFStbTTQiK4vrodE4fMk8+D/NBDHkEf8AzSB6tqGNkPn/D7IRxbE06DO41JeUgsJv77H2Lbis4= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-simple-queues.RequestSchema.json b/docs/docs/reference/api/query-simple-queues.RequestSchema.json index 54cfbb6cbe..4eaf6c050a 100644 --- a/docs/docs/reference/api/query-simple-queues.RequestSchema.json +++ b/docs/docs/reference/api/query-simple-queues.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kind":{"anyOf":[{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"queue_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queue Ids"}},"type":"object","title":"SimpleQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueQueryRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"queue":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kind":{"anyOf":[{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"queue_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queue Ids"}},"type":"object","title":"SimpleQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-queues.StatusCodes.json b/docs/docs/reference/api/query-simple-queues.StatusCodes.json index 228a1edcf2..b984f73443 100644 --- a/docs/docs/reference/api/query-simple-queues.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-queues.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},"type":"array","title":"Queues","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"kind":{"anyOf":[{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"settings":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},"type":"array","title":"Queues","default":[]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-queues.api.mdx b/docs/docs/reference/api/query-simple-queues.api.mdx index 53d1bf619f..66b74ef956 100644 --- a/docs/docs/reference/api/query-simple-queues.api.mdx +++ b/docs/docs/reference/api/query-simple-queues.api.mdx @@ -5,7 +5,7 @@ description: "Query Simple Queues" sidebar_label: "Query Simple Queues" hide_title: true hide_table_of_contents: true -api: eJztWllPG0kQ/itWPe1KYzAORzJPSwJR2BwQILvSWhZqz5TtTuZKH4BjzX9fVfec9tgMlomSKLxg91R91V139XgOik0kuAM4vWWBZorHkYShA3GCwnw788GFrxrF7EbyMAnw5qtGjRIcEPhVo1QvY38G7hy8OFIYKfrIkiTgnuHf/SzjiNakN8WQ0adEELriKO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qc7NsY+yVBdAYEkToZYDyZSNz81mchzy1Iy7vMIN/txrehE2ZKnwa6Kfsu631kubfSoLm8Yg1z4Gb6Wzr5hZ6GrN6Chr/aE7/aEz9Ze0IW/YTUNCf2+/3l9sPfLOC+KXM6p1QPbd578FExHqxpIgSxV3v6mOvkaHUwv4vtAs1dVt400Ux5O5OS3VSYYbWoMUbnip4av6GbIIkXfpBdDT11X4FZOo5XZMv7ZhauMhnZxi4/k6v4SnlE9oRWm+LEHsE6/3hzdXWxBGj9o+4YprnVse7UKQgzRDWN6c1mEkuCTZiaggu79hXnrm0k7ZrXnlR1o7hFKr6Gc9AiIEGWcHPA9utUqUS6u7uod7wg1v4Ou8FIsR3GreCIMDwtuJoZkOOLs7c4e4PM0MVwVBUYkF9aT6uLFafDEv4WaV32dg7HWk1jwb9a96FTpiXZWWQQ8vjL8l3t6T2jTdbeveaNsbJpVHZUijZA6V11ExfD9kZQKfeLFy/wbMKeH0wO97sHR3tH3f2Dw353/Gzidfvei8Nnk8NDNmGHUH2fMmw3ZVSm5bY6itcc7VVUXlO0nbSYh/N8C/1ef7/bO+r2X1ztHbgHe27/+U7vaO9fKNPmOhmb/druNctrvSI11fJOmUZ6eRropYYmJnGVJY6NN3eOL86Wzr72iBiXeYZgctc0j+lga3FShgdlxNDwLShk4R/FE6IHCjqrprezt9OjIYpXuoCUKpoDfKHplEUOcdhuEjBuWNasaZ7F/hBs7EPRRrb3yxmd/5RYwh3CfD5mEj+KIE0ztxAU0CMHbpngbEzWMiXYNA/tOXzGWU6gkeoaJibxQNtQXkhMxCl2xrHnYaLWyo4qRHZxPrgCB8bZjzHC2Kc5gt2Rx7M7cIEcLLE/8HDndmwOAYtuNOUSFywm/f0HiSCG9A== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-simple-workflows.RequestSchema.json b/docs/docs/reference/api/query-simple-workflows.RequestSchema.json index 7e92294d23..3db2342e84 100644 --- a/docs/docs/reference/api/query-simple-workflows.RequestSchema.json +++ b/docs/docs/reference/api/query-simple-workflows.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleWorkflowQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleWorkflowQuery"},{"type":"null"}],"description":"Attribute filter on simple workflows (slug, slugs, flags, tags, meta)."},"workflow_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Workflow Refs","description":"Restrict results to workflows matching these references."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include archived workflows."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleWorkflowQueryRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleWorkflowQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleWorkflowQuery"},{"type":"null"}],"description":"Attribute filter on simple workflows (slug, slugs, flags, tags, meta)."},"workflow_refs":{"anyOf":[{"items":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"array"},{"type":"null"}],"title":"Workflow Refs","description":"Restrict results to workflows matching these references."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include archived workflows."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleWorkflowQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-workflows.StatusCodes.json b/docs/docs/reference/api/query-simple-workflows.StatusCodes.json index b0ceba5d47..facad4f066 100644 --- a/docs/docs/reference/api/query-simple-workflows.StatusCodes.json +++ b/docs/docs/reference/api/query-simple-workflows.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in the response.","default":0},"workflows":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},"type":"array","title":"Workflows","description":"Workflow artifacts each merged with their resolved variant and revision."}},"type":"object","title":"SimpleWorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in the response.","default":0},"workflows":{"items":{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},"type":"array","title":"Workflows","description":"Workflow artifacts each merged with their resolved variant and revision."}},"type":"object","title":"SimpleWorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-simple-workflows.api.mdx b/docs/docs/reference/api/query-simple-workflows.api.mdx index c125e9f980..b30af24fc0 100644 --- a/docs/docs/reference/api/query-simple-workflows.api.mdx +++ b/docs/docs/reference/api/query-simple-workflows.api.mdx @@ -5,7 +5,7 @@ description: "Query Simple Workflows" sidebar_label: "Query Simple Workflows" hide_title: true hide_table_of_contents: true -api: eJztWm1v2zYQ/isCP22AnDhuk3b+NC9tkawvyZy0BWYYAS1RNluKUkkqqRfovw/HF0m2Xuq3AsOQfEgi6u4h70ge+dzpESk8l2g4QZ8T8TViyYNEUx8lKRFY0YRfhmiIvmVELO8kjVNG7h4KOR8J8i0jUv2RhEs0fERBwhXhCv7FacpooCGOv8iEQ5sMFiTG8F8qoANFiYQnh6j1+PIqQsPJukzE9DDbBai8q/S5KqmWKUFDNEsSRjBHuV808YwxlE99pKhi0HApvVEFJvcBmNxjlmGViH1gXxcgBlRymqZE7QN5YyEMYIw5npNwH8D3FsIABplUSbwP3rlBMHCM7YX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p1nhaVZ3itoPEYqFxFcSUeIvUUTFAkonTC0hmcoEpFMTDuUUa1BE4gC5yW+TfJZFtjjXqeeXo1EzufyRcBaYBPcbIXSyc8fMckAVYbwn1csTv/Z2m/0767b5u6T80CqSi2aNtkqtpSSLStGuW1QbA93BW3cQa/HqUaIJnvpagWl45AJsCcWdFq+VpYCpto0ZvpWrbQPnIuOhblO8Ni7oWyKXd3c3DUCzPuoLQ5cukFlRqLquI6qWCXzSlyYSkFOilniMj03J+bhI+h/rT/6whyUVDzqoT58Mz8HHJGXazeZxqVQqx8fHNDvyeZIFRzqVSo4IM4IzwPAzwdRKg5zfXP1OV+amjcfTWVVAnzBmvdXFCh+RlP1OYVwmwYLPM7VMBPvHFQ0YzN6wKW1JWPeT8iPFN18JzHP9o8OijrFer9C10rXCQ9FW1BCKlqIgULS47H7RoHP1xZNJvpfSOplegdPJ8eK5zHUXTTZvXY7JpKFLRJ1VNo9Flrh8dHyjbClSuCWkTcfakpfNjZaJw4IdlvvQfoIxdS2z5ucJ0wo7rStWn+G0wC9C8tNpePZycPrq5NXg5enZaDB/EfqDkf/z2Yvw7IyE5Eyvs2Yh3UyiVsx2RWs8Go5eDoavBqOf705Ox6cn49FPR8NXJ3/hsvbcJ2NKyJsNrigOD4v6bq14W9Zih66WOsx15AqTauDSBQiCzm+uGkdU7RUcAsTXMc/tE/0ae2ubttyrwGYjfQRgRUn0S/EGIlbpqeHRydEQmiB+RCSudNEZc9bymHYnQ2Q9TjlhcSWFYsLRFJtwhKtVSM98hQyxdQmxazzFT09Q5/0geJ5Ds3k/ns7sdWYONpvOivSKXnRf6MpF9lgN9BEB4jwz0WXtxIQwZzTOfZ9qVt8tO6uE15vr2zvs4bn9MDrSGxsL8ghHB3nEYwzLTNtEBx7d9oQ5iRcZHHJjbDDh51+i6p+M sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-spans-analytics.StatusCodes.json b/docs/docs/reference/api/query-spans-analytics.StatusCodes.json index b6e859aa50..59c825be8c 100644 --- a/docs/docs/reference/api/query-spans-analytics.StatusCodes.json +++ b/docs/docs/reference/api/query-spans-analytics.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`.","default":[]},"query":{"description":"The resolved query used to compute the buckets.","properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"specs":{"items":{"properties":{"type":{"default":"none","type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`, ordered oldest to newest.","default":[]},"query":{"description":"The resolved query used to compute the buckets.","properties":{"formatting":{"anyOf":[{"properties":{"focus":{"anyOf":[{"type":"string","enum":["trace","span"],"title":"Focus"},{"type":"null"}]},"format":{"anyOf":[{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"properties":{"operator":{"default":"and","type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"conditions":{"items":{"anyOf":[{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},{"type":"string","enum":["in","not_in"],"title":"ListOperator"},{"type":"string","enum":["has","has_not"],"title":"DictOperator"},{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"circular(Filtering)"]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"specs":{"items":{"properties":{"type":{"default":"none","type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-spans-analytics.api.mdx b/docs/docs/reference/api/query-spans-analytics.api.mdx index 7d3ac72c8e..b8f21b02ba 100644 --- a/docs/docs/reference/api/query-spans-analytics.api.mdx +++ b/docs/docs/reference/api/query-spans-analytics.api.mdx @@ -5,7 +5,7 @@ description: "Query Analytics" sidebar_label: "Query Analytics" hide_title: true hide_table_of_contents: true -api: eJzFWUtz2zgS/issXGZnirG8qTnptE7i1Hgnib2xJ3NwuWwIbIuYgAADgLa0Kv73rW6QFChKNO1kai+2SPbjA/qJxoZ5vnRsfs2uLBfg2E3KTAmWe2n0Wcbm7FsFdn3rSq7dLddcrb0UjqWs5JYX4MEi94ZpXgCbs3sjKvwqd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w+OHJwc9YMy/uT7T+69pdHUjCS6y16vFutQ7oOHOmD5H+0Xn0vB2KBmf++3vX1fHbR1OVORir61OgjbTUBnnBSShTTt8axqQ577iQyyxrdGwZgXCc3Q6NNzulrNmIW/jawqfF1Pnc5XNBWWzWQ0mPZnr/aCqT5HUW//nbT1dc8Y4vbCZQxxeyUyhji6tBhDXl8zjFpgczswhrgZ/69pL/DBCCSuh35ZEwyrmumAcyjihfZSOEppQ/nk+PSMVtV/BPikTg== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-trigger-connections.ParamsDetails.json b/docs/docs/reference/api/query-trigger-connections.ParamsDetails.json new file mode 100644 index 0000000000..10f3c9671a --- /dev/null +++ b/docs/docs/reference/api/query-trigger-connections.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"provider_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Key"}},{"name":"integration_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Key"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-connections.RequestSchema.json b/docs/docs/reference/api/query-trigger-connections.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/query-trigger-connections.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-connections.StatusCodes.json b/docs/docs/reference/api/query-trigger-connections.StatusCodes.json new file mode 100644 index 0000000000..c375bf37fc --- /dev/null +++ b/docs/docs/reference/api/query-trigger-connections.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connections":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},"type":"array","title":"Connections"}},"type":"object","title":"TriggerConnectionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-connections.api.mdx b/docs/docs/reference/api/query-trigger-connections.api.mdx new file mode 100644 index 0000000000..3cd7b719fd --- /dev/null +++ b/docs/docs/reference/api/query-trigger-connections.api.mdx @@ -0,0 +1,69 @@ +--- +id: query-trigger-connections +title: "Query Connections" +description: "Query Connections" +sidebar_label: "Query Connections" +hide_title: true +hide_table_of_contents: true +api: eJztWN+P4jYQ/lfQPLVSDuiqT3kqZXs6undderB9QQgZZwBfnTjnH6ujKP/7aewkJGThdtFeX9qnFfHMN+NvPtszewDLtgbiBcy12G5RG1hGoHLUzAqVTRKI4bNDvV/ZsL7iKsuQ06KBCHKmWYqW/OLFATKWIsSQa/UoEtSrv3EPEYisQoEINH52QmMC8YZJgxEYvsOUQXwAlu3vNx7H7nPCMVaLbAtFVH/JnJRQLCOwwkr6MC1D9e5wDwVZljmIzOI27OJfSGNyjFZmsqQYJleZQUOoN8Mh/UnQcC1yMoQYZo5zNGbjZO9jaQwRcJVZzKzPJc+l4B538MmQz6GRaa6pUlaECFy54FQm6RlADccsx94iggQ3zEkL8bDw0eqCxgcQFlPTBd9Ir5MmOyxJBLkxOW2ZdvhbKyWRZU0CG5Q+DQNcaO4k0z+8Z2uUvxuVvbl3Nnf2R9pQQFHrT8htqxCn1lB0rC+U8a3fJbn8F3Y7LzebomVXbrZ7NCrVtQKn6/aXJkffYuStk98gJKpV+xwvpjXbX1ZB2/dlpH4gMulYaWQWkxWzl4iLYKN0SjaQMItvrEjxIvw4wPZGPi2XJ98jyEOALYMkKPE7BLkNsGWQiq71fiWSZ8ZxTiTPIuvXfW+SNPl61SgVW3WUirBXjVLRVUcJ79x1z9UfzBen/RpdB3XbgCgiMNJtr4WakW8RweuRFphqtSNxFw8zl1ILxFWaKyMUNO/I0PZUbcadyDzkaXfxBOrZ1iCiA/L/hftaF+4tCxeuscy6E9LaPYzGRGjkduW0vFajH0uM3oOW1G+eJNoRzrjurmYhvy74UyjH9nTR7abb0uuK9RizwWSoQrMXPLZ9L9qHqTvVoiDHn29uuo3tX0yKJGj+N62Vvr6rTdAyIS90plLx1upLjszyPD/vVUjQN0hme+mEf0Bj2BaPZJ839WT05rTqbxFSO5nXd0Upf26/NGA6RRkTl1/sk4VrSoe4CemXdg2xHEsUKnSeittQgksqeTefTzuAQR9tYfxJ81dv3BoiU7Q7RZNmroz1Q6XdQQyDcuQ0g8aIMqgGOIP6sRo7/XmGAcuFr3L4ubM2N/FggK7PpXJJn20xs6zPRDBcEgZ3Wti9BxlNJ3e4f4csQQ3xYtk0mJE4g9zaZnWJWC7u/PEsx8+RszulxT9BQ+XwuQtehS/9RjUrP/LJ9UbTCZxS1lqiU8S4F00VyS9DdLLt427phUv9GQKLLP2lXqGSE4chzLD/U3/on0tlbMqyRoininbSOpQ0kCoHuWTCn5vyng31XEBVT2gPnVE5lC8j2JEA4gUcDmtm8EHLoqDPYZ2KlAjD1rIxtvvH9/SKfGTSUTZeDWdcuv8fOHot6YcW5OaVEFWVoxSC+4hzzG3Dq3OnEUqt7On9bA5F8RVXF/4x +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Connections + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-deliveries.RequestSchema.json b/docs/docs/reference/api/query-trigger-deliveries.RequestSchema.json new file mode 100644 index 0000000000..367c210eae --- /dev/null +++ b/docs/docs/reference/api/query-trigger-deliveries.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"delivery":{"anyOf":[{"properties":{"status":{"anyOf":[{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"TriggerDeliveryQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerDeliveryQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-deliveries.StatusCodes.json b/docs/docs/reference/api/query-trigger-deliveries.StatusCodes.json new file mode 100644 index 0000000000..75385a8f84 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-deliveries.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"deliveries":{"items":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"data":{"anyOf":[{"properties":{"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"is_test":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Test"}},"type":"object","title":"TriggerDeliveryData"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["status","event_id"],"title":"TriggerDelivery"},"type":"array","title":"Deliveries"}},"type":"object","title":"TriggerDeliveriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-deliveries.api.mdx b/docs/docs/reference/api/query-trigger-deliveries.api.mdx new file mode 100644 index 0000000000..6e005dd9f0 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-deliveries.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-trigger-deliveries +title: "Query Deliveries" +description: "Query Deliveries" +sidebar_label: "Query Deliveries" +hide_title: true +hide_table_of_contents: true +api: eJztWFlv20YQ/ivCPFOH5SvhUx07QISkiesoKVBBMFbkSNpkeWQP26rA/17MLk9JphV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1n9Ughbpz5uVy97JcuKtP/2UCxLmgLknfj8e0WoIuPZmDYT5POTX0LFqFeJrQpSxNFmCnTS/Chn6/MVL/6CujbZRp4oFBS17NuNlKQOEu59bH7udQ6VX6/j6YXiMSEPbbAWLMe405wShiBkVyvLMjV7eg9rt4hs5+kk2ldgHI5csHWFCsdxFJOndyDmEX0+8roZSL53y6CyNFkkrtFnFDQ31XLv7dPLEoFbi7zqjmxNhnCcDA86w4uu8PX45Nz//zEH77qDS5P/gJvK+rcFFf9Liey6qg+WlWZsl174XTOXp3PL86655cnl92z84thd3Y6D7rD4PXF6fzigs3ZBWyU0n0vVdWxZkJjL1PsX9revlijtMm4bci+duV7jkG5qmjsIaq1wqBYCwwym9XzpJ7UVzbyOle3I9jMhsYjKpAssPWgCCP7GLyNmK5CmbiLbHkEjSz6rXxCBJZjIQx6J70BHVGGRSyuqdiRjw0TyxCnetNPBeO2IlqD1nmqTqBIVWh8sntu901FZ0mp7U9gvZ4xhV+kyDI6ds/9ydSDByY5mxFhE6rKyyIT12CHbFfyYt21tZPEhXGZt9FKqAS4G1dBgKlulZ3Wqs/tp89j8GCWL+MjlzuSPVJNZY/gA8WYpcXmpD1bg2Dxwrikcpj09w/L9SOJ +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Deliveries + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-schedules.RequestSchema.json b/docs/docs/reference/api/query-trigger-schedules.RequestSchema.json new file mode 100644 index 0000000000..be00218acb --- /dev/null +++ b/docs/docs/reference/api/query-trigger-schedules.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"schedule":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"}},"type":"object","title":"TriggerScheduleQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-schedules.StatusCodes.json b/docs/docs/reference/api/query-trigger-schedules.StatusCodes.json new file mode 100644 index 0000000000..1639f33d72 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-schedules.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedules":{"items":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},"type":"array","title":"Schedules"}},"type":"object","title":"TriggerSchedulesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-schedules.api.mdx b/docs/docs/reference/api/query-trigger-schedules.api.mdx new file mode 100644 index 0000000000..348245fa9a --- /dev/null +++ b/docs/docs/reference/api/query-trigger-schedules.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-trigger-schedules +title: "Query Schedules" +description: "Query Schedules" +sidebar_label: "Query Schedules" +hide_title: true +hide_table_of_contents: true +api: eJy1WW1v2zgM/iuCvtw2OGmard1mHA7XrRvW21uv7XbAdUGg2HSiVZY8SU7rK/zfD5Rsx3mp+7JsX9Za4kPqIUVS7DW1bGpoeE7PNJ9OQRs6CqjKQDPLlTyKaUh/5KCLsfXrYxPNIM4FGBpQDT9yMPaVigsaXtNISQvS4o8sywSPHMbOd6MkfkPJlOFPmUYNloOpvyOik5PF54SG56t7JEtX1m2RAQ2psZrLKS2D5ovMhaDlKKCWWwSln1C2DCjMQdrxBRQPBXqDAOQ9FLQsg3qXmnyHyNLFrorI0+pUfyN7G2DLgF5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yBNylJALKAg3xIANKkWV1kraQKRkzHTRKS6V3QARcw2RFQVpLFn2UAN2x8fX4k113qotraoxuvHJcIgF6jZMV8Vuxmhdct+drtckc58RiWleeaV7Mj4bDtcfhV+Z4LF36xut3RV74IswBsu46HjXCRUtrd7nGTG6mZsPyhvo3jBm2lXaP4IxbNoiuqNtQDLIGa7WFdRtb9c31xvaqxbMmkteI5c4Y7klNJAbb361r129Ghd5D91MxaF3QVeMvDs7O14D9PGxHBhu5EBOW2PJFOxM4eQyUwYhfcqnO9UI0+w0j/sdN9vEmwMaS7dzcq4F7mYZdx72v86szUy4swN5PxIqj/tsCtKyPuN+4wgxolxzWziQg+Oj91C8A+YGTeej9ga0NfWhtrytcQ/L+Ht3o/2zjB7kdqY0/8/HD7oZTfJSyAiG/MliGPvmiqWZbx7bjWQFthhxLdrSRUgvTyXr6SMdDobPeoPnveHLs929cG83HL7oD57v/ksXQ8SuPX4WSJ8m7MVesv+st/d893nv2d7+sDd5mkS9YfRy/2myv88Stk+bKd+gGdQtTeEWQ7VBPRQblC72E9UO/QPnIXJwfLRWjpeWMI2wyLYY8ss0WPH9wuVIXuqSCLXA0j+bFSSw6QHpoL/bH7imQxmbMtlSsR61K6/nKhLwUu5kgnGXNpw911VAn9M6oGl7XhX4gT1ezBnGf3hOr68nzMAXLcoSP/v18HwU0DnTnE2QrnPMXLM6XqtOy6cFaXsuv+B2kfv4XEm3eFG8xEEUQWY7945aV/T48+kZDeik+hNCqmKU0ewS8w67pCHFCHOsuAvjvl1TweQ0xwwZUo+J//4HWll5FQ== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Schedules + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-subscriptions.RequestSchema.json b/docs/docs/reference/api/query-trigger-subscriptions.RequestSchema.json new file mode 100644 index 0000000000..9c7ba3e800 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-subscriptions.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"subscription":{"anyOf":[{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"connection_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Connection Id"},"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"}},"type":"object","title":"TriggerSubscriptionQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionQueryRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-subscriptions.StatusCodes.json b/docs/docs/reference/api/query-trigger-subscriptions.StatusCodes.json new file mode 100644 index 0000000000..d3776d80d3 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-subscriptions.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscriptions":{"items":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},"type":"array","title":"Subscriptions"}},"type":"object","title":"TriggerSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-trigger-subscriptions.api.mdx b/docs/docs/reference/api/query-trigger-subscriptions.api.mdx new file mode 100644 index 0000000000..b373349ff4 --- /dev/null +++ b/docs/docs/reference/api/query-trigger-subscriptions.api.mdx @@ -0,0 +1,67 @@ +--- +id: query-trigger-subscriptions +title: "Query Subscriptions" +description: "Query Subscriptions" +sid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EtDQt/eSwXjLvq4M92VPnFV1f8o3f07iPeLSUAX6EbhFb27mzEDf2hRFPjZr4dXk4CumOZshrRdYRBcVCZfVnI+wkg7cKEKt4vMm3gncqOveYmjKILU9u6dNDz97PTikgZ0Vv7NZqlilNHsFkMYu6UhRUtbTyHdtzsqmJxnGGxD6jHx338DPv47 +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Query Subscriptions + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/query-webhook-subscriptions.StatusCodes.json b/docs/docs/reference/api/query-webhook-subscriptions.StatusCodes.json index 379f9d6825..c019f07241 100644 --- a/docs/docs/reference/api/query-webhook-subscriptions.StatusCodes.json +++ b/docs/docs/reference/api/query-webhook-subscriptions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count"},"subscriptions":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},"type":"array","title":"Subscriptions","default":[]}},"type":"object","required":["count"],"title":"WebhookSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count"},"subscriptions":{"items":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},"type":"array","title":"Subscriptions","default":[]}},"type":"object","required":["count"],"title":"WebhookSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-webhook-subscriptions.api.mdx b/docs/docs/reference/api/query-webhook-subscriptions.api.mdx index 0767b1d72a..d7560a7ccf 100644 --- a/docs/docs/reference/api/query-webhook-subscriptions.api.mdx +++ b/docs/docs/reference/api/query-webhook-subscriptions.api.mdx @@ -5,7 +5,7 @@ description: "Query Subscriptions" sidebar_label: "Query Subscriptions" hide_title: true hide_table_of_contents: true -api: eJzdWetu2zYUfhWCvzZAdhw3STv/WnpDs3Vr1qQbsCRIaenIZkuRKkn5skDAHmJPuCcZDinrYsnKBSmwrX/qkIffOTw8d91Qy2aGTi7obzCdK/XZ0KuAqhQ0s1zJk4hO6JcM9Pp66fevTTY1oeYpbhsaUA1fMjD2uYrWdHJDQyUtSIs/WZoKHjqcvU9GSVwz4RwShr9SjVwsB+PWa6jurFy/i+nkYpsuFk7cOgGLIo7HmDhtkFYUdp0CndCpUgKYpHlQLhmruZy5lW4YGnIdZoLpb96yKYgfjJKDE5lm9lsabEDU9BOEluZXAbXcClzaIqZ5i7iSQWZCNA6/dnfEI///u54XV03AsgdetXavYoVLCzPQTcbJtLlS19Bt+nidiX51BDeUW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zz6C+NaKabTCIsQ2dULS0an7p1u6oYHKZYridUI+J//4E+SRCzQ== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/query-workflow-revisions.StatusCodes.json b/docs/docs/reference/api/query-workflow-revisions.StatusCodes.json index 05a791f376..6d72a49489 100644 --- a/docs/docs/reference/api/query-workflow-revisions.StatusCodes.json +++ b/docs/docs/reference/api/query-workflow-revisions.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/query-workflow-revisions.api.mdx b/docs/docs/reference/api/query-workflow-revisions.api.mdx index f8bd75e396..576af656bb 100644 --- a/docs/docs/reference/api/query-workflow-revisions.api.mdx +++ b/docs/docs/reference/api/query-workflow-revisions.api.mdx @@ -5,7 +5,7 @@ description: "Query Workflow Revisions" sidebar_label: "Query Workflow Revisions" hide_title: true hide_table_of_contents: true -api: eJztWltv2zYU/isCnzaAtbNiT36al7RI1rTJcttDYAS0RFtsqUtJyqkX6L8PvMmUdY0tJ8WQJ8PSuXw8PDo8Fz4BgZYcTO7BPwn7tqDJIwczCJIUMyRIEp8FYAK+Z5itHx4NwQPDK8JJEnMAQYoYirDATMp4AjGKMJiAgpQEAAISWxkAAoa/Z4ThAEwWiHIMAfdDHCEweQIoXl8slBixTqUYLhiJlwCCRcIiJMAEZBkJQA4LijijFOQzCAQRVD6wq/DOApBLwioivg8kxBiSPETgiEuKDqg9sfJ6sJxmywEM2AvEtdTViOKQRutnpGuFohbgCjGCYvGK3nanETR63Qbhz+d9G+wd5n1Jb7Sgmr3SRfX63unibTCjDZuv6KZXBkKjnzoYfz5HddB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2xlZ71V9QvGKCVqr/XfUIiUT8ZjnI18mmTBSF3WoxEimnAmZfgZI2KthEwvzz7hta6/wORu5hKovEM7XZms2CiUkk9Y4jIDB7ohR/61bSk1eKBrbGVOEi8Sd/9VkwB508uzynlVeiW/JeQr17Ga1GsAt5a9Wa2MiZH6koDAKPqjeFO6eAFHo99GR/KR3IQIxY6Klq3bums01pAuOk4pIrFzOaF39a7o3nLlshtRemdnEITSCyZ34Olpjji+YTTP5WP9Xm5VQDiaU2dw4wGvK7P+spUnsSiX6Obgz2Uxg53P5nm2otJM+Y6cOyvdZZXb89DPYi7PJu/KurvaXRZcGardjXsz37oXf18AZhK0D2l5gLMPhx247EMr+pOa6cY+pDVDib2soscH+5GaKb8+xMUUXh9iOyXXS7AZbdvQzswEzlyeLHez4nJXxU7NNPV9nLoaKomZlFKcy5cXV9cgz/8DmoZidw== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/read-secret.ParamsDetails.json b/docs/docs/reference/api/read-secret.ParamsDetails.json index f5b235185f..2bb3f8365d 100644 --- a/docs/docs/reference/api/read-secret.ParamsDetails.json +++ b/docs/docs/reference/api/read-secret.ParamsDetails.json @@ -1 +1 @@ -{"parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}]} \ No newline at end of file +{"parameters":[{"name":"secret_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Secret Id Or Slug"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/read-secret.StatusCodes.json b/docs/docs/reference/api/read-secret.StatusCodes.json index 26a26bc289..f9cd05f468 100644 --- a/docs/docs/reference/api/read-secret.StatusCodes.json +++ b/docs/docs/reference/api/read-secret.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"}],"title":"Data"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"kind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider","custom_secret"],"title":"SecretKind"},"data":{"anyOf":[{"properties":{"kind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},{"properties":{"kind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"provider":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"models":{"items":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},{"properties":{"provider":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},{"properties":{"provider":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},{"properties":{"secret":{"properties":{"format":{"type":"string","enum":["text","json"],"title":"CustomSecretFormat"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object"}],"title":"Content"}},"type":"object","required":["format","content"],"title":"CustomSecretSettingsDTO"}},"type":"object","required":["secret"],"title":"CustomSecretDTO"}],"title":"Data"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"lifecycle":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/read-secret.api.mdx b/docs/docs/reference/api/read-secret.api.mdx index d71d489348..864f56f198 100644 --- a/docs/docs/reference/api/read-secret.api.mdx +++ b/docs/docs/reference/api/read-secret.api.mdx @@ -5,7 +5,7 @@ description: "Read Secret" sidebar_label: "Read Secret" hide_title: true hide_table_of_contents: true -api: eJzNWE1v4zYQ/SvGnFpAiNOgJ5+aJkEbJGmCfGwPhmFMxLHFDSUqJJVGa+i/F0NKtiQ7SuJdoD3ZEsmnmTePM0OuwOHSwmQKdxQbchZmEeicDDqps3MBEzCE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TU3coUsZmLG99ohuuXoEJBJASJ4Vkwu2V0Kf7UDaV20AM0+H94iyGVBlL8zabBTP4oGVd0+svJWoKziyGZ6YFWxBVjxvgwtB/DtMlkwYHJm2TDPz0MeyDnyOI95vaBDCn6D0zWdIThMuAPdehLl00BfwxNL9wliRY2BbCILuRnrZK//PyHur6Gyakchk= sidebar_class_name: "get api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -29,7 +29,7 @@ import Translate from "@docusaurus/Translate"; diff --git a/docs/docs/reference/api/refresh-slice.ParamsDetails.json b/docs/docs/reference/api/refresh-slice.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/refresh-slice.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-slice.RequestSchema.json b/docs/docs/reference/api/refresh-slice.RequestSchema.json new file mode 100644 index 0000000000..854dc1340c --- /dev/null +++ b/docs/docs/reference/api/refresh-slice.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"RefreshSliceRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-slice.StatusCodes.json b/docs/docs/reference/api/refresh-slice.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/refresh-slice.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-slice.api.mdx b/docs/docs/reference/api/refresh-slice.api.mdx new file mode 100644 index 0000000000..ed2ce5ffc5 --- /dev/null +++ b/docs/docs/reference/api/refresh-slice.api.mdx @@ -0,0 +1,69 @@ +--- +id: refresh-slice +title: "Refresh Evaluation Slice" +description: "Refresh Evaluation Slice" +sidebar_label: "Refresh Evaluation Slice" +hide_title: true +hide_table_of_contents: true +api: eJydVt9v2zYQ/leMe9oA2U6dxN30NK8LUCMbGtjZXgzBOEsni60ksiSVxhX0vw9HSpZsp+k6v1gk7xe/++6TarC4NxBu4O4J8wqtkKWBKACpSLvVMoEQNKWaTLY1uYgJAlCosSBLml1rKLEgCIGOIbYigQBECSEotBkEoOlzJTQlEFpdUQAmzqhACGuwB8XOxmpR7iGAVOoCLYRQVS6KFTZng77A0TKBpol8UDL2d5kcONJ5jliWlkrLR6hULmLnPf1oZMl7fQlK83WtIOP3qUQt5FYkbo3l4UPq7iksFeb7NTdBZ4Ba4wGa4OhRVnkOXHp3q3WbbLRMDDsaS2r7iQ7/LfMPZbKkRvccuWHkFKHdiuT5O4lEaWlP+ocyrVzw0ZKDN72j3H2k2MLQzrFqzaRa+VZC0zSuPKNkaXw/Zlc3/JeQibVQ3EK+TRXHZExa5aNVa8w13sxml7b/YC4Sz5w7raWG/02NhCyKnJ+OOJ0a5DI+Oe2BPW/cJcLROcY9Un9KXyBfsTD7lyjYmf5FxuCe+oZ929SBMXrk04anVVUOkO546TaaAGL7PAhz0cZ3jOWzfbHV/UhuHDa+/NZuQJm+Rb5D34biD9+C13j1/vHx4SKgJ9YpMVoCjgbSsm4VriCbSZY+JY11imczCGFqRKFymvZSZ6b1ie4101YsIQBD+qnTyErn7I9KuOb7ZWatMuF0StUkzmWVTHBPpcUJCm8YcYy40sIeXJDFw/KeDu8JE9IQbqKhwZo561l4anbsHCpxT4xlq9eLymZSi6+eWq1eZ96LweJpWPUSe/eMfPdLidzAdYq/3Kbzm/Ht2zdvxze389l4d53G41n86/w6nc8xxTm3e6Bum46P0Zkaba4ix8ZUDsm4cMCMFg9LOO/iyREPNsaOx90t3TEEZ5D3SEMAVLixBktY/HY8YRZy/3yaq8mbyRVvMSMKLAcpXuHRSanHTvC8TFWOwk20K6xuKbYBTzGuavBKDiA8f712PIsCyJik4QbqeoeG/tZ50/D254o0EycK4Am1wB1DuakhEYafEwhTzA1dVHlUR/hp1Q7wzyMIXq6+I1fJzOISeQUBfKLDxTeB07iso2/d2rzz6cZOifoYF8LMc+M9FnFMyr5qGw1m+OHD+hEC2LXfCYVM2EfjF0YRv/h6pfJI84cE79WQY7mvWEtD8DH59y8SEyK3 +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Refresh Evaluation Slice + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-connection.ParamsDetails.json b/docs/docs/reference/api/refresh-trigger-connection.ParamsDetails.json new file mode 100644 index 0000000000..0a4b87e8b7 --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-connection.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-connection.RequestSchema.json b/docs/docs/reference/api/refresh-trigger-connection.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-connection.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-connection.StatusCodes.json b/docs/docs/reference/api/refresh-trigger-connection.StatusCodes.json new file mode 100644 index 0000000000..950214796a --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-connection.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},{"type":"null"}]}},"type":"object","title":"TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-connection.api.mdx b/docs/docs/reference/api/refresh-trigger-connection.api.mdx new file mode 100644 index 0000000000..b63b07fda2 --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-connection.api.mdx @@ -0,0 +1,69 @@ +--- +id: refresh-trigger-connection +title: "Refresh Connection" +description: "Refresh Connection" +sidebar_label: "Refresh Connection" +hide_title: true +hide_table_of_contents: true +api: eJztWEtv20YQ/ivCnBKAsVyjJ56q2jXiuqkFW+5FEIQROZI2XXKZfRhRBf73Ynb5lqw4hnNqT4a48/zm29kZ78HixkA8h5kWmw1pA4sIVEEarVD5TQoxaFprMtulDRLLROU5JXwMERSoMSPLivF8DzlmBDG0IkuRQgQihxgKtFuIQNMXJzSlEFvtKAKTbClDiPdgdwUrG6tFvoEI1kpnaCEG57wVK6xkgcvG+ugmhbKMGr9rpROq/X1xpHc9h2uU5pjHlVKSkNNJaY1O2ka0dnntDZflgs2ZQuWGDBu4OD/nPymZRIvCYxLDg0sSMmbt5Oi+EoaIMbGUWxbHopAi8QiPPxvW2XeCKjTjb0XwkCgXlKpYRW5pQ7oHB0t0Yj8vo04FvMN8d7f2BeobX0tf/a4ApqlgNZTTnmgrMQCN4e9Xjr8cNwOJ0ImTqN/9gSuSvxuVf7hztnD2PScUrKjVZ0osMNZ1ikNpKA+k2yhyJ2VP+9pnySr/hWxnVbIZWXxlsp3MBqzrOc5W/S9djL6FyLWT3wAk2oOwlL1QC7XG3WkW9HW/D9RPDCZfK01oKV2iPQVcp3WlaOmDFRmdNH8ZzI4mPixXpD/CyWMwWzlJSdIPcHIVzFZOarhWO34HXubHN/uXgPXrzrf/Fq839VKj1XipAXtTLzVcjZfwkL3oTh4Y+xN9cfqv0etMXXVMlBEY6TavNfXAumUEbwdaQKrQ6kmkpJd/0+7Y9EC5y3iwSVRWKCMUdHtkGGWmlYlbkXuTvsuFyec5q00MrejolnYedvy/4b5Zw73C0HCNRevMqRlGUyo0JXbptHwtR+8rG6NHLXmgHAR6QJx2An0I8R0aP2alnUTnffoeUu+QrK3PF3p7Vr8ZSsuS9X6+uDicYf9CKdJA79+0Vvr1A2xKFoWvTMWuoYBUSe/0e27HohwQsjNFqRCgn4XM5tRl/kTG4IZahj4v6sEYzfjUNwwmNos3baFiemK/dswc1OSSsfxqj3KtyxLGJoRfyXV40ZYoVOh5KK5CCU6R5ONsNj0wGPjRJ8Z92AZHl90tMCO7VbwrFspYvxXaLcQwrlZGM27XETPe97bDclztlxCBIf1Ub5L+NsMYC+ELH35urS1MPB6TO0ukcukZbii3eIYiCC7YRuK0sDtvZDK9uaXdR8KUNMTzRVfggfkaGNgXa6qGhbj1l7PaLifObpUW/2CVtd8yt0Gr9GxYqy4ZJj640WR6A0MUe0d8sTDxPKo9+WOIBmm32fL7lvlrBZYw+6U5YRYwhsHN+dlPZ+f+sVTGZph3XByt42ByqHBgpo4LicLfparNhhLPoS4xdHdO/hUP/wlQ13kRwZZpEs9hv1+hoUcty5I/h42dC5cKgyvZ2dn9c9zs908oHUfmK/6EWrDwccVBSk0Tg3f31T17P2pftX6qNQ/yXddnHUw/P9+KtjXT9pXMJEmosB3tg87JGTTXZ3r3MIOy/Bf8WQmY +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Refresh Connection + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/refresh-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/refresh-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/refresh-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/refresh-trigger-subscription.api.mdx b/docs/docs/reference/api/refresh-trigger-subscription.api.mdx new file mode 100644 index 0000000000..fda2a120bd --- /dev/null +++ b/docs/docs/reference/api/refresh-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: refresh-trigger-subscription +title: "Refresh Subscription" +description: "Refresh Subscription" +sidebar_label: "Refresh Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFv2zYQ/isEX9YGqp0VexKGYVnSoFnX1kjSviSBQUsnmQ1NquTJqWbovw9HSrJkJ46TpU+Jxbvv7r478o5ccRS54/EVv7Qyz8E6fhNxU4AVKI0+S3nMLWQW3HyKQWLqyplLrCxIgEe8EFYsAEk1vlpxLRbAY94XmsqUR1xqHvNC4JxH3ML3UlpIeYy2hIi7ZA4LweMVx6rw6milznnEM2MXAnnMy9KjoERFAhc9fHaW8rq+IVhXGO3AEdLbw0P6k8LaWVJLEnAuKxU7b4R5xBOjETSSuCgKJRMf/PibI51Vz7vCEjUog4XElEGpcVpqhBxsz8tjLxHxFDJRKuTxYR0NqPEmdfU589wN4TPlU7P5WbqpSFAuoWd5ZowCoXuWzxw7ClI960R2HRHCUiiZPgbw1Qvdq4/g8DH1S5LpaWdCOajrqFUys2+QYE+nKcF+ak89B6TTcLEmS6SpJBGhJgN+1hIbztXRZnnRl/theCJtUiphX/0jZqD+dka/+VxiUeJrvhkAVV4bwqY03wq354UulRpoXzbBLgDFM4PtRbZRlQPDi9nwS5+jxxg5LdUjhEQrLhEWe2oJa0W1k5cN3aeR+pHIrKPmYNqLsi2MT6RbR8PD5HlQJz2IOuKJBYGQTgXuAuydg6lAeIPS+/OwleMAy448WWWR/gwjXwJsYyQFB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xoWzYYIqdlwoIf2e8k6tmkRfteOr48OXJvodb7/Ktdm+ificCia+4qvVTDj4YlVd0+fvJVhK303El8JKMSMyr1Y8lY7+T5uHnS1fu1OKvzpvNtJrtr71D2NoU6wpv0uhSvrFozD1bD0m+tNm3pZRMxvxoySBAnv6W4cj1Vu3PyafLy55Xf8HBVU/zQ== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Refresh Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/remove-scenarios.ParamsDetails.json b/docs/docs/reference/api/remove-scenarios.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/remove-scenarios.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-scenarios.RequestSchema.json b/docs/docs/reference/api/remove-scenarios.RequestSchema.json new file mode 100644 index 0000000000..67f85156a1 --- /dev/null +++ b/docs/docs/reference/api/remove-scenarios.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids"}},"type":"object","required":["scenario_ids"],"title":"RemoveScenariosRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-scenarios.StatusCodes.json b/docs/docs/reference/api/remove-scenarios.StatusCodes.json new file mode 100644 index 0000000000..fd422b902f --- /dev/null +++ b/docs/docs/reference/api/remove-scenarios.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-scenarios.api.mdx b/docs/docs/reference/api/remove-scenarios.api.mdx new file mode 100644 index 0000000000..4ea14e2ede --- /dev/null +++ b/docs/docs/reference/api/remove-scenarios.api.mdx @@ -0,0 +1,69 @@ +--- +id: remove-scenarios +title: "Remove Evaluation Scenarios" +description: "Remove Evaluation Scenarios" +sidebar_label: "Remove Evaluation Scenarios" +hide_title: true +hide_table_of_contents: true +api: eJydVVFv2zYQ/ivGPW0AbaVO4m56mtcFqNENDZy0L4YQnKWTxU4SVZJK4wr678ORkiXFSQvMLzLJ4/Hjd999bMDiwUC4g5tHzGu0UpUGIgGqIu1GmwRC0FSoR3owMZWopTIgoEKNBVnSvLuBEguCEOiU5UEmIECWEEKFNgMBmr7WUlMCodU1CTBxRgVC2IA9VrzZWC3LAwhIlS7QQgh17bJYaXMOGDDONgm0beSTkrF/quTImZ6fEavSUml5Casql7HbHXwxquS5AUKl+cZWkvHz/qIPMnFjaakwP0faij4AtcbjCPldl3C2SQy0Q5zaf6HYTsjZTU+PhiRbV4U+ldn6q0PbckJNplKl8fiXF1f8ScjEWlZ8ZcZQxzEZk9b5bNsFM+Kr5fI89jPmMvFM32itNPxvKhOyKPMJidOAXMWTVSyPH1OnqSnZrTjNyNLSgTS00euM/608QL5iYQ4vFa8P/YeMwQMN5Xs91JExu+fVltVd1Y6QfnnjJloBsX0apTlVuY97x1w+2Z8qgbnx8Lu4kRqGEvkKvU7FX74ELx3Wh7y/v789S+iFNRWG1+Bs1Il3I1MoyGaKDaNSxjqTsBmEEBhZVDkFgzuYoJlYRRucvCXwZgMCDOnH3l9qnXMirKQTgh9m1lYmDAKqF3Gu6mSBByotLlD6wIhzxLWW9uiSrG83H+j4njAhDeEuGgfcsX69IqdhpypiJT8Q89p53bq2mdLyu5dZ53WZ38XEcWdsB3u6eUIm4dxednCZ4m/X6epqfv32zdv51fVqOd9fpvF8Gf++ukxXK0xxBZETXKrGelu7+87Wtxt4XqjJEvcuxk6qPXi3DOIZkwOBIIAK17lgCYs/TissNC6LP+Zi8WZxwVNc8QLL0RE/lsoE7Ylj7oqgylG6vnXYmk5FO/AqYmCjt0pA+PzRGT9TnZgiARlLMtxB0+zR0Cedty1Pf61JszoiAY+oJe6Z2F0DiTT8P4EwxdzQGeCTHcIv265jf52BePkivYJKlg+j5REI+JeOZ4+mM7Ws12jTxbzzx82d9Qw5zpyYm8PvWMcxVfaHsdGoY28/3t2DgH33kBYq4T0avzGJ+M3jVZUnnV9anmsgx/JQs3mG4HPy7z/4rdne +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Remove Evaluation Scenarios + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/remove-steps.ParamsDetails.json b/docs/docs/reference/api/remove-steps.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/remove-steps.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-steps.RequestSchema.json b/docs/docs/reference/api/remove-steps.RequestSchema.json new file mode 100644 index 0000000000..dee353a184 --- /dev/null +++ b/docs/docs/reference/api/remove-steps.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"step_keys":{"items":{"type":"string"},"type":"array","title":"Step Keys"}},"type":"object","required":["step_keys"],"title":"RemoveStepsRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-steps.StatusCodes.json b/docs/docs/reference/api/remove-steps.StatusCodes.json new file mode 100644 index 0000000000..43fbfeddf9 --- /dev/null +++ b/docs/docs/reference/api/remove-steps.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/remove-steps.api.mdx b/docs/docs/reference/api/remove-steps.api.mdx new file mode 100644 index 0000000000..7d151808f1 --- /dev/null +++ b/docs/docs/reference/api/remove-steps.api.mdx @@ -0,0 +1,69 @@ +--- +id: remove-steps +title: "Remove Evaluation Steps" +description: "Remove Evaluation Steps" +sidebar_label: "Remove Evaluation Steps" +hide_title: true +hide_table_of_contents: true +api: eJztWU1z2zgM/SsentoZNU47e/Jp0ySdZNtssnbaS8bjgSXYZktRKj/SuB799x2QkizJlqyk7q29pJaAR+ARBAFhwwwsNRs9sMtHEBYMT6Rm04AlKSr36zpiI6YwTh5xpg2mmgUsBQUxGlSkuWESYmQjhiXCjEcsYFyyEUvBrFjAFH63XGHERkZZDJgOVxgDG22YWaekrI3icskCtkhUDIaNmLUOxXAjSGBr3+A6Ylk29aCozfskWhNSc40wkQaloVeQpoKHTnv4VSeSnm1NSBV5azhq99xgOvuGa/eDG4z1rplZUDwApWBdMXNiMB18JO1sK5TMv2JoajQ8VNaZbtXHjmgC0WPvHcsyQlKo00Rqb+K701P6E6EOFU/JK1rZhiFqvbBiM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d8iYkhTLpvfI1ru5TARNpZ77msuo84Lm95X2tY2Od+aHopzAsuxukL6xnt27m12NTqmLy1d3Rf+DrE7et/vhDqoHob7I3kAMt+R3LkeqM865DdFcDwr5nrmrr36v6JbDgT8MOGvd+925wdfQPDID1guqat6+fAgQgNc1MYndQGRhLW3z7kkp+2zl09Fa0SHVy+7gvIGtYYldrVeJZFExqDoqnwjRuLVusB9szBPFZid/TgnLp/MwbAlbrz5uVy1JSq3yO9QOxUXfgu6AuTq/v5uB9DHRz0w/ExqUBnATfI5YIxmldB8ME20Kc7viA01j1OBw+1AUA83telgNnQN9NDPFemMonosxolWCQKBlLsA8D9XxqR6NByiPQlFYqMTWKI0cALcC04JI7SKm7UDObu7/ojrK4QIFRs9TKsCrpDwkVgXK3cPUv7RZaR8tHlmzSpR/GfRebvR5sprEWF0IsbbaeTlExABjWniQxFbUxdHi6QaRmfOncHZ3TVr8l97RUcSQheBhW3uNQsaRG35oY4/dgeSGYT47/JN7TsPOz15e3LqEnqiTT5GyJdoj4DGl9KcPgr0YSrAfztwdm3y4HhgPjjIqMrEOWCj5vi4GDbnMTIN2IqibPTANps5aPysRJbRYxpT0aZPA/YIisOcCH3YsIhr+n+Ujyd2jC2zG3s1zg/g68G26q07UQSGpKggS+kXC/wd2Rh9uxy1KkIvv0d9ApDmzb0vQwuMncRKMe81zsIQU9MpO60cwrvbyT0L2Dwfh8dJRDoKfhCJ8MPbm6SecJqX07MNEyCXlnLhiHlM+vc/33cEGA== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Remove Evaluation Steps + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-application-revision.RequestSchema.json b/docs/docs/reference/api/resolve-application-revision.RequestSchema.json index 1eb7c19233..4da3a8a066 100644 --- a/docs/docs/reference/api/resolve-application-revision.RequestSchema.json +++ b/docs/docs/reference/api/resolve-application-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Application reference."},"application_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Variant reference; resolves the latest revision on it."},"application_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Revision reference; resolves that exact revision."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum nesting depth for embedded references. Protects against runaway recursion. Defaults to `10`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum total number of embedded references to follow. Defaults to `100`.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle resolution errors. `exception` (default) aborts; `placeholder` substitutes a marker; `keep` leaves the original reference untouched.","default":"exception"}},"type":"object","title":"ApplicationRevisionResolveRequest","description":"Request body for `POST /applications/revisions/resolve`.\n\nFetches a revision and resolves any embedded references (snippets, linked\nrevisions) inside its `data`. Use when clients need the fully-inlined\nconfiguration instead of the raw stored form."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Application reference."},"application_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Variant reference; resolves the latest revision on it."},"application_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Revision reference; resolves that exact revision."},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum nesting depth for embedded references. Protects against runaway recursion. Defaults to `10`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum total number of embedded references to follow. Defaults to `100`.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle resolution errors. `exception` (default) aborts; `placeholder` substitutes a marker; `keep` leaves the original reference untouched.","default":"exception"}},"type":"object","title":"ApplicationRevisionResolveRequest","description":"Request body for `POST /applications/revisions/resolve`.\n\nFetches a revision and resolves any embedded references (snippets, linked\nrevisions) inside its `data`. Use when clients need the fully-inlined\nconfiguration instead of the raw stored form."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-application-revision.StatusCodes.json b/docs/docs/reference/api/resolve-application-revision.StatusCodes.json index d6c4a07afb..15566d73ef 100644 --- a/docs/docs/reference/api/resolve-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/resolve-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was resolved, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The revision with embedded references inlined into `data`."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Diagnostic info about which references were resolved."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"ApplicationRevisionResolveResponse","description":"Response for `POST /applications/revisions/resolve`."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was resolved, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The revision with embedded references inlined into `data`."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Diagnostic info about which references were resolved."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"ApplicationRevisionResolveResponse","description":"Response for `POST /applications/revisions/resolve`."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-application-revision.api.mdx b/docs/docs/reference/api/resolve-application-revision.api.mdx index 7398efb079..714ebd6a86 100644 --- a/docs/docs/reference/api/resolve-application-revision.api.mdx +++ b/docs/docs/reference/api/resolve-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Fetch a revision with embedded references inlined." sidebar_label: "Resolve Application Revision" hide_title: true hide_table_of_contents: true -api: eJztG11v2zjyrxB82RanOGm7zd65L9dtWiS37TVI0u5DEthjaWyxoUgtScXxBf7vhyElW7ZkO3EdHHBIXxpLwxnO95AzuucORpZ3L/n7PJciBie0svw64gna2IicfvMu/4QuThkwg7fCCq3YWLiUYTbAJMGEGRyiQRWjZUJJoTDpXKkr9WeKqrboF8v6CTjosxiMEWjr65xm2qVoGConnEB7pV5YJfIcnY2YFOrG0wmY7MuIuVRYhirJtVCOGbRa3hKeFDMmFMslxMhAJVfKoCuM8q/YsJByslduksVaDcWoMJ5tBlKrUeCs7/EV9Lgn1FD3r1QQyEAQSAqOjcEyWwysE65wmHTYN4tMODYmpmMpUDnLFGLC4EpZlMO9WCsHLXSH2jChbnWQPtOG4V2ujevwiOscA9RJwru85LIHc2X1KpnwiBv8q0DrftfJhHfvOdFD5ejP2oL9H5ZUes9tnGIG9FduiAwJfQm2Z3DoH6nJ1yHvXi6D3qLxpBdA3CRH3uXWGaFGfBrNnqhCSj69jrgTTtKD7+XyacStLEbbojmntdOIi2QdhogPtcnA8S4vCpGsxXiS8Ok0ql7rwQ+MHZ+/PqvMthXJoufU/Gpu7h3abl3Ot2AEKPcs75+W9/cgybms3y3EBibBoXXzQKYVE66hj+r1s0J+WiFnlaTbNQKO4R3Ec414XWRw10swd2krQ0I5HKFZy8EXuGNHHsPyhr7AnciKjCm0jqK5p+ODcEs+67BTox3GzjIYgVBkOoWCMUyYwbjw6uuwIxxCIZ3PYv1XB/2OJ+qf8e6rg5Ihj97+FEcfA4pVLDntQDJVZAM0TA9bE7TTbKil1OPGthv7po2jMdr0ci1FPFlvXaiKjCoJvIsxbCziPgunWiZoeMRvEHNe4+gj4T4NqDcb0rEe00ZTUIlENk/QzG/Rdlh/RrnPXpRsvGQw0MbZd6xf20u/lrktA5aBuUHzjvVph30mEapwoY0YCQVyLkFWKKeLOMVkQVo1ttd5Ti0dVI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2y+puo7C3RWUPWBOxCx1O6rTCf/+C9Kq9xY= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/resolve-environment-revision.RequestSchema.json b/docs/docs/reference/api/resolve-environment-revision.RequestSchema.json index a6ddccf826..562122b6bf 100644 --- a/docs/docs/reference/api/resolve-environment-revision.RequestSchema.json +++ b/docs/docs/reference/api/resolve-environment-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"environment_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"environment_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"default":"exception"}},"type":"object","title":"EnvironmentRevisionResolveRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"environment_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"environment_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}]},"environment_revision":{"anyOf":[{"properties":{"environment_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"references":{"anyOf":[{"additionalProperties":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"References"}},"additionalProperties":false,"type":"object","title":"EnvironmentRevisionData","description":"Per-app references for environment revision data.\n\nKeys are app-scoped identifiers (e.g., ``\"pre.revision\"``).\nValues are dicts of entity-type → Reference, providing full traceability::\n\n {\n \"pre.revision\": {\n \"application\": Reference(id=..., slug=..., version=...),\n \"application_variant\": Reference(id=..., slug=..., version=...),\n \"application_revision\": Reference(id=..., slug=..., version=...),\n },\n ...\n }"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevision"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"default":"exception"}},"type":"object","title":"EnvironmentRevisionResolveRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-environment-revision.api.mdx b/docs/docs/reference/api/resolve-environment-revision.api.mdx index 0965202e46..354c236665 100644 --- a/docs/docs/reference/api/resolve-environment-revision.api.mdx +++ b/docs/docs/reference/api/resolve-environment-revision.api.mdx @@ -5,7 +5,7 @@ description: "Resolve embedded references in an environment revision configurati sidebar_label: "Resolve Environment Revision Endpoint" hide_title: true hide_table_of_contents: true -api: eJztWlFT4zgS/isqvdxMrWMYZoa9c9VVLTtALTu7NxQw8wIUdOx2okWRvZLMkEv59X7A/cT7JVct2Y6dOFkImXu4hRdiu/trqdX6Wu72jFsYGR5d8iN1L3SmJqis4dcBT9DEWuRWZIpH/AxNJu+R4WSISYIJ05iiRhWjYUIxUAzn+kzjvTAiUyzOVCpGhQaCCa/UlboYC8NQJXkmlI2u1JuQHaONx2iYHWMvypXaC1k1AMNASvYDjMLWAGx2h8qN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EK1+IPob0sILNlqLkiKfuYjjOwdlmBqDIWni2T2G23xt7fbDHHvcwWxIEmYmCzJlCeFS8xCa57L/pq9kpabBjnbaDg6VFrr85yfFgnbPuPKFJd7fDgbL1PonJnjoDnDbmPZ0Xj0Ew7ioRdN6BxEH9ez6CDLkenUo/iV2A7RMjB4vP1KtfJzrsrqrNQa5wLsYbezJGuyeB438qE1gHiowS4vzI9rywbQ+oNXcgLZxw8/61djgfIncCq02xaFbgi5v+eni4nQJ0PnHFMwkxuP6SaxRBH2aDulOxY31Tv6o4C/rZBTjncLkYJcyVQJlWMLtOrrLiTGJHu7sQOoHIk5Dn41BGuYz7jpeI0aQKm5mFuTg9OQ9zH4ChhtXmFkrHc7R/ZxD1bsVi8AS/h7QLI5Cynhi/m+W7Ypx9PuJk8J5o2OflZ8gHD2waSKguYeTnd8usmDpMi6dldeYmuibiH27F+2/7e29233Xe7u3P+iN3kRBbxB8t/8m2t9nEdtftWnxF6hqHkv/K3R174qVila1L+9IlfcaO0rtQtWNmvVmUt/cWVemuWGzrlxtA2ZtoWxPZd3+bq+EDvqDt73+u97gu4vdveHe7nDwrd9/t/svWtn0qFRT2e5FyeyXtHfB1Zbd6ymmaK6Sp10DqPKfXf2qFGZXvwYLua6lGrTi2gau84RrO9omn8CSaatV+i7Ml6ch+vXzC/3meYPqxj/GTfdSUey/2SBODk5Plpa8dgvrCRbY9JlHZHsbTVxLD2VWsO9CtpqgBtj0++JOjSKlfX/X72MTZqwpkxUV+TGU6jZnXh6Ro+xTuua4K9+e/T9/vJflUSxcdhLBuF19u1TzrCi4rMY4bWuZrCygXv61H5YwE6wkhpd0Ph8xDR+VWCyw+fcUFGb66yy+jtCfLrHGm+Q5f07vYJYXUNL0bCWG3UXqcnyjMMViw0kcBOiznX2vK8XO6YfzC+rRUfbx4TQOUUaxzzgT9pkOqf2c0djJ4QOFbXMqmBynLko6TPz7L83Cyhw= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/resolve-evaluator-revision.RequestSchema.json b/docs/docs/reference/api/resolve-evaluator-revision.RequestSchema.json index b36d412be1..6ca3cdbb2e 100644 --- a/docs/docs/reference/api/resolve-evaluator-revision.RequestSchema.json +++ b/docs/docs/reference/api/resolve-evaluator-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve the latest revision of this evaluator."},"evaluator_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve the latest revision on this variant."},"evaluator_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve this specific revision."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursion depth when following embedded references. Defaults to 10.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve. Defaults to 100.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle embed-resolution errors (`exception` or `fallback`).","default":"exception"}},"type":"object","title":"EvaluatorRevisionResolveRequest","description":"Body for resolving embedded references on an evaluator revision's `data`."}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve the latest revision of this evaluator."},"evaluator_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve the latest revision on this variant."},"evaluator_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Resolve this specific revision."},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursion depth when following embedded references. Defaults to 10.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve. Defaults to 100.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle embed-resolution errors (`exception` or `fallback`).","default":"exception"}},"type":"object","title":"EvaluatorRevisionResolveRequest","description":"Body for resolving embedded references on an evaluator revision's `data`."}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/resolve-evaluator-revision.StatusCodes.json index 9260120ef2..f158137341 100644 --- a/docs/docs/reference/api/resolve-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/resolve-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision was resolved, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The resolved revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Diagnostic information about the resolution pass (depth, embed count, errors)."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"EvaluatorRevisionResolveResponse","description":"Envelope for a resolved evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision was resolved, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The resolved revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Diagnostic information about the resolution pass (depth, embed count, errors)."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"EvaluatorRevisionResolveResponse","description":"Envelope for a resolved evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-evaluator-revision.api.mdx b/docs/docs/reference/api/resolve-evaluator-revision.api.mdx index 1424dda281..63728f80f9 100644 --- a/docs/docs/reference/api/resolve-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/resolve-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Resolve embedded references on an evaluator revision's `data`." sidebar_label: "Resolve Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztW19T3DgS/yoqv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ltWD94f7r3eGb3f2f7vYezN6szfa/3UwfLv3X+zQc5wsNOfZ1Pk02Ya9yowpCwuWS1lUcFbKopyBUpYYQkn5aCkiTgXD+XB1GhJHWVCSMsqyjGHhNM4yJhy1hgGRPReUBuc5P9B2igrGgaM3ow/kjIIMyS9h7gKbLR1cTReKYhcs7RoyF+/sknMhyy65Guq4bmzVYMS1Q7KKC679TW5zVi2RNYOglSrs6lo8ltiWC6uUmEkeIk6bSvSicqzoHqpXzoEX9QNImzeUPzsYVsn8wzpt3iWbgxG7hy4IfiYvQIenJ424q7yCBJX4Jh/LF3nzuvBJnnGUiYY5WTDpKdaUzP5VvKngsng42BsMoQhSoBmJHRP57z1KxupZeb9hjYxQZND9vZIb3CuZJXKQN+8mnLDYwX5tTnpZLrDKJNJZL7GXX0MJ+XMEaezoEj88TIiiXyRfLKD475RKSDSvsqVwArF3eVWgwyYHvaHzPHuP9Y7ZBoA4T22KWdsVQa5raxz6EN+dsldOpn36+fwCe3iS3Ys5M6sHluQOekLu8Aibeza16RycKkHZA+YknqZ2IbQ64d//AXtxJMk= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/resolve-tools.RequestSchema.json b/docs/docs/reference/api/resolve-tools.RequestSchema.json new file mode 100644 index 0000000000..77a440c06a --- /dev/null +++ b/docs/docs/reference/api/resolve-tools.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"tools":{"items":{"anyOf":[{"properties":{"render":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Render"},"permission":{"anyOf":[{"type":"string","enum":["allow","ask","deny"]},{"type":"null"}],"title":"Permission"},"type":{"type":"string","const":"builtin","title":"Type","default":"builtin"},"name":{"type":"string","minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"BuiltinToolConfig"},{"properties":{"render":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Render"},"permission":{"anyOf":[{"type":"string","enum":["allow","ask","deny"]},{"type":"null"}],"title":"Permission"},"type":{"type":"string","const":"gateway","title":"Type","default":"gateway"},"provider":{"type":"string","minLength":1,"title":"Provider","default":"composio"},"integration":{"type":"string","minLength":1,"title":"Integration"},"action":{"type":"string","minLength":1,"title":"Action"},"connection":{"type":"string","minLength":1,"title":"Connection"},"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["integration","action","connection"],"title":"GatewayToolConfig"}]},"type":"array","title":"Tools"}},"type":"object","title":"ToolResolveRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-tools.StatusCodes.json b/docs/docs/reference/api/resolve-tools.StatusCodes.json new file mode 100644 index 0000000000..26923b8b9e --- /dev/null +++ b/docs/docs/reference/api/resolve-tools.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"builtins":{"items":{"type":"string"},"type":"array","title":"Builtins"},"custom":{"items":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"input_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Schema"},"call_ref":{"type":"string","title":"Call Ref"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["name","call_ref"],"title":"ResolvedTool","description":"A runnable reference resolved into a model-ready tool spec.\n\n``call_ref`` is the ``tools.{provider}.{integration}.{action}.{connection}`` slug\nthe execution bridge sends back to ``POST /tools/call``."},"type":"array","title":"Custom"}},"type":"object","title":"ToolResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-tools.api.mdx b/docs/docs/reference/api/resolve-tools.api.mdx new file mode 100644 index 0000000000..437740bb14 --- /dev/null +++ b/docs/docs/reference/api/resolve-tools.api.mdx @@ -0,0 +1,71 @@ +--- +id: resolve-tools +title: "Resolve Tools" +description: "Resolve an agent's tool references into model-ready specs." +sidebar_label: "Resolve Tools" +hide_title: true +hide_table_of_contents: true +api: eJztWMFy2zYQ/RXMXtrO0LST6UmnKk6m8SRtNLbbi60xIXBFIQYBBgAdqxrO9CP6hf2SzgKkSEqW4qa9tT7YMrlYLHbf233QBjwvHExu4NoY5WCeQI5OWFl5aTRM4BKdUQ/IuGa8QO2/ccwbo5jFJVrUAh2T2htWmhzViUWer5mrULj0Vt/qX7mSOffo2LkpK+OkYcJojYK8O1ZXbGmN9ozrnKG2UqzQMeRixXgwodcl8yu81YJ7rkyRMGcYZ7bWWuoixsS+xbRI2Ux+xwr0jmWZqJ03ZThSlrHPK+OQZRk+oqg9ZtmttqamqBZc3DO/sqYuVizLZh+urtkpnc+dCq5UlrE/f/+DVdY8yBwtu8e1Y87zNXNoH9CeOJljCgmYCi2ngC9ymICNObsLjiABi59qdP6Vydcw2YAw2qP29JFXlZIirDz96CjhG3BihSWnT5Ulv16io/+it8kGpMcyfOB6/WEJk5tdS4s6Rzu24HkuaRuuZgNbb2tMwK8rhAmYxUcUHppk0z3RtVLQzBPw0isMaAiemwQqtKV0TsaY+33alc5bqQtIAHVdEry4UuYzJMDdPRDG9Brmx3aa9f6bLsJ978Jo52ECi1oqLzX066/JkjZa8loNTZoENC+f9FZK/R514VcwedF7+pmsmyY5kMIlV24vh7Hm0mJOZw/7Dc72KoZC8Dw3eimLkPP/eg0L7vEzXx+rYWdCsbecfH4dZ92KoUfRti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+sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Resolve an agent's tool references into model-ready specs. + +Validates Composio connections up front and enriches each action from the +catalog, so a running agent (e.g. Pi) gets ``customTools`` whose ``execute`` +routes back through ``POST /tools/call`` — provider keys stay server-side. + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-workflow-revision.RequestSchema.json b/docs/docs/reference/api/resolve-workflow-revision.RequestSchema.json index 933ac88bcf..b769d1f2e1 100644 --- a/docs/docs/reference/api/resolve-workflow-revision.RequestSchema.json +++ b/docs/docs/reference/api/resolve-workflow-revision.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Workflow artifact; resolves against its latest revision."},"workflow_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Workflow variant; resolves against its latest revision."},"workflow_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Specific workflow revision to resolve."},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursive depth for nested `@ag.references`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve in one call.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle unresolved references: `EXCEPTION` or `IGNORE`.","default":"exception"}},"type":"object","title":"WorkflowRevisionResolveRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Workflow artifact; resolves against its latest revision."},"workflow_variant_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Workflow variant; resolves against its latest revision."},"workflow_revision_ref":{"anyOf":[{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},{"type":"null"}],"description":"Specific workflow revision to resolve."},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursive depth for nested `@ag.references`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve in one call.","default":100},"error_policy":{"anyOf":[{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},{"type":"null"}],"description":"How to handle unresolved references: `EXCEPTION` or `IGNORE`.","default":"exception"}},"type":"object","title":"WorkflowRevisionResolveRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-workflow-revision.StatusCodes.json b/docs/docs/reference/api/resolve-workflow-revision.StatusCodes.json index 5e7e35806a..6ff81f32df 100644 --- a/docs/docs/reference/api/resolve-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/resolve-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision with `@ag.references` replaced by their resolved payloads."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Metadata describing which references were resolved, depth reached, and errors."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"WorkflowRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision with `@ag.references` replaced by their resolved payloads."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Metadata describing which references were resolved, depth reached, and errors."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"WorkflowRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/resolve-workflow-revision.api.mdx b/docs/docs/reference/api/resolve-workflow-revision.api.mdx index e95e2ee4af..e6a20282df 100644 --- a/docs/docs/reference/api/resolve-workflow-revision.api.mdx +++ b/docs/docs/reference/api/resolve-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Resolve embedded references in a workflow revision configuration." sidebar_label: "Resolve Workflow Revision Endpoint" hide_title: true hide_table_of_contents: true -api: eJztXG1TGzkS/isqfbnd2sEYkpBd35dlA7lwmxcKSO7qgAJ5RrYVZM2spAF8lP/7VetlRjMej41jqo7E+RJGbj0ttVpSS0/PPGBNhgr3zvG/Unkz4OmdwpcRTqiKJcs0SwXu4ROqUn5LER33aZLQBEk6oJKKmCrEBCLoztVFkt4yxVKB4lQM2DCXBCA6F+JCnI2YQlQkWcqE7l2InQ56S3U8ogrpEZ2FuBC7HeQ0K0Q4R7+TYSfQrNMbKkwDoH5F4YV4AXV1LoVFL9p1x/QISYuaVCuhX9CYapIQTXCE04za4qME97CrceVbeeUBcYQl/SunSv+RJhPce8BxKjQVGv4kWcZZbFC2vyow5QNW8YiOCfyVSdChGVXwFCAPTF0x+TTAvfO63C2VRm9FRE8yintYacnEEE+jokTknOPpZYQ10xwKvrjq0wgrng9XhTmFutMIs6QNIcKDVI6Jxj2c5yxpRTxK8HQa+Z/T/lcaa1z+fOLHvRGk6q7ekxGRmg1IrP/uR1whMiRMKI2YVogTTZUufKMDHSq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ZcmaPRfvHRzN+V/kJYj0Sm9DGb5jm58ImfvcuN21zzjaRHtaUjH8vfqmwm7jb2el0oQiiiTERgQqf+F5kIvq4FR26z6bVGx18beyH/EibC24glNzOOGEiYEJtmHZe7EbKhJYuUMOR/6QbRJQjCOx65/jhoU8U/Sz5dArFf+dUQux16bbBPrjQ+WVBlZqw7IZOfDwr9JYJjEGc5zbqqp0TIPyzNfZjcNNW2csg9jz+dHqGI9x3H5kbm00AS3IHPSF3uIfNN+u06RxclUDZA+ZEDHO7n1lM+Pd/zGNsew== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/respond-interaction.ParamsDetails.json b/docs/docs/reference/api/respond-interaction.ParamsDetails.json new file mode 100644 index 0000000000..da0abe482a --- /dev/null +++ b/docs/docs/reference/api/respond-interaction.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"interaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Interaction Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/respond-interaction.RequestSchema.json b/docs/docs/reference/api/respond-interaction.RequestSchema.json new file mode 100644 index 0000000000..e9d6a0442d --- /dev/null +++ b/docs/docs/reference/api/respond-interaction.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"answer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Answer"}},"type":"object","title":"SessionInteractionRespondRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/respond-interaction.StatusCodes.json b/docs/docs/reference/api/respond-interaction.StatusCodes.json new file mode 100644 index 0000000000..42f9c46899 --- /dev/null +++ b/docs/docs/reference/api/respond-interaction.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interaction":{"anyOf":[{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"created_at":{"anyOf":[{},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"status":{"anyOf":[{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},{"type":"null"}]}},"type":"object","title":"SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/respond-interaction.api.mdx b/docs/docs/reference/api/respond-interaction.api.mdx new file mode 100644 index 0000000000..a562bd871f --- /dev/null +++ b/docs/docs/reference/api/respond-interaction.api.mdx @@ -0,0 +1,69 @@ +--- +id: respond-interaction +title: "Respond Interaction" +description: "Respond Interaction" +sidebar_label: "Respond Interaction" +hide_title: true +hide_table_of_contents: true +api: eJy1WF9v2zYQ/yoEX9YGqp0VezKGYWnTokbX1UjS7iExDFo82awpUiUpJ5rh7z4cScmS7apJ4OUlMnn3u7883nFDHVtYOrql12Ct0MrSaUJ1AYY5odWY0xE1YAut+EwoB4aluE4TWjDDcnBgkHtDFcuBjmiLZiY4TahQdEQL5pY0oQa+l8IApyNnSkioTZeQMzra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STPPje+wlZor9OHdubiJ/D/tV6GvxPiHvM5t04d9vuvupmKLY6va3CsdR6xvBlIY5dv71+fThpfWVS8FAs3hnjC/czxywOjgnpRyIH+ZHWQOq0s/uIC6ge1fyhimvMGFa17P5LBwV9mO2ir8/8BNayReuO/jGpdwa5wV0/C2KLieTNQI8LOOu4hxbMQVDeoi8f3E9TBH0T1I907Z6oCVGI0I9dcRlC0JclH25uJgeAIT+6iREndzLuvJ7k4JYaH1cKbR2tmwk6jCluh62p2Q433WeV7TD2zhR7HbOu32BKIxGDFcLHPvxcOlfY0XAI5SCVuuQDtgDl2ICJQDhFjLQ0wlUe5GIy/gjVB2Acnz9up22Ca0zZkIRdsiZwrBDYHiX1e9BF6ZbaiH9ZtNs/By0DF/oKD8PV7gHn3QPLCwmdB5itz5tMt9PmwttALibjgwaps4VHkKU+42qF/DaOPB3v7JyCs0ruDyB1wPI/mx3Ml6Yrp+eDXwfnvg3U1uVMtUQcj3hHy8ZfmNTDQjLhj53XaROToal3lnYeUfDn6OCdrc6IaUKXmFKjW7rZzJmFL0Zut7j8vQSDIZ4mdM2MYHP05O2GcmHxu32NdjRtyhh9cRVP2ktCk+MW1GmgMAfWTJb4C6s0ttv7r4O+Gi3rTIs9eTjqyr3yNWMHclBCMcUDx0WaQuF6aaetIzf5fH1DEzqPD4a55shj2D26kd0HhXURfI3jIq5tqGRqUWLVG9GAiX//AQLWWfI= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Respond Interaction + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/retrieve-application-revision.StatusCodes.json b/docs/docs/reference/api/retrieve-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/retrieve-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/retrieve-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/retrieve-application-revision.api.mdx b/docs/docs/reference/api/retrieve-application-revision.api.mdx index 0002169c50..091194c273 100644 --- a/docs/docs/reference/api/retrieve-application-revision.api.mdx +++ b/docs/docs/reference/api/retrieve-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Retrieve one application revision by reference." sidebar_label: "Retrieve Application Revision" hide_title: true hide_table_of_contents: true -api: eJztG11z2zbyr2BwD3FylOymSXqnvlwaJxO36cVjx+2D7bEgciWhBgEWAOXyPPrvNwuQFERSVOzID3cjv1ii9gPY7wWW99SymaGjS/o2ywSPmeVKGnod0QRMrHmG3+mInoHVHBZAlATCVqBEw4Ib/DApiIYpaJAxDK/klXwbx5BZswZ9SBZMcyYtOVxh1miGTJUmCdcQWyKUus2z6EoqTZgkIBdcK5mC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/U1sZimzMhinq8qRo2CaYW3NjJ+8WLJrXJmQhNvKI1JDHTujVe3/UGy4V0huymIcCib/YJMgjGlXp4B+E8Y8EMh45qgYqi4ofUlked/k46RhgbT+uZjGrnOPHrSVmmJ2BJnkV+OqrSrRuLukWIaygGJGN2Oicpy1ZMXD0ywaCNcYBu254cMq159X8i3gRaaynLUVJZT8AMxEJxdx9cqodlGgM1bsyoF8zFeUDcLgiVgZvVmUf0xbNn7XGcr0zwxNciLqzffxYnAcu4WEooywBCxcsFxh3K3cvV2ehjOZPkbgDMpO3Cnbe+HmQ1qBMG+YK/Vn2rAw87L3eyan8EZFqKfIuy/GE7lR2mR5SNX34JtzQLUKnIa2i1KA69CtZZFg6DtQh6+0jBThW+YpUpNxiHPkQHdNPoG8UAiwOIxunSHfwhEneK9F+n1mZmsL8PeT8WKk/67qqS9Rn3gJdII841t4Uj8ub46E8o/NGTqy4CANdyeYtaBqu1wDLuRzH93UU5jsD/U13KczR8f7zoZIWWfbJ4beydnzdsjm6VY7x12l3YjM+fi++YC+nzMfvHy/GrF72Xvz39rffi5atnvdHzcdx7Fv/z1fPxq1dszF5teIfoIVk1p5O3zavjFYOHZPHAkls3171tXm4AeYFbT+mWE5ZVKVmnCudJ5M3xUSszLP2EUZ3FLohVbuF+plHDRxeu6YpyF9OpBZb+q/5l6YKEHvSf9g/wEcaNlMmARf2mbTg/VrfLrYvBOvPsXtH933pFtwy8mOr2M8G4DK6AfBo5D6OPcXZdJhJaN0ou600x+QzO6e3tiBk402I+x8ffc9CYGy7LabsRGv/5ZX1P5NKGd5233op6LnkjuMh9VmjUMpiePIY3nbWwl0F+xIlwGtFR+Ypx6qaHqGY3uBV2QwfUvbXsd4rdHT67pYLJSe5m1qiniX//BUU7zWE= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/retrieve-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/retrieve-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/retrieve-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/retrieve-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/retrieve-evaluator-revision.api.mdx b/docs/docs/reference/api/retrieve-evaluator-revision.api.mdx index bf1d8700e2..d989e554a4 100644 --- a/docs/docs/reference/api/retrieve-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/retrieve-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Retrieve one evaluator revision, either directly or via an environ sidebar_label: "Retrieve Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztW0tz2zgS/isoXCbJUrLz8uxqaqvWYycVzyQbl+1kDrbLgsimhBgEGACUo3Xpv281wJdISrIV+bBbyiUW2egGuj/0A2jeU8vGhg4u6bspExmzSht6HdAITKh5armSdEDPwGoOUyBKAoGCkGiYcsOVDAhwOwFNIq4htGJGlCZTzgiTBOSUayUTkJbcwqx/Ja/kqVZTHnluKh5cSaQrue6RKdOcSUv2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Oy5hHq8ofttHg90KFu/PRzuoUb+sJE3kLLVXHsTbAKXthC1WLo8ZGAnSj8bChVrqkNNxId0L0SUWavgBT+5TFO0cfqqas9Lu/9cRzdYyl3ZvQ/J9amZrC3B1k/FCqL+u76kPUZ94TXyCPMNLczx+Tw9ORPmPkDIZcl1AhcIeTxtEhW2oCl3Dc3+huFvEWA/6e4KOcIe3/o5zSFuD6rPoV694MlqQDa9WlTGXcrvPgAWv3GYEhfx+zvb+ODN723v778tffm7cGr3uh1HPZehf84eB0fHLCYHaz8NubpBDVbeLcuqd1A/5QinlpvK5qfty3LNfNWY8ue2by3scgjy84Xt4fI4elJKzAsvEJvzkLnvIoN4V7ToLE7q03p0mrny6kFlvyrfLNwYUH3+y/7+/gI/UXCZE1E+b1o1ct1Vn142LimK+PN7jPT/5XPTHNXi6FtLxWMy9pVjA8bl5XPMQ7NeeCgZW3kYtwEQ83gkt7fj5iBL1rM5/j4ewYaY8F13vE2QshfXpe3NS5M+A1z5NHTc6EayUXmo0Ajc8Fw5EcchiG4S4LltNe1aHj6+fyCBnSUfyabuA4eqtkdLoXd0QF13926RmVX0OGzeyqYHGeub4x6nvjvv9JbUqI= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/retrieve-workflow-revision.StatusCodes.json b/docs/docs/reference/api/retrieve-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/retrieve-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/retrieve-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/retrieve-workflow-revision.api.mdx b/docs/docs/reference/api/retrieve-workflow-revision.api.mdx index d444373dec..87d9bc72c7 100644 --- a/docs/docs/reference/api/retrieve-workflow-revision.api.mdx +++ b/docs/docs/reference/api/retrieve-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Retrieve Workflow Revision" sidebar_label: "Retrieve Workflow Revision"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NzfF3lmYCaMM3NGWUnRuWD5fz3xj66K8J+/ur5OBl99Vvz3/rvnx18KI7/DWJui+ifxz8mhwcsIQdtH2G8Wh6lgtEt62ooV77MVU8Mm1tpbXb1uWqR+dty8LMUB1X5IxlIYtbQOTw9KSWNCy8QqfPIufjitXgXtPO0tKcr0iXRDuXTy2w9PfyzcIFBN3vPe/t4yP0FSmTFRWtPmbp1i2sWfSme5lgXFaO6b37uSzN1zhiggOiZUrtvOoYPVb/kt7fD5mBz1rMZvj4Ww4afcp1qLYaInuX1+VBvnM3nvsjHx+7LjiguMi9N1mKlejWfIvDKAJ3frxa9rriVLGelHboMHzXl7raDqrZHQ6F3dE+pfidoCvjdPsAfHZPBZOj3FUUUY+J//4HxViA1Q== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/revoke-trigger-connection.ParamsDetails.json b/docs/docs/reference/api/revoke-trigger-connection.ParamsDetails.json new file mode 100644 index 0000000000..310ab7b5e8 --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-connection.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-connection.RequestSchema.json b/docs/docs/reference/api/revoke-trigger-connection.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-connection.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-connection.StatusCodes.json b/docs/docs/reference/api/revoke-trigger-connection.StatusCodes.json new file mode 100644 index 0000000000..950214796a --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-connection.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},{"type":"null"}]}},"type":"object","title":"TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-connection.api.mdx b/docs/docs/reference/api/revoke-trigger-connection.api.mdx new file mode 100644 index 0000000000..968e7ac8da --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-connection.api.mdx @@ -0,0 +1,69 @@ +--- +id: revoke-trigger-connection +title: "Revoke Connection" +description: "Revoke Connection" +sidebar_label: "Revoke Connection" +hide_title: true +hide_table_of_contents: true +api: eJztWE1v20YQ/SvCnBKAkVyjJ56q2g3iuqkFS+5FEIQROZI2WXKZ/TCiCvzvwexS/BBtxRGcU3uySc68mX3zdnZHe7C4MRDPYabFZkPawCICVZBGK1R+k0IMmh7VZ1raYLBMVJ5Twl8hggI1ZmTZL57vIceMIIbGZClSiEDkEEOBdgsRaPrihKYUYqsdRWCSLWUI8R7srmBnY7XINxDBWukMLcTgnEexwko2uKrRBzcplOWCQU2hckOGcS4vLvhPSibRovCJxjB1SULGrJ0c3FfGEHGilnLL5lgUUiR+1aNPhn32rdwKzZxYESIkygWnKmWRW9qQ7uTIFhGktEYnLcQXZdSixQfMd3drz1oXfC19RdoGmKaC3VBOOqaNRZXISilJmEMZHdPJb56GgUToxEnUb/7CFck/jcrf3TlbOPuWFxRQ1OoTJRaY68MSj62h7Fk3WeROyo73e79KdvkvrHZWLTYji2cutrWyI9V1Amer7ps2R99j5L2T3yEk2oOwlL3QC7XG3WkVdH1/jNSPTCZvK01oKV2iPUVcq5+kaOmdFRmdhL8KsIOxT8sV6c8I8hBgqyApSfoJQa4DbBXkQNdqx835ZXF8B34JWb/vfE9u+HrVKAe26igHwl41yoGuOko41V60J3tgf6MvTvc0Og/qugVRRmCk25wLNWXfMoLXIy0wVWj1KFLSy8+0e+pIp9xlfNlIVFYoIxS0e2S4X0wqiFuRe0jf5cJt5DnUOofGdHBLO087/t9wX63hXmNouMaidebUHUZTKjQldum0PFej9xXG4EFLKHuJ9oTTXAunIb8++FMozX103pVvX3p9sTYxXxjtWf/6UlqW7Pfr5WX/DvsPSpEGef+htdLnX2BTsih8ZSp1HRtIlXS+/sjuWJRHgmzdolRI0N+FzObUZv5IxuCGGoU+b+rJGMz4q28YLGw2r9tCpfTEfm3B9GpyxVx+tU9qra0S5iakX9m1dNGUKFToeSquQwlOieTDbDbpAQZ9dIVx7ye0wVV7MsvIbhWPb4Uy1k9qdgsxjKoxzoyaacSM9p2JrRyFkQ8iMKQfD8Od38swwkL4sofHrbWFiUcjcsNEKpcOcUO5xSGKYLhgjMRpYXceZDy5uaXdB8KUNMTzRdtgymoN+uua1TXDQtz6rVkNmmNnt0qLf7FatB80t8Gr9FpYq7YUxj65wXhyA8ccdj7xtsLEq+gQyX+G6GjZzWr5dMv8pgJLmP1Wf2ENMIchzMXwl+GFPyqVsRnmrRBPVfHo2lDRwDIdFRKF30hVjw0FnsOhwNAeOPkpPh7LqyovItiyRuI57PcrNPSgZVny6y+ONJdtEcEjaoErJnG+h1QY/j+FeI3SUC/NuivBm/tq47wdNMdUN/1DaXOu6yNKx08QgT/sj35K8L1lexDPvrIZJwkVtuXda4WssnpDTO6mMyjLb5bU1dk= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Revoke Connection + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/revoke-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/revoke-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/revoke-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/revoke-trigger-subscription.api.mdx b/docs/docs/reference/api/revoke-trigger-subscription.api.mdx new file mode 100644 index 0000000000..0c602bb48e --- /dev/null +++ b/docs/docs/reference/api/revoke-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: revoke-trigger-subscription +title: "Revoke Subscription" +description: "Revoke Subscription" +sidebar_label: "Revoke Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFv2zYQ/isEX9YGqp0VexKGYVnSoFnX1kjSviSBQUsnmQ1NquTJrWbovw9HSrJku46TpU+Jxbvv7r478o5ccRS54/ENv7Yyz8E6fhdxU4AVKI2+SHnMLSzNPUwxCExdOXOJlQWt84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SO2QSXXAoxENrFNCZQaYN+qtLUJAajXfMgjNq2bJS/dLpM3aRsXuomHTMAUaNocZqo+0gMToVttqrrg3ugEilhQRVxTpPhhnqwHZU365yW18cb3on+/bR2r9DnFFfeAhs2NaaZrIf90CX9yB0V9C6Js3fXr/evrH6S1hI6htr/QZ74nU1BRRS+StkGM43BZRJBquPuVzc1RvzfO9OZIKD/mbj8n19+D04J/LeWbqnZRMZ7JpW2/7pxfvdzc8r+L0Hs5WVU+LyOz5YH8RNcL+R6/euLkUhQz+m4iykYF+ZvL2+nmwBhvoYFsalf5VhV8PXmAXg3NCjTWH87Tsc+nzcDDVu3H99cOPVxjtNPQ6PPZyakl22jzqlVQQiCumTH37OEQsXj8dQjhJlynQkctAoRkIGwTvCSEorsfIgJ5OLd1C9BZGC5fHNXV/gimo2VOFQrMucKCT1sfYex09KnBsr/xVN4P55aR60al8RmekXxIl3jp1MLrZa1GCJNpdIfC21lvwyjzbCXkfLIw4Lv7U4glj82a1QJXRzET8e/To69o3YOFwI3TOxO5cbt82GCCrXcaGE9BvK+7Rq0nzTzq6OD5+Z6He8/STX5Pou4nOqlviGr1Yz4eCTVXVNn7+WYCl5dxFfCivFjKi8WfFUOvo/bR51tlztTij+4rLZRC/Z+sY/DKFNsKbsLoUq6RePwsSz9ZDoT5p5W0TNXMRPkgQK7OlvHYxUbd3mmHy8uuZ1/R+GAj3e +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Revoke Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/sessions.tag.mdx b/docs/docs/reference/api/sessions.tag.mdx new file mode 100644 index 0000000000..dbe822f3fb --- /dev/null +++ b/docs/docs/reference/api/sessions.tag.mdx @@ -0,0 +1,20 @@ +--- +id: sessions +title: "Sessions" +description: "Sessions" +custom_edit_url: null +--- + + + +Agent sessions — runner coordination (invoke/cancel/steer/attach/detach/heartbeat/liveness), state persistence (durable SDK state and sandbox resume pointer), records, and streams. + + + +```mdx-code-block +import DocCardList from '@theme/DocCardList'; +import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; + + +``` + \ No newline at end of file diff --git a/docs/docs/reference/api/create-metrics.RequestSchema.json b/docs/docs/reference/api/set-metrics.RequestSchema.json similarity index 97% rename from docs/docs/reference/api/create-metrics.RequestSchema.json rename to docs/docs/reference/api/set-metrics.RequestSchema.json index ee14cff3ad..8aabc1d965 100644 --- a/docs/docs/reference/api/create-metrics.RequestSchema.json +++ b/docs/docs/reference/api/set-metrics.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"metrics":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetricsCreate"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"metrics":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetricsCreate"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsSetRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-metrics.StatusCodes.json b/docs/docs/reference/api/set-metrics.StatusCodes.json similarity index 100% rename from docs/docs/reference/api/edit-metrics.StatusCodes.json rename to docs/docs/reference/api/set-metrics.StatusCodes.json diff --git a/docs/docs/reference/api/set-metrics.api.mdx b/docs/docs/reference/api/set-metrics.api.mdx new file mode 100644 index 0000000000..1dd2eae840 --- /dev/null +++ b/docs/docs/reference/api/set-metrics.api.mdx @@ -0,0 +1,67 @@ +--- +id: set-metrics +title: "Set Metrics" +description: "Set Metrics" +sidebar_label: "Set Metrics" +hide_title: true +hide_table_of_contents: true +api: eJztWdtu20gM/RWDT7uAHDtuLq2eNr2h2TZokKR92MAoaIm2pzsaqXNJ6xr+9wVnJEuyEzUJUqBZ1C+2KPJwhnN4kbwEizMD8SW8ukLp0IpcGRhHkBek/dVxCjEYsp8yslokBiLQ9MWRsc/zdAHxEpJcWVKWf2JRSJF4u8FnkyuWmWROGfKvQjOqFWT4qsKLlyAsZWZbYyr92paAavF+CvHlEjBNBaOjPG2p1hp2URDEMMlzSahgFa1FxmqhZl5yPQwkQidOov7jHU5I/m1y1T9WhbN/QlSB5JPPlFhYjSOwwkoWbSjDaku5XoNyUraMX/s9ssn/f68X5VYzsnjPrTb2VUqEsjQj3XacTdq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sd7R6TFsUqd1i6sJJj55qvD72xBtcKGmAI8Uma8lYAmzv9Z3WjMRDHd2d4YsKnJjM1QNF23ytla3ZgXn5aCQKHzl8GtZlsS+hAaxoX4Wj4Dzcp4brsWwXE7Q0ActVysWf3Gkma3jCK5QC5xwmC45dPOKt0v4lxZVVVC278sLq0sXeLpRbTlhgsVRklBhO3XHjSw9/XABEUzK/zGyPGUTjV/56PErxAD8R0jYXrwMsiVIVDPH9TGGAMmf/wDZA55A +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Set Metrics + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/set-repeats.ParamsDetails.json b/docs/docs/reference/api/set-repeats.ParamsDetails.json new file mode 100644 index 0000000000..5b5e87ae3b --- /dev/null +++ b/docs/docs/reference/api/set-repeats.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/set-repeats.RequestSchema.json b/docs/docs/reference/api/set-repeats.RequestSchema.json new file mode 100644 index 0000000000..40e79f465d --- /dev/null +++ b/docs/docs/reference/api/set-repeats.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"repeats":{"type":"integer","title":"Repeats"}},"type":"object","required":["repeats"],"title":"SetRepeatsRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-repeats.StatusCodes.json b/docs/docs/reference/api/set-repeats.StatusCodes.json new file mode 100644 index 0000000000..43fbfeddf9 --- /dev/null +++ b/docs/docs/reference/api/set-repeats.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"properties":{"steps":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"properties":{"column":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"step":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-repeats.api.mdx b/docs/docs/reference/api/set-repeats.api.mdx new file mode 100644 index 0000000000..fa29951a67 --- /dev/null +++ b/docs/docs/reference/api/set-repeats.api.mdx @@ -0,0 +1,69 @@ +--- +id: set-repeats +title: "Set Evaluation Repeats" +description: "Set Evaluation Repeats" +sidebar_label: "Set Evaluation Repeats" +hide_title: true +hide_table_of_contents: true +api: eJztWUtz2zgM/isentoZNU47e/Jp0ySdZttssnbaS8aTgSXEZpeiVD6ycT367zsg9bYkK2l6ay6OJOAjAIJ4EDtmYK3Z7JadP4CwYHgiNVsGLElRuaeLiM2YRnOnMEUwmgUsBQUxGlTEuGMSYmQzhiXAHY9YwLhkM5aC2bCAKfxuucKIzYyyGDAdbjAGNtsxs02JWRvF5ZoF7D5RMRg2Y9Y6FMONIIJKvMlFxLJs6UFRm/dJtCWk9hphIg1KQ58gTQUPHff0m04kvatESBUpazhqD+PVrGTj0uAaVU2YeU6TZUFBlKy+YWgaqt6WWMuKdYEm55578VmWEYxCnSZSexneHR/TT4Q6VDwlsYnThiFqfW/FZJ4Ts2drGSbWM/XqeOooAhbhPVhh2OyYpLQOFeT26t7tfRP1Xjhn6ifg+k7wB6wtvEoSgSBrC1/oyWeiqS19D0JjFhA7hGYEwImn6oYIRaJpf4YhTj1VN8R3i/agEP84oh4ZINyMkMFTdUPoVHBzCGHhiDoANuC0UPnG9GJ8BKeIo+uBMaiNRnMY56Yg7ANSEI4Q58aTDUgTgh6DU1L2QOURLVGHsc4r0h6w0GqTxAeBTj1ZD8jGxiAPYnx0VD0QYE1yEOGEiPYAOqLdfnieW/nBhYEsKBeRVgiWLYl/L0BAFHHiA3HdCBUVRUvSGm6eNehNNwwLuQqtAPXqM6xQ/KUT+ebKmtSa16ytTFaL0m1qtqf6vnYV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aOgHvCJWGEVnGzdSAn1xefcPsRIULFZrfLOoErI7wfNsnKvYOUf3LxKJ9cnlizSRT/UfTdbnK58VxkLjoP82rYeP4IpH9jWHjsXOc+qXvOidNhcnJ9wdomb3yiUwihc7pCIPeZBS3rVEahJj92Z5AZhPjP8kvjaocdH709OnYxPNEmnxzkS/RueutuNDcZufY0FeBvC5xYu9wfbpn3B5KpNkMO2Kw9Ea4myOQWy4BtyK9mt2y3W4HGL0pkGb2muRTt8zJgD6A4rMictzsWcU3/R/k8Yk/WMpyxV/P8xL2eVGVuU4fCFyQ5AglKTyzwSbE1zHZBaVN4W544/YmX5s2NrzsLjL1ISm7uOU7CEFMzSLusHbvrq8UNC9gqH3DHSUQ8Cv4jW8J/Xt4k9fYmb6R3OyZAri0FvxnzmPT3P1zx8ns= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Set Evaluation Repeats + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/create-results.RequestSchema.json b/docs/docs/reference/api/set-results.RequestSchema.json similarity index 97% rename from docs/docs/reference/api/create-results.RequestSchema.json rename to docs/docs/reference/api/set-results.RequestSchema.json index 78c57eaad1..a498f82318 100644 --- a/docs/docs/reference/api/create-results.RequestSchema.json +++ b/docs/docs/reference/api/set-results.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"results":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsCreateRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"results":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsSetRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/edit-result.StatusCodes.json b/docs/docs/reference/api/set-results.StatusCodes.json similarity index 80% rename from docs/docs/reference/api/edit-result.StatusCodes.json rename to docs/docs/reference/api/set-results.StatusCodes.json index 0ad18a2bc7..c403eb7a70 100644 --- a/docs/docs/reference/api/edit-result.StatusCodes.json +++ b/docs/docs/reference/api/set-results.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResult"},{"type":"null"}]}},"type":"object","title":"EvaluationResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"results":{"items":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResult"},"type":"array","title":"Results","default":[]}},"type":"object","title":"EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-results.api.mdx b/docs/docs/reference/api/set-results.api.mdx new file mode 100644 index 0000000000..397ede57b6 --- /dev/null +++ b/docs/docs/reference/api/set-results.api.mdx @@ -0,0 +1,67 @@ +--- +id: set-results +title: "Set Results" +description: "Set Results" +sidebar_label: "Set Results" +hide_title: true +hide_table_of_contents: true +api: eJztWVlvGkkQ/iuonnalwWDiI+FpHSdR2CSKZeM8rIWsYqaAyfYc6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LRidMT+10cvpisWraCzyV6ivPTNbd3LMWF7rOynE2Dj3Czm/slZXVKXAW6B4566gjSQfx+OTLYOOHxtjKelOTcGE9CLj1wp87ABy1AsYQo/qNxC9YobscRSQ5G7C3q2RgiUxj+3Fuq8LrXM17PXI7IQiM9EOzinVuIOxE5ywjdDIWC+tkaOT0SdafiSMSNow8ATOmI+OYU2x6lYwjz/Z6Ewx4e9HRi8yGf9ytOHbZZecFgPBTD+tX5i8v8YkF9R4AXJRT8T1tFiPUn475f9k6/VG8GqGr/dnB3vd/cPdw+7e/sGgO301C7uD8M3Bq9nBAc7wAPyWxyOp37rc11DZjXgV1CuPdX3qN+oLe7/H3g/ejHf3h/u7w8Hrnf7h7j/QrBF9P6vXnjYy9309LRP1/eSL3wJnmR+fR5ZPnaOTEWwSu/GIcx2GNrRLctjHEGwwtSYoQ5nYTAeaMPmretJooqG/s7vT56U8UzrB1NuiGVoN7yrOctbo5QJjm9esL6si7C7ACzuof7wJgLPGIlNcKWC1mqKicynWa17+YUhyLE0CuEIZ45RhumDoFmVUrcBd3rHL/12b/FhcGBdFG7WAw9lpHIUh5bpVduLlkJPzMQQwLd5FJlnEKhJ/8lnwJwwB+GWmOx4HHa+tQGA6N5y9h+BM8t9/847dkA== +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Set Results + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/set-session-stream.RequestSchema.json b/docs/docs/reference/api/set-session-stream.RequestSchema.json new file mode 100644 index 0000000000..1a6909f1ed --- /dev/null +++ b/docs/docs/reference/api/set-session-stream.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"force":{"type":"boolean","title":"Force","default":false},"detached":{"type":"boolean","title":"Detached","default":false}},"type":"object","required":["session_id"],"title":"SessionStreamCommandRequestModel"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-session-stream.StatusCodes.json b/docs/docs/reference/api/set-session-stream.StatusCodes.json new file mode 100644 index 0000000000..c92149717d --- /dev/null +++ b/docs/docs/reference/api/set-session-stream.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"mode":{"type":"string","enum":["send","steer","cancel","attach"],"title":"CommandMode","description":"Derived from the prompt × force matrix."},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"watcher_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Watcher Id"},"detached":{"type":"boolean","title":"Detached","default":false}},"type":"object","required":["mode","session_id"],"title":"SessionStreamCommandResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-session-stream.api.mdx b/docs/docs/reference/api/set-session-stream.api.mdx new file mode 100644 index 0000000000..e9e127038a --- /dev/null +++ b/docs/docs/reference/api/set-session-stream.api.mdx @@ -0,0 +1,67 @@ +--- +id: set-session-stream +title: "Set Session Stream" +description: "Set Session Stream" +sidebar_label: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ok3p9tWzF8ackL/JoU7dAq3AtVaroOyF8IRPtOh7zXDP4SmlXDdROLP7jBRYFwxy3Oq+dnYzUj0iw/LFaSw7T6t4kgFh/fSzHgPGYB8onE4n3x7ie0IGs2+kWsng5hTfn8DWkVl+Q== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Set Session Stream + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/set-state.ParamsDetails.json b/docs/docs/reference/api/set-state.ParamsDetails.json new file mode 100644 index 0000000000..1395151c44 --- /dev/null +++ b/docs/docs/reference/api/set-state.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/set-state.RequestSchema.json b/docs/docs/reference/api/set-state.RequestSchema.json new file mode 100644 index 0000000000..e52c78e3e8 --- /dev/null +++ b/docs/docs/reference/api/set-state.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"properties":{"data":{"anyOf":[{"properties":{"latest_agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Agent Session Id","description":"The latest-run harness's agentSessionId; a fast-path mirror of harness_sessions[].agent_session_id."},"latest_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Turn Index","description":"Conversation-level turn counter compared against each harness's turn_index."},"harness_sessions":{"anyOf":[{"additionalProperties":{"properties":{"agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Session Id","description":"This harness's own agentSessionId, fed to session/load on resume."},"turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn Index","description":"Conversation turn number this harness last ran at. Load-eligible only when equal to the conversation's latest_turn_index; otherwise this harness's session file is stale (another harness ran since)."}},"type":"object","title":"HarnessSessionRecord","description":"Per-harness resume state. Value shape of `data.harness_sessions[]`."},"type":"object"},{"type":"null"}],"title":"Harness Sessions","description":"Per-harness resume state, keyed by harness id (e.g. 'claude', 'pi'). Durable mirror of the staleness guard."}},"type":"object","title":"SessionStateData","description":"Typed shape of the `data` column: the session's durable continuity state.\n\nStored in the existing `data` JSON column (no dedicated columns) — every field is\nread and compared in the runner, never queried server-side, so a typed DTO gives the\ncontract without a schema change."},{"type":"null"}],"description":"Full replacement of the continuity state (resume ids + staleness guard)."},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"Remote sandbox id to record alongside the continuity state."},"sandbox_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sandbox Turn Index","description":"the writer's conversation turn index; the pointer write is applied only when it is >= the row's data.latest_turn_index."}},"type":"object","title":"SessionStateUpsertRequest"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-state.StatusCodes.json b/docs/docs/reference/api/set-state.StatusCodes.json new file mode 100644 index 0000000000..0f79e788ef --- /dev/null +++ b/docs/docs/reference/api/set-state.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"session_state":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Own uuid7 pk (state_id)."},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id","description":"Bare session correlator (not an FK)."},"data":{"anyOf":[{"properties":{"latest_agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Agent Session Id","description":"The latest-run harness's agentSessionId; a fast-path mirror of harness_sessions[].agent_session_id."},"latest_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Turn Index","description":"Conversation-level turn counter compared against each harness's turn_index."},"harness_sessions":{"anyOf":[{"additionalProperties":{"properties":{"agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Session Id","description":"This harness's own agentSessionId, fed to session/load on resume."},"turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn Index","description":"Conversation turn number this harness last ran at. Load-eligible only when equal to the conversation's latest_turn_index; otherwise this harness's session file is stale (another harness ran since)."}},"type":"object","title":"HarnessSessionRecord","description":"Per-harness resume state. Value shape of `data.harness_sessions[]`."},"type":"object"},{"type":"null"}],"title":"Harness Sessions","description":"Per-harness resume state, keyed by harness id (e.g. 'claude', 'pi'). Durable mirror of the staleness guard."}},"type":"object","title":"SessionStateData","description":"Typed shape of the `data` column: the session's durable continuity state.\n\nStored in the existing `data` JSON column (no dedicated columns) — every field is\nread and compared in the runner, never queried server-side, so a typed DTO gives the\ncontract without a schema change."},{"type":"null"}],"description":"Durable continuity state (resume ids + staleness guard)."},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"Remote sandbox id — the single source of truth resume pointer."},"flags":{"properties":{},"type":"object","title":"SessionStateFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id"],"title":"SessionState"},{"type":"null"}]}},"type":"object","title":"SessionStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/set-state.api.mdx b/docs/docs/reference/api/set-state.api.mdx new file mode 100644 index 0000000000..547e0ab50e --- /dev/null +++ b/docs/docs/reference/api/set-state.api.mdx @@ -0,0 +1,69 @@ +--- +id: set-state +title: "Set Session State" +description: "Set Session State" +sidebar_label: "Set Session State" +hide_title: true +hide_table_of_contents: true +api: eJztWW1vGzcS/isDfrGNW8tucMAB6l1xjt2gvqSNYTv9khjOeDnSsuGSG75Y1hkC7kfcL+wvKYbclVYvUYTWBfrB/mSRnPeZhzPLRxFw7MXwvbgi75U1XtwUwjbkMChrzqUYCk/h1gcMJArRoMOaAjmmeRQGa0onEu2tkqIQyoih+BzJTUUhHH2OypEUw+AiFcKXFdUoho8iTJtEGpwyY1GIoILmhVYPOJdiNrvJHMiHl1ZOmWyVYWlNIBN4C5tGqzLpffSLt4bXFvIax1YFRZ5/SQxpFc307SiZsryvMZAPtzgmE2575i2RLJswK+YrJmotWPnOqDeJHZwwO+hZWAhJvnSqYaXFUFxXBFn0oYsGKnSGvN/zkBRpCc/lt4AwQh8OGwwV1Mo568COuvOdwv79PzOzbuO7m8GqRQMxKzprQ3TmVhlJDxvtVCbQmNwuhl5HZ+A8cVo18dSae3I+helQ0z1pYLlQ2mgCOSht3aAjCTh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Zei7bCRFBzp9D12BYZ3TLVXiZgPt0y+hvb5G+ruBXjd8q9ptUV4Gv4/Mt9NhbX47Pu+3wjdbPbDBhm7Vut8gsrT199fvFgfuH5GrWS+Bb5niPj905akgErzfypQveH61bZc2t0hY+eX3M3CZHQOpz2L39isYIqlH29rKH8k73FMC6D+8tHkDGBoS424aWKeJLt+Oi3wUBMeemzWwnHKvnwIX80D9k1Wvz3Xy4ZFiHKEvuyKsxyCrbfi9fXFGsOcHyuTOC1anKv2xaSmUFl+RmHj+QElVGIojrrb8ChBlz8S3OAzhOaHleg0n8JGpdDmn1UIjR8eHVEclNpGmRtWHKDKB2+YRxmdCtPE5OTi/DVNfyCU5MTw/U3/wBVnZM6x5WPzuGCjXhN7qn3kOYmhsk79NydO+85TZSp2Bef65eKx5vsHrBtN/ceWLw4Oi1Ta0G0fb2xkZytgvmCx6ZPSccrHke2nY+pIEU4uzteAfGmLSxvLlMmdJ9K2KFbCsoiGKATVqbBFIKz/Pd/hPOQYZzHHg28Gx2l0tD7UaHoiNmXSko7zMHGpHDUaVSrmpNFjm2VzqORGKeeZKASXSWV94P3Hxzv09M7p2YyX86sdp45Unu9YKYYj1J7WhM/xTuxftiV5AKLYrNQnmq4+Et5zpyiGIiXtPTrF0lKOFl1OsRqZ8jQLO0zIsqBdA1qulExxUpbUhK1nb3qlefHuWhTirn1irK1kEocTBhycsJr8Jhq6GSqtcTqbcWRoHIrMkv9+A6hgSIA= +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Set Session State + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/sidebar.ts b/docs/docs/reference/api/sidebar.ts index e1b45d31bb..26735dacf7 100644 --- a/docs/docs/reference/api/sidebar.ts +++ b/docs/docs/reference/api/sidebar.ts @@ -20,6 +20,12 @@ const sidebar: SidebarsConfig = { label: "Health Check", className: "api-method get", }, + { + type: "doc", + id: "reference/api/store-jwks", + label: "Store Jwks", + className: "api-method get", + }, ], }, { @@ -96,6 +102,18 @@ const sidebar: SidebarsConfig = { label: "Test Provider", className: "api-method post", }, + { + type: "doc", + id: "reference/api/list-organizations", + label: "List Organizations", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/create-organization", + label: "Create Organization", + className: "api-method post", + }, { type: "doc", id: "reference/api/fetch-organization-details", @@ -122,51 +140,39 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/create-workspace", - label: "Create Workspace", + id: "reference/api/invite-user-to-workspace", + label: "Invite User To Organization", className: "api-method post", }, { type: "doc", - id: "reference/api/update-workspace", - label: "Update Workspace", - className: "api-method put", - }, - { - type: "doc", - id: "reference/api/transfer-organization-ownership", - label: "Transfer Organization Ownership", + id: "reference/api/resend-invitation", + label: "Resend User Invitation To Organization", className: "api-method post", }, { type: "doc", - id: "reference/api/list-organizations", - label: "List Organizations", - className: "api-method get", - }, - { - type: "doc", - id: "reference/api/create-organization", - label: "Create Organization", + id: "reference/api/accept-invitation", + label: "Accept Organization Invitation", className: "api-method post", }, { type: "doc", - id: "reference/api/invite-user-to-workspace", - label: "Invite User To Organization", + id: "reference/api/transfer-organization-ownership", + label: "Transfer Organization Ownership", className: "api-method post", }, { type: "doc", - id: "reference/api/resend-invitation", - label: "Resend User Invitation To Organization", + id: "reference/api/create-workspace", + label: "Create Workspace", className: "api-method post", }, { type: "doc", - id: "reference/api/accept-invitation", - label: "Accept Organization Invitation", - className: "api-method post", + id: "reference/api/update-workspace", + label: "Update Workspace", + className: "api-method put", }, ], }, @@ -178,6 +184,18 @@ const sidebar: SidebarsConfig = { id: "reference/api/workspaces", }, items: [ + { + type: "doc", + id: "reference/api/get-workspace", + label: "Get Workspace", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/get-all-workspace-roles", + label: "Get All Workspace Roles", + className: "api-method get", + }, { type: "doc", id: "reference/api/get-all-workspace-permissions", @@ -196,18 +214,6 @@ const sidebar: SidebarsConfig = { label: "Unassign Role From User", className: "api-method delete", }, - { - type: "doc", - id: "reference/api/get-workspace", - label: "Get Workspace", - className: "api-method get", - }, - { - type: "doc", - id: "reference/api/get-all-workspace-roles", - label: "Get All Workspace Roles", - className: "api-method get", - }, { type: "doc", id: "reference/api/remove-user-from-workspace", @@ -270,6 +276,12 @@ const sidebar: SidebarsConfig = { label: "User Profile", className: "api-method get", }, + { + type: "doc", + id: "reference/api/delete-user-account", + label: "Delete User Account", + className: "api-method delete", + }, { type: "doc", id: "reference/api/update-user-username", @@ -332,6 +344,18 @@ const sidebar: SidebarsConfig = { label: "Fetch Workflow Catalog Type", className: "api-method get", }, + { + type: "doc", + id: "reference/api/list-workflow-catalog-harnesses", + label: "List Workflow Catalog Harnesses", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/fetch-workflow-catalog-harness", + label: "Fetch Workflow Catalog Harness", + className: "api-method get", + }, { type: "doc", id: "reference/api/list-workflow-catalog-templates", @@ -1064,6 +1088,12 @@ const sidebar: SidebarsConfig = { label: "Query Testset Variants", className: "api-method post", }, + { + type: "doc", + id: "reference/api/fork-testset-variant", + label: "Fork Testset Variant", + className: "api-method post", + }, { type: "doc", id: "reference/api/create-testset-revision", @@ -1294,6 +1324,12 @@ const sidebar: SidebarsConfig = { label: "Query Query Variants", className: "api-method post", }, + { + type: "doc", + id: "reference/api/fork-query-variant", + label: "Fork Query Variant", + className: "api-method post", + }, { type: "doc", id: "reference/api/retrieve-query-revision", @@ -1648,15 +1684,15 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/close-run-with-status", - label: "Close Run", + id: "reference/api/open-run", + label: "Open Run", className: "api-method post", }, { type: "doc", - id: "reference/api/open-run", - label: "Open Run", - className: "api-method post", + id: "reference/api/fetch-default-queue", + label: "Fetch Default Queue", + className: "api-method get", }, { type: "doc", @@ -1702,8 +1738,14 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/create-results", - label: "Create Results", + id: "reference/api/set-results", + label: "Set Results", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/set-results", + label: "Set Results", className: "api-method post", }, { @@ -1714,8 +1756,8 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/edit-results", - label: "Edit Results", + id: "reference/api/set-results", + label: "Set Results", className: "api-method patch", }, { @@ -1730,12 +1772,6 @@ const sidebar: SidebarsConfig = { label: "Fetch Result", className: "api-method get", }, - { - type: "doc", - id: "reference/api/edit-result", - label: "Edit Result", - className: "api-method patch", - }, { type: "doc", id: "reference/api/delete-result", @@ -1750,8 +1786,14 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/create-metrics", - label: "Create Metrics", + id: "reference/api/set-metrics", + label: "Set Metrics", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/set-metrics", + label: "Set Metrics", className: "api-method post", }, { @@ -1762,8 +1804,8 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/edit-metrics", - label: "Edit Metrics", + id: "reference/api/set-metrics", + label: "Set Metrics", className: "api-method patch", }, { @@ -1772,6 +1814,18 @@ const sidebar: SidebarsConfig = { label: "Query Metrics", className: "api-method post", }, + { + type: "doc", + id: "reference/api/fetch-metric", + label: "Fetch Metric", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/delete-metric", + label: "Delete Metric", + className: "api-method delete", + }, { type: "doc", id: "reference/api/create-queues", @@ -1826,6 +1880,12 @@ const sidebar: SidebarsConfig = { label: "Create Evaluation", className: "api-method post", }, + { + type: "doc", + id: "reference/api/query-simple-evaluations", + label: "Query Evaluations", + className: "api-method post", + }, { type: "doc", id: "reference/api/fetch-simple-evaluation", @@ -1844,12 +1904,6 @@ const sidebar: SidebarsConfig = { label: "Delete Evaluation", className: "api-method delete", }, - { - type: "doc", - id: "reference/api/query-simple-evaluations", - label: "Query Evaluations", - className: "api-method post", - }, { type: "doc", id: "reference/api/start-simple-evaluation", @@ -1874,12 +1928,78 @@ const sidebar: SidebarsConfig = { label: "Open Evaluation", className: "api-method post", }, + { + type: "doc", + id: "reference/api/populate-slice", + label: "Populate Evaluation Slice", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/process-slice", + label: "Process Evaluation Slice", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/probe-slice", + label: "Probe Evaluation Slice", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/prune-slice", + label: "Prune Evaluation Slice", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/refresh-slice", + label: "Refresh Evaluation Slice", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/add-scenarios", + label: "Add Evaluation Scenarios", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/remove-scenarios", + label: "Remove Evaluation Scenarios", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/add-steps", + label: "Add Evaluation Steps", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/remove-steps", + label: "Remove Evaluation Steps", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/set-repeats", + label: "Set Evaluation Repeats", + className: "api-method post", + }, { type: "doc", id: "reference/api/create-simple-queue", label: "Create Simple Queue", className: "api-method post", }, + { + type: "doc", + id: "reference/api/delete-simple-queues", + label: "Delete Simple Queues", + className: "api-method delete", + }, { type: "doc", id: "reference/api/query-simple-queues", @@ -1892,6 +2012,12 @@ const sidebar: SidebarsConfig = { label: "Fetch Simple Queue", className: "api-method get", }, + { + type: "doc", + id: "reference/api/delete-simple-queue", + label: "Delete Simple Queue", + className: "api-method delete", + }, { type: "doc", id: "reference/api/query-simple-queue-scenarios", @@ -1992,6 +2118,12 @@ const sidebar: SidebarsConfig = { label: "Query Environment Variants", className: "api-method post", }, + { + type: "doc", + id: "reference/api/fork-environment-variant", + label: "Fork Environment Variant", + className: "api-method post", + }, { type: "doc", id: "reference/api/retrieve-environment-revision", @@ -2168,6 +2300,12 @@ const sidebar: SidebarsConfig = { label: "List Integrations", className: "api-method get", }, + { + type: "doc", + id: "reference/api/list-tool-categories", + label: "List Categories", + className: "api-method get", + }, { type: "doc", id: "reference/api/fetch-tool-integration", @@ -2228,6 +2366,18 @@ const sidebar: SidebarsConfig = { label: "Revoke Connection", className: "api-method post", }, + { + type: "doc", + id: "reference/api/resolve-tools", + label: "Resolve Tools", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/discover-tool-capabilities", + label: "Discover Capabilities", + className: "api-method post", + }, { type: "doc", id: "reference/api/call-tool", @@ -2238,88 +2388,580 @@ const sidebar: SidebarsConfig = { }, { type: "category", - label: "Folders", + label: "Triggers", link: { type: "doc", - id: "reference/api/folders", + id: "reference/api/triggers", }, items: [ { type: "doc", - id: "reference/api/create-folder", - label: "Create Folder", + id: "reference/api/ingest-composio-event", + label: "Ingest Composio Event", className: "api-method post", }, { type: "doc", - id: "reference/api/fetch-folder", - label: "Fetch Folder", + id: "reference/api/list-trigger-providers", + label: "List Providers", className: "api-method get", }, { type: "doc", - id: "reference/api/edit-folder", - label: "Edit Folder", - className: "api-method put", + id: "reference/api/fetch-trigger-provider", + label: "Get Provider", + className: "api-method get", }, { type: "doc", - id: "reference/api/delete-folder", - label: "Delete Folder", - className: "api-method delete", + id: "reference/api/list-trigger-integrations", + label: "List Integrations", + className: "api-method get", }, { type: "doc", - id: "reference/api/query-folders", - label: "Query Folders", - className: "api-method post", + id: "reference/api/fetch-trigger-integration", + label: "Get Integration", + className: "api-method get", }, - ], - }, - { - type: "category", - label: "Webhooks", - link: { - type: "doc", - id: "reference/api/webhooks", - }, - items: [ { type: "doc", - id: "reference/api/create-webhook-subscription", - label: "Create Subscription", - className: "api-method post", + id: "reference/api/list-trigger-events", + label: "List Events", + className: "api-method get", }, { type: "doc", - id: "reference/api/test-webhook-subscription", - label: "Test Subscription", - className: "api-method post", + id: "reference/api/fetch-trigger-event", + label: "Get Event", + className: "api-method get", }, { type: "doc", - id: "reference/api/fetch-webhook-subscription", - label: "Fetch Subscription", - className: "api-method get", + id: "reference/api/discover-triggers", + label: "Discover Triggers", + className: "api-method post", }, { type: "doc", - id: "reference/api/edit-webhook-subscription", - label: "Edit Subscription", - className: "api-method put", + id: "reference/api/query-trigger-connections", + label: "Query Connections", + className: "api-method post", }, { type: "doc", - id: "reference/api/delete-webhook-subscription", - label: "Delete Subscription", - className: "api-method delete", + id: "reference/api/create-trigger-connection", + label: "Create Connection", + className: "api-method post", }, { type: "doc", - id: "reference/api/query-webhook-subscriptions", + id: "reference/api/fetch-trigger-connection", + label: "Get Connection", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/delete-trigger-connection", + label: "Delete Connection", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/refresh-trigger-connection", + label: "Refresh Connection", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/revoke-trigger-connection", + label: "Revoke Connection", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/list-trigger-subscriptions", + label: "List Subscriptions", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/create-trigger-subscription", + label: "Create Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/query-trigger-subscriptions", + label: "Query Subscriptions", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/test-trigger-subscription", + label: "Test Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/refresh-trigger-subscription", + label: "Refresh Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/revoke-trigger-subscription", + label: "Revoke Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/start-trigger-subscription", + label: "Start Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/stop-trigger-subscription", + label: "Stop Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-trigger-subscription", + label: "Fetch Subscription", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/edit-trigger-subscription", + label: "Edit Subscription", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/delete-trigger-subscription", + label: "Delete Subscription", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/list-trigger-schedules", + label: "List Schedules", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/create-trigger-schedule", + label: "Create Schedule", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/query-trigger-schedules", + label: "Query Schedules", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-trigger-schedule", + label: "Fetch Schedule", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/edit-trigger-schedule", + label: "Edit Schedule", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/delete-trigger-schedule", + label: "Delete Schedule", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/start-trigger-schedule", + label: "Start Schedule", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/stop-trigger-schedule", + label: "Stop Schedule", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/list-trigger-deliveries", + label: "List Deliveries", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/query-trigger-deliveries", + label: "Query Deliveries", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-trigger-delivery", + label: "Fetch Delivery", + className: "api-method get", + }, + ], + }, + { + type: "category", + label: "Sessions", + link: { + type: "doc", + id: "reference/api/sessions", + }, + items: [ + { + type: "doc", + id: "reference/api/fetch-session-stream", + label: "Fetch Session Stream", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/set-session-stream", + label: "Set Session Stream", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/delete-session-stream", + label: "Delete Session Stream", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/query-session-streams", + label: "Query Session Streams", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/detach-session-stream", + label: "Detach Session Stream", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/heartbeat-session-stream", + label: "Heartbeat Session Stream", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/create-interaction", + label: "Create Interaction", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/query-interactions", + label: "Query Interactions", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/transition-interaction", + label: "Transition Interaction", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/cancel-stale-interactions", + label: "Cancel Stale Interactions", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-interaction", + label: "Fetch Interaction", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/respond-interaction", + label: "Respond Interaction", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-session-mounts", + label: "Fetch Session Mounts", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/query-session-mounts", + label: "Query Session Mounts", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/sign-session-mount-credentials", + label: "Sign Session Mount Credentials", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/upload-session-mount-file", + label: "Upload Session Mount File", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/download-session-mount-file", + label: "Download Session Mount File", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/query-records", + label: "Query Records", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/get-record-event", + label: "Get Record Event", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/ingest-record", + label: "Ingest Record Event", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/get-state", + label: "Get Session State", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/set-state", + label: "Set Session State", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/set-state", + label: "Set Session State", + className: "api-method post", + }, + ], + }, + { + type: "category", + label: "Folders", + link: { + type: "doc", + id: "reference/api/folders", + }, + items: [ + { + type: "doc", + id: "reference/api/create-folder", + label: "Create Folder", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-folder", + label: "Fetch Folder", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/edit-folder", + label: "Edit Folder", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/delete-folder", + label: "Delete Folder", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/query-folders", + label: "Query Folders", + className: "api-method post", + }, + ], + }, + { + type: "category", + label: "Mounts", + link: { + type: "doc", + id: "reference/api/mounts", + }, + items: [ + { + type: "doc", + id: "reference/api/create-mount", + label: "Create Mount", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/query-mounts", + label: "Query Mounts", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/sign-agent-mount-credentials", + label: "Sign Agent Mount Credentials", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/query-agent-mount", + label: "Query Agent Mount", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-mount", + label: "Fetch Mount", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/edit-mount", + label: "Edit Mount", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/sign-mount-credentials", + label: "Sign Mount Credentials", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/export-mount-files", + label: "Export Mount Files", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/archive-mount", + label: "Archive Mount", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/unarchive-mount", + label: "Unarchive Mount", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/create-mount-folder", + label: "Create Folder", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/upload-mount-file", + label: "Upload Mount File", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/download-mount-file", + label: "Download Mount File", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/get-mount-files", + label: "Get Mount Files", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/write-mount-file", + label: "Write Mount File", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/delete-mount-file", + label: "Delete Mount File", + className: "api-method delete", + }, + ], + }, + { + type: "category", + label: "Webhooks", + link: { + type: "doc", + id: "reference/api/webhooks", + }, + items: [ + { + type: "doc", + id: "reference/api/create-webhook-subscription", + label: "Create Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/test-webhook-subscription", + label: "Test Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/fetch-webhook-subscription", + label: "Fetch Subscription", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/edit-webhook-subscription", + label: "Edit Subscription", + className: "api-method put", + }, + { + type: "doc", + id: "reference/api/delete-webhook-subscription", + label: "Delete Subscription", + className: "api-method delete", + }, + { + type: "doc", + id: "reference/api/query-webhook-subscriptions", label: "Query Subscriptions", className: "api-method post", }, + { + type: "doc", + id: "reference/api/start-webhook-subscription", + label: "Start Subscription", + className: "api-method post", + }, + { + type: "doc", + id: "reference/api/stop-webhook-subscription", + label: "Stop Subscription", + className: "api-method post", + }, { type: "doc", id: "reference/api/create-webhook-delivery", @@ -2376,12 +3018,6 @@ const sidebar: SidebarsConfig = { label: "Fetch Plans", className: "api-method get", }, - { - type: "doc", - id: "reference/api/fetch-access-roles", - label: "Fetch Roles", - className: "api-method get", - }, { type: "doc", id: "reference/api/discover-access", @@ -2408,8 +3044,14 @@ const sidebar: SidebarsConfig = { }, { type: "doc", - id: "reference/api/verify-permissions", - label: "Verify Permissions", + id: "reference/api/check-permissions", + label: "Check Permissions", + className: "api-method get", + }, + { + type: "doc", + id: "reference/api/fetch-access-roles", + label: "Fetch Roles", className: "api-method get", }, ], diff --git a/docs/docs/reference/api/sign-agent-mount-credentials.ParamsDetails.json b/docs/docs/reference/api/sign-agent-mount-credentials.ParamsDetails.json new file mode 100644 index 0000000000..be3db87d3c --- /dev/null +++ b/docs/docs/reference/api/sign-agent-mount-credentials.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"artifact_id","in":"query","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Name"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-agent-mount-credentials.RequestSchema.json b/docs/docs/reference/api/sign-agent-mount-credentials.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/sign-agent-mount-credentials.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-agent-mount-credentials.StatusCodes.json b/docs/docs/reference/api/sign-agent-mount-credentials.StatusCodes.json new file mode 100644 index 0000000000..dc52c8d137 --- /dev/null +++ b/docs/docs/reference/api/sign-agent-mount-credentials.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]},"credentials":{"anyOf":[{"properties":{"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"region":{"type":"string","title":"Region","default":"us-east-1"},"bucket":{"type":"string","title":"Bucket"},"prefix":{"type":"string","title":"Prefix"},"access_key":{"type":"string","title":"Access Key"},"secret_key":{"type":"string","title":"Secret Key"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["bucket","prefix","access_key","secret_key"],"title":"MountCredentials","description":"Short-lived, prefix-scoped credentials for a single mount.\n\nSigned API-side from the store's STS endpoint; the master key never leaves the\nAPI. Scoped to `///*` and expires within minutes,\nso a leak grants only this mount's prefix for a short window."},{"type":"null"}]}},"type":"object","title":"MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-agent-mount-credentials.api.mdx b/docs/docs/reference/api/sign-agent-mount-credentials.api.mdx new file mode 100644 index 0000000000..24f6bba011 --- /dev/null +++ b/docs/docs/reference/api/sign-agent-mount-credentials.api.mdx @@ -0,0 +1,69 @@ +--- +id: sign-agent-mount-credentials +title: "Sign Agent Mount Credentials" +description: "Sign Agent Mount Credentials" +sidebar_label: "Sign Agent Mount Credentials" +hide_title: true +hide_table_of_contents: true +api: eJy1WN9T2zgQ/lc0+9K7GyWhzD2lTO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JdmKtsa8fNlP0Qip6kx7z7RIOyiRrqy9Ii2ZgDcWs/iasFYvOqf8ycYOhOrtsV56eo3MiC9NBFHlaNJDBJrRKXVsXZaxITfMNH6jC+m712XLJEXH58HxuETdx+7VcJ4VWLooeepqK4+iCXTHyeTIZbQHG+NjIS5lpdkg3NRbiiq0ncY5+buhGVxgXaoLwcxjCIAS1G4QrnhvQdS+UBnvX3OlKq0hOFDI4Ov6ce1+44WCAZT9Rpkz7QV/0hYyC01BeSiv9IoAcjk7PcPEZRYoWhpfTrsCY4jNG3LpY6yVRyLNQsuqr32Hp58bKf2MY1XfAedSqgvdnpuv8wIqgorNVzdaWKJFEEuKmsRSWgW8ce3Va4IB5SCPwKPI/2hXyOnEYzez13/f3Qv8zzudCd0w847eNqbhmhGJ0UCghQxaFzS1rl17G6yDpRqeSP8mtUw5z8v3wEpbLG+Hwq1VVRZ/j9Zn8lEonblTnAr1hvi018MtFnQ2/MuCPbys04Y0/A+6EKkkyxNKWtahR3+xXolP6YSXJhuDhjbNpy1GHpoDCd7S2KiGhtEkw+jKeQFX9BxIezBc= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Sign Agent Mount Credentials + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/sign-mount-credentials.ParamsDetails.json b/docs/docs/reference/api/sign-mount-credentials.ParamsDetails.json new file mode 100644 index 0000000000..63809830b6 --- /dev/null +++ b/docs/docs/reference/api/sign-mount-credentials.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-mount-credentials.RequestSchema.json b/docs/docs/reference/api/sign-mount-credentials.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/sign-mount-credentials.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-mount-credentials.StatusCodes.json b/docs/docs/reference/api/sign-mount-credentials.StatusCodes.json new file mode 100644 index 0000000000..dc52c8d137 --- /dev/null +++ b/docs/docs/reference/api/sign-mount-credentials.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]},"credentials":{"anyOf":[{"properties":{"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"region":{"type":"string","title":"Region","default":"us-east-1"},"bucket":{"type":"string","title":"Bucket"},"prefix":{"type":"string","title":"Prefix"},"access_key":{"type":"string","title":"Access Key"},"secret_key":{"type":"string","title":"Secret Key"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["bucket","prefix","access_key","secret_key"],"title":"MountCredentials","description":"Short-lived, prefix-scoped credentials for a single mount.\n\nSigned API-side from the store's STS endpoint; the master key never leaves the\nAPI. Scoped to `///*` and expires within minutes,\nso a leak grants only this mount's prefix for a short window."},{"type":"null"}]}},"type":"object","title":"MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-mount-credentials.api.mdx b/docs/docs/reference/api/sign-mount-credentials.api.mdx new file mode 100644 index 0000000000..d45dc23c31 --- /dev/null +++ b/docs/docs/reference/api/sign-mount-credentials.api.mdx @@ -0,0 +1,69 @@ +--- +id: sign-mount-credentials +title: "Sign Mount Credentials" +description: "Sign Mount Credentials" +sidebar_label: "Sign Mount Credentials" +hide_title: true +hide_table_of_contents: true +api: eJy1V21TGzcQ/iua/ZK2I2zC9NOFYUqAThiax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LPmP2GtmHei/stEB8N0dtmuPv2Mzoks3A6iyNOigQw2olPa2rqs4kRql2/4gyas706frZScEJcPz/cWcRPdb+Q6LbRKUczQ01ScxhTsqpFPo9FgCzDWx0Zfqkyz+HpZb98C/dTQE6s0LkwDeiol0A/l7PqLtjfqPr3BwmCws/a5VdmcZEWpQprjz6n3pUv6fax6aW4q2RMZai96QkXBcRgulVV+HkCOB+cXOP+EQqKF5GrcFRhSdcZ6Wxdb5kiU6iIMrObpd1z5qbHq31hEzftvGrXqkPuJ6ab+ODhHI2drlq0dURuJNFRNaykcA98IexUtcMAiNBF4FMUfyxPKOXEYzez33vf2w/YzzhdCd0w8mbWN23DDBdVmv8yFCt0T3Fo0Cb2Kz0DSTTqv45DTMYcpJT+5gsXiVjj8avO6pr9/VGgpSWMOM2GVuCXKrhYglaPvEpKJyB1u+bOcOfDLZdMWvzLgj/vZJlJTFmcir+gXcAhbevWUD0Nj2lbJojmm/V76juLWjKNyWhb54MtwBHX9H/ZfnEs= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Sign Mount Credentials + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/sign-session-mount-credentials.ParamsDetails.json b/docs/docs/reference/api/sign-session-mount-credentials.ParamsDetails.json new file mode 100644 index 0000000000..aacaaf802a --- /dev/null +++ b/docs/docs/reference/api/sign-session-mount-credentials.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","description":"Which session-scoped mount to sign, e.g. 'cwd' (default) or a per-harness transcript dir mount (e.g. 'claude-projects', 'pi-sessions'). Each name is its own mount row / durable prefix.","default":"cwd","title":"Name"},"description":"Which session-scoped mount to sign, e.g. 'cwd' (default) or a per-harness transcript dir mount (e.g. 'claude-projects', 'pi-sessions'). Each name is its own mount row / durable prefix."}]} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-session-mount-credentials.RequestSchema.json b/docs/docs/reference/api/sign-session-mount-credentials.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/sign-session-mount-credentials.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-session-mount-credentials.StatusCodes.json b/docs/docs/reference/api/sign-session-mount-credentials.StatusCodes.json new file mode 100644 index 0000000000..dc52c8d137 --- /dev/null +++ b/docs/docs/reference/api/sign-session-mount-credentials.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]},"credentials":{"anyOf":[{"properties":{"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"region":{"type":"string","title":"Region","default":"us-east-1"},"bucket":{"type":"string","title":"Bucket"},"prefix":{"type":"string","title":"Prefix"},"access_key":{"type":"string","title":"Access Key"},"secret_key":{"type":"string","title":"Secret Key"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["bucket","prefix","access_key","secret_key"],"title":"MountCredentials","description":"Short-lived, prefix-scoped credentials for a single mount.\n\nSigned API-side from the store's STS endpoint; the master key never leaves the\nAPI. Scoped to `///*` and expires within minutes,\nso a leak grants only this mount's prefix for a short window."},{"type":"null"}]}},"type":"object","title":"MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/sign-session-mount-credentials.api.mdx b/docs/docs/reference/api/sign-session-mount-credentials.api.mdx new file mode 100644 index 0000000000..7f13b3fe33 --- /dev/null +++ b/docs/docs/reference/api/sign-session-mount-credentials.api.mdx @@ -0,0 +1,69 @@ +--- +id: sign-session-mount-credentials +title: "Sign Session Mount Credentials" +description: "Sign Session Mount Credentials" +sidebar_label: "Sign Session Mount Credentials" +hide_title: true +hide_table_of_contents: true +api: eJzdWEtvGzcQ/isEL0oKSnKCntQgqBO7iJGmESKlPdiCQy9Hu4y55IbkWlGF/e/FkFxpJdmyaziH9qTHznzD+ebJXVHPc0dH53QCzkmjHZ0xaiqw3EujzwQdUSdzfeni48vS1NpfZhYEaC+5cpTRilteggeLQCuqeQmoljSkoIxKTUf0Ww12SRm18K2WFgQdeVsDoy4roOR0tKJ+WQVVb6XOKaNeeoV/pMORM0Gbhq1NhI87wedcuYPoAlxmZYWO0hH9q5BZQdKp+y4zFQgS3CXeECSBERjkA9LLFqJHngmY81r558RYwkkFtl9wq8E54i3XEZkIaRPGs6SreC2gX1nzFTLveoz0KtlPVl3v+YCc8qwg6BmRjkjviFnohGHNggyJqC2/UkAqC3P5fRAcCUehI5otRIe2P5Cf5n/jaDPD8LrKaAcOA/ry6Ag/tt2b1FkGzs1rRT4lYcpoZrQH7VGcV5WSWcjv4VeHOqtOklQWs9/LaCHD43RyR2oPOdgOx2+DRCcGRw2jZavG9fLjPFTFDq4F7kFc8h2p3RSdG1uiDBXcQ9/LEM+1mK6VCqysDxNhybHHsNeV+BFGPkfYZESAgh9g5CTCJiMtXVdLbCcPs1PXUjyIrDfL0Fc2fD2plZattZWWsCe10tK1thI75N3gh8BubRuPgzrpQDSMOlXnj4WaoG7D6NORFplKHSoF4zDaRncctRLbnVn3WO86E45hjew3o4a12uYKbXdO8wH7zQkqNYzOVRjp/1L7t6CFUkl74wUXQmIEuRp3EOPs3sY85OE04ZcQfXtq/A+I29zi5mYjOO8Ge7ZDwC3gsfOsN50D/Ry0qIzc7fkPD/9pq9/gefNUcXetQ5+iRHfw164P3Pn+C0S4qrNr8IcQ3kSJkP44XA/JjqNEwygPk/XyGpaH5I+DFHkPy1gamQV/n84kSG10Yjl5cw2Pbj1tRU0DSMMofK+kBffUk+o0woZJdU/2pbisSd9idIuq3eR8u7Vw7yw8hbG+r+QNCJZ2pXar62QvmYf1zUmdK4hr1uBCX+iJzDXO2fFZ30kBZG5NSXwBxHljoefIZDohbXr/Ep6U3Hmw5BqWRMMNWKKA34DDZxf6eHw2IJNo3hvy5VV0+vXw1ab2Xg9fxXsEfv3pC+FakBQdspC+kJqUUtceHLvQzhCOFq5JbrnGNVGrJfGFdNGLnktOtx4iHWQhtTCLwW1FfV8n7HC9XiCbBtV+fvlyf9/8kyspwjZJTq019vHLpgDPpcJv0kO538KpMtnW0weURbuwhmaW/uPW8mXH699NPGDozi4/VKcfwDmeh+0gitwtGsggU3yKU1tXdexI7fANf2CH9d3usxeSt8jl9/trC7mJx09ynRLahChG6G4qTmIIDuXIu+l0vAcY82OnLmWuSduFQmaR7TIuwRcGb9iVcaErcF/QER22l6RhyG83xCtZaA/2pr1j11ahJK9kCHb8WXhfudFwCPUgU6YWA56D9nzAZRSchRZTW+mXAeR4fPYelu+AC7B0dD7rCkwwR2PWbYutI8Ur+T60rXQZP659Yaz8O6ZSupUXUasJGTA33QQ4DofDxrPX0bYeYTHxLOROayk8pmzH7Y23lFEoQylRD7z8df0EI48cRjNHgxeDozADjfMl1x0T98ZuZzdOnGCmDivFZailcLxVCut5O9VC5ENgMaYY2hmjBWbA6JyuVlfcwWermgb/ji81MFZCOrwLb15r7Bxg3XLos0+pKp4Tym4/WBjG2y9obriqUTCk08ON/WffJRxkJr1X2nAywx9WIkIoFNYmNoYm6uDWU/mO1l7nR5R1yY8/Tqa0af4BSl2rEQ== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Sign Session Mount Credentials + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/start-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/start-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/start-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/start-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/start-simple-evaluation.api.mdx b/docs/docs/reference/api/start-simple-evaluation.api.mdx index 276e5228c3..07a87be4a8 100644 --- a/docs/docs/reference/api/start-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/start-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Start Evaluation" sidebar_label: "Start Evaluation" hide_title: true hide_table_of_contents: true -api: eJzlWEtv20gM/isGTy2gxtliTzqtN0mRbLvbbJz2EhgBLdHRdEePziOo19B/LzgjWe/Y6ePUU2KJ/Eh+pDgc7sDgg4bwDi4eUVo0Is80rALIC1Lu11UMIWiDytxrkRaS7mkvCQEUqDAlQ4pBdpBhShBCI3IvYghAZBBCgSaBABR9tkJRDKFRlgLQUUI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6Su49hORCewbLDe9od1IdMjyLYMWbY3QP6/UCDX3Sqix52be5nKEIHlFLXDCB92uIpeH/42rKs+fjphrBi7vqwLwcNM/+bd/rtKacU3aQf0EE/1GxN1z3NWVVb5x1JTMWgnLb0t4rgbzDNifh9uNkCmX5PyurP/c= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/start-trigger-schedule.ParamsDetails.json b/docs/docs/reference/api/start-trigger-schedule.ParamsDetails.json new file mode 100644 index 0000000000..18752008c0 --- /dev/null +++ b/docs/docs/reference/api/start-trigger-schedule.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/start-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/start-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/start-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..801282857b --- /dev/null +++ b/docs/docs/reference/api/start-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-schedule.api.mdx b/docs/docs/reference/api/start-trigger-schedule.api.mdx new file mode 100644 index 0000000000..fd8e9e4a2c --- /dev/null +++ b/docs/docs/reference/api/start-trigger-schedule.api.mdx @@ -0,0 +1,69 @@ +--- +id: start-trigger-schedule +title: "Start Schedule" +description: "Start Schedule" +sidebar_label: "Start Schedule" +hide_title: true +hide_table_of_contents: true +api: eJy1WN9v2zYQ/lcIvqwNVDsr9iQMw7KmQbOurZGkfUkMg5ZOMhuaVMmTW83Q/z4cKcmSHTs/lj7FEe++O353vDtyzVHkjsfX/MrKPAfr+DTipgArUBp9nvKYOxQWZxjWZy5ZQFoq4BEvhBVLQFKKr9dciyWQeCMwkymPuNQ85oXABY+4hW+ltJDyGG0JkZdcCh6vOVaFV0Urdc4jnhm7FMhjXpYeBSUqErhssNl5yut6SpCuMNqBI5TXx8f0JwWXWFmQ/6RSJgk4l5WKXTTCPOKJ0QgaSVwUhZKJ3+74qyOddc+zwhI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ltjeu+qY4KD/sLi8kN9/AM4J/Je6TwwIxAZ7IpW23bpxfvNzA+C+KMHsxORN8TlD7w3D4ib4H4j129VXYhChPZTcRpCcChF3l1dTXYAQ35s1VE/kFxuHjSWgAtDTx6Fccjb8s7HzduHG7dnwo3XvWeOeuwnJjozYFftc0hpFemKQvpwh38XiIWLx2MoR4kyZToSOWgUIyGD4JQwktJKrDzIyeT8PVTvQKRgeXw97QuQ48uQd0OxLlaikO/9WW6eZk5KXBgr/w3J1DzOLIJW7XMgM/0UOPHOsZPJ+U4PGizRcRKJz57Wkl/m0da2N7vlEYelP0wcQSz/7FYo9t3gw49Hv46Ofac1DpdC90zsRG/rxthwQLk5LpSQ/vR4d9ZNYK95G9heuaPf8fANK0R3GvEFpUV8zdfruXDw2aq6ps/fSrAUrmnEV8JKMSfyrtc8lY5+pzzOhHKw42FXhfiLi+agvGSby/rQ8zakmuK5Eqqk/3gUhpjBo5uvJIs2ZZoxh58kCRTY090pfJRb3QmYfLq84nX9H7L36TQ= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Start Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/start-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/start-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/start-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/start-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/start-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/start-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/start-trigger-subscription.api.mdx b/docs/docs/reference/api/start-trigger-subscription.api.mdx new file mode 100644 index 0000000000..e3ebb9506e --- /dev/null +++ b/docs/docs/reference/api/start-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: start-trigger-subscription +title: "Start Subscription" +description: "Start Subscription" +sidebar_label: "Start Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFv2zYQ/isEX9YGqp0VezKGYVnSoFnX1kjSviSBQUsnmQ1NquTJrWbovw9HSrIku46TpU+Jxbvv7r478o5ccxSZ45Mbfm1lloF1/C7iJgcrUBp9kfAJdygszjCsz1wxd7GVOS3ziOfCiiUgKU5u1lyLJZBKR2gmEx5xqfmE5wIXPOIWvhbSQsInaAuIuIsXsBR8suZY5l4drdQZj3hq7FIgn/Ci8CgoUZHAVQefXSS8qu4I1uVGO3CE9Pr4mP4ksHGW1OIYnEsLxS5rYR7x2GgEjSQu8lzJ2Ic+/uJIZ93xLrdEDMpgITZFUKqdlhohA9vx8tRLRDyBVBQK+eS4inrUeJO6/Jh67vrwqfKJGX6WbiZilCvoWJ4bo0DojuULx06CVMc6kV1FhLASSiYPAXz2Qjv1ERw+pH5NMh3tVCgHVRU1Smb+BWLs6NQF2E3tueeAdGouNmSJJJEkItS0x89GYuBcFQ3Li77shuGxtHGhhH3xj5iD+tsZ/epjgXmBL/kwAKq8JoShNN8Kt+OFLpTqaV/XwS4BxROD7UQ2qMqe4eW8/6XL0UOMnBfqAUKiNZcIywO1hLWi3MvLQPdxpL4nMquoPpgOomwL4wPpVlH/MHka1FkHoop4bEEgJDOB+wA752AiEF6h9P782MppgGUnnqwiT36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2Ldh43ApdMfEzkwOrpo1D1Sr41wJ6XeTd2ldJ/mmGVwd778x0e/J9ntcyPRdxBdUKpMbvl7PhYNPVlUVff5agKXU3UV8JawUcyLyZs0T6ej/pH7Q2fK0PZ34i8t6A71km9t+P4ImvZpyuxKqoF88CtPO1iOiP2UWTQnVMxE/iWPIsaO/dShSrbU7Y/rx6ppX1X+iaDwI +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Start Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/start-webhook-subscription.ParamsDetails.json b/docs/docs/reference/api/start-webhook-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/start-webhook-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/start-webhook-subscription.RequestSchema.json b/docs/docs/reference/api/start-webhook-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/start-webhook-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/start-webhook-subscription.StatusCodes.json b/docs/docs/reference/api/start-webhook-subscription.StatusCodes.json new file mode 100644 index 0000000000..7e5e0d98fd --- /dev/null +++ b/docs/docs/reference/api/start-webhook-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/start-webhook-subscription.api.mdx b/docs/docs/reference/api/start-webhook-subscription.api.mdx new file mode 100644 index 0000000000..bb9603b8e9 --- /dev/null +++ b/docs/docs/reference/api/start-webhook-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: start-webhook-subscription +title: "Start Subscription" +description: "Start Subscription" +sidebar_label: "Start Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WM1y2zYQfhUMTs0MIzluDh2dqsbxxE3SeGInOdgaBSJXIhIQYIClbFXDmT5En7BP0lmQEkGKkn/GOVnmLnY/7P9izVEsHB9d8S8wS4357vgk4iYHK1AafZbwEXcoLE5vKvrUFTMXW5kTmUc8F1ZkgGBJyJprkQEdCZimMuERl5qPeC4w5RG38KOQFhI+QltAxF2cQib4aM1xlfvjaKVe8IjPjc0E8hEvCi8FJSpiuAjks7OEl+WExLrcaAeOJB0fHdGfBBqwdCyOwbl5odjHmplHPDYaQSOxizxXMvZXH35zdGYdoMstGQZlpSE2RXWoBi01wgJsgPKV54h4AnNRKOSjozJqmcar1KsPc2+7tvi58o7pfpZuKmKUSwg0z4xRIHSg+cyxccUVaCdjl2W0OWVm3yDG4FAdAaFtTz0IOlODadCKJJHEItR5C2DD0UFXRl3/0pd+MTyWNi6UsL+8EzNQfzqjn38oMC/wGe9egFy/uUKXm+9cN0ChC6Vapy/ry2aA4pGXDW7WCYuW4mzW/hLa6C6LnBbqDoNEay4RsnueEtaK1UG7dM4+zKjvyZhlVFeGe5lsR8ZfdLaM2tn8OFEngYgy4rEFgZBMBR4SGBSiRCA8R+nx7NfyqhLLxt5YRZ78DCWfKrG1kgQU/AQlJ5XYWsnGXLMVVfX76fGl+z7G+mPlS3ljryfVsrHWVsvGYE+qZWOurZanE12jFtjTiwqr+tpnJm7fgV5gykfHR7/9GvFM6s2HF6FuK4M+8Mkq0pSCSHxbv08h7CbgAwrEm1pPScPEShmRTOcSVHIvzdUAcX9l55UGdlppKCMuCkynmUkOFqeIgy4yGpOcXGiBhaXOSkeNlX/7eYFPDukdF5iy96SljDgsQeOUWDt3rKv2fu31EOYG4RThBggOwc9HVsTgBnPAOA0//CjASv+h+uUGFpbS+cMW0EpY7qE2onZph6Qqs1jsIcUmyyTWgMFhLFwb8/Zbo4C+OcB9uHvIbXkd4kHBW+g9tBD7jbHf58rc7APVR29Q9VEbWH3ULa4+YggM9FJaozPQew22h6WBt4ehQbiHYQtyD73BOdmZPF9TXlxS6Ec7g7sP95mYKWA+fZhPH/bfP/8ywShPYmSUFIDMzNlW0uBaX+vPQhXgmLDAErByCQmbW5M1XMwZhimwKt8ccyhWTGrmVjoeXOtLw0SSMME03DDXDyViEllWOGRzaR0yuJUOSUYI5UsKmsEtgk6kXjBMpWOU2hGzsABNSxewU7CaxUqS4ZjQCavaIQG81td8vBRSde1wzZmD2G9DUrOvRy+fbytFltx+HQQV+e5xzyNml7489e0Lzfp25RvPriPDFeJEVPOfg9gCPmGrvfAC6zZbSX/sUFiJuvOyvvcevm2PmgeuXNvFtCzp5Mvj49099rNQMvFdh7221tjHL7EJoJB+dtj2njaDMnGL+pCNZ9KNumBRMxVAv265RV/PaxYI58QCmhDez+qN4SPXj16alhVi30xQut5eYrwNxOx45RXZ8vbueCDbVPBrviA2GhdVHtpvipPKBYfC5M3l5fmOwCo+OnWSnmrYRfuJJgNMDT3k5Mahf7Kh+Y8PNyVi2BomhuvO40059A9AnJLMLjcPPX7i5EORS+/66t8UMXej4RCKQaxMkQzEAjSKgZAV48QnamElrryQ8fnZW1hVAyAfXU1ChguK2CoG22xbv4lcvgWyZP3oNG6NY/WTUzXFeutKPTdhOIw9ODY+P9vpNy0SpZaIfSRtNHkyjzrXbm5L/S/zicURRPb7lkJxQDas1BwNXgyO/OBrHGZCByp6PdnZf2s7UKwOcyWkz6Z6Faic3EyMvP3yRP+Pdl/pKk9PIp5SqIyu+Ho9Ew4+WVWW9JnaP7luEvGlsJLakHdkIh39TvhoLpSDHaTb6sR/+Vgn0DPWPEG0b7BxrybfLql38xHnEf8Oq56nRV9l0k0IrWuucRxDjsH5naJIsbbNjPMPF5e8LP8HxhVbug== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Start Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/stop-simple-evaluation.StatusCodes.json b/docs/docs/reference/api/stop-simple-evaluation.StatusCodes.json index 5fa9732a44..1896a9aea1 100644 --- a/docs/docs/reference/api/stop-simple-evaluation.StatusCodes.json +++ b/docs/docs/reference/api/stop-simple-evaluation.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"properties":{"status":{"anyOf":[{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-simple-evaluation.api.mdx b/docs/docs/reference/api/stop-simple-evaluation.api.mdx index 382561e87a..80ed873a8d 100644 --- a/docs/docs/reference/api/stop-simple-evaluation.api.mdx +++ b/docs/docs/reference/api/stop-simple-evaluation.api.mdx @@ -5,7 +5,7 @@ description: "Stop Evaluation" sidebar_label: "Stop Evaluation" hide_title: true hide_table_of_contents: true -api: eJzlWEtv20gM/isGTy2gxtliTzqtN0mRbLvbbJz2EhgBPaLj6Y4enUdQr6H/XnBGsl5W7PRx6imxRH4kP1IcDrdg8cFAfAcXj6gcWplnBhYR5AVp/+sqgRiMz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8/qkt+c8Q7YTdRMuXU+KPE1jC5K/Nl63mGc7P/jg75yVOSTWbqUzs52/n2VmRwNtzmCuU/gB5f9ZVau8hpBbaA1judke7Y2qf31kEK94Zo3tYrxdo6JNWZcnLvsXl/ETwiFrigum7X0MsDf8fVxOePRc3lQhe3FWH5eWgefJvu14nNeWMsn/8CyL4j4q9wbqvJ6t626wrmbEQlNuW9l754/21OQa3HydTKMv/AdmBPe8= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/stop-trigger-schedule.ParamsDetails.json b/docs/docs/reference/api/stop-trigger-schedule.ParamsDetails.json new file mode 100644 index 0000000000..18752008c0 --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-schedule.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-schedule.RequestSchema.json b/docs/docs/reference/api/stop-trigger-schedule.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-schedule.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-schedule.StatusCodes.json b/docs/docs/reference/api/stop-trigger-schedule.StatusCodes.json new file mode 100644 index 0000000000..801282857b --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-schedule.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-schedule.api.mdx b/docs/docs/reference/api/stop-trigger-schedule.api.mdx new file mode 100644 index 0000000000..74314898e3 --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-schedule.api.mdx @@ -0,0 +1,69 @@ +--- +id: stop-trigger-schedule +title: "Stop Schedule" +description: "Stop Schedule" +sidebar_label: "Stop Schedule" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFv2zYQ/isEX9YGqp0VexKGYV7ToFnXNkjSvjiGwUgnmw1NquTJqWbovw9HSrIkx06apU9xxLvvjt8d747ccBQLx+Mpv7JysQDr+CziJgcrUBp9lvKYOzT5HMPy3CVLSAsFPOK5sGIFSDrxdMO1WAFJ1wJzmfKIS81jngtc8ohb+FZICymP0RYQecmV4PGGY5l7VbRSL3jEM2NXAnnMi8KjoERFApc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P9HKPdnulqyrS+u31690b4BehZBpi+NZaf56eeP1LAYVU/loWZu6hgDJJb/VH7gyzajCmd646JjjoLyxucaiPfwDnxKJTOg/MCEQGu6LVpl168W4z84Mgfu/A7ETkDXH5HR/MA+ImuF/LdVtVG6IQof1UnIQQHEqRd1dX5zuAIT8GdRRNzi637xkrwKWhB4/cOORNdefj+unDjZsj4cabzitHNaYHEjoxYNfNY0hhFamKXPpgh3+XiLmLx2MoRokyRToSC9AoRkIGwRlhJIWVWHqQyfnZeyjfgUjB8ng66wqQ36uQdX2xNlIil+/9Sa4fZiYFLo2V/4ZUqp9mlkGr8hmQmW4CTLxzbHJ+ttOBekt0mETic6ex5Jd5NNj2drc84rDyR4kjiNWf7QpFvh17+PHo19Gx77PG4Urojolh7AbXxZoCSsxxroT0R8d7s6nDOuVNWDu1jn7H/QcsH9tZxJeUE/GUbzY3wsFnq6qKPn8rwFKwZhFfCyvFDVE33fBUOvqd8jgTysGOg20F4i8u6kPykm0v6n3Hm4BqiuZaqIL+41EYYHoPbr6KLJuEqUccPkkSyLGju1P0KLPa9D//dHnFq+o/UxnnLA== +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Stop Schedule + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-subscription.ParamsDetails.json b/docs/docs/reference/api/stop-trigger-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/stop-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/stop-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..dfccc8a9aa --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-trigger-subscription.api.mdx b/docs/docs/reference/api/stop-trigger-subscription.api.mdx new file mode 100644 index 0000000000..dd58ce1f9b --- /dev/null +++ b/docs/docs/reference/api/stop-trigger-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: stop-trigger-subscription +title: "Stop Subscription" +description: "Stop Subscription" +sidebar_label: "Stop Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WFFv2zYQ/isEX9YGqp0VezKGYVnSoFnX1kjSviSBQUsnmQ1NquTJrWbovw9HSrIku46TpU+Jxbvv7r478o5ccxSZ45Mbfm1lloF1/C7iJgcrUBp9kfAJd2jyGYblmSvmLrYyp1Ue8VxYsQQkvcnNmmuxBNLoCM1kwiMuNZ/wXOCCR9zC10JaSPgEbQERd/ECloJP1hzL3KujlTrjEU+NXQrkE14UHgUlKhK46uCzi4RX1R3ButxoB46QXh8f058ENs6SWhyDc2mh2GUtzCMeG42gkcRFnisZ+8jHXxzprDve5ZZ4QRksxKYISrXTUiNkYDtennqJiCeQikIhnxxXUY8ab1KXH1PPXR8+VT4vw8/SzUSMcgUdy3NjFAjdsXzh2EmQ6lgnsquIEFZCyeQhgM9eaKc+gsOH1K9JpqOdCuWgqqJGycy/QIwdnbr+uqk99xyQTs3FhiyRJJJEhJr2+NlIDJyromF50ZfdMDyWNi6UsC/+EXNQfzujX30sMC/wJR8GQJXXhDCU5lvhdrzQhVI97es62CWgeGKwncgGVdkzvJz3v3Q5eoiR80I9QEi05hJheaCWsFaUe3kZ6D6O1PdEZh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plsMJ945djK92GpPvSXaWCL2ddRY8ss8GoS9iZZHHJZ+W3EEsfyzXaEqaGcifjz6dXTsm7BxuBS6Y2JXHgf3zJoGKtRxroT0W8l7tK5TfNNMrY73H5jo92T7Mc7n+S7iC6qTyQ1fr+fCwSerqoo+fy3AUuLuIr4SVoo50Xiz5ol09H9SP+ZsOdqeTPzFZb15XrLNTb8fQJNcTZldCVXQLx6FSWfrAdGfMIumgOp5iJ/EMeTY0d86EKnS2m0x/Xh1zavqP6MYOgA= +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Stop Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/stop-webhook-subscription.ParamsDetails.json b/docs/docs/reference/api/stop-webhook-subscription.ParamsDetails.json new file mode 100644 index 0000000000..217007523a --- /dev/null +++ b/docs/docs/reference/api/stop-webhook-subscription.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-webhook-subscription.RequestSchema.json b/docs/docs/reference/api/stop-webhook-subscription.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/stop-webhook-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-webhook-subscription.StatusCodes.json b/docs/docs/reference/api/stop-webhook-subscription.StatusCodes.json new file mode 100644 index 0000000000..7e5e0d98fd --- /dev/null +++ b/docs/docs/reference/api/stop-webhook-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/stop-webhook-subscription.api.mdx b/docs/docs/reference/api/stop-webhook-subscription.api.mdx new file mode 100644 index 0000000000..11bb3ab873 --- /dev/null +++ b/docs/docs/reference/api/stop-webhook-subscription.api.mdx @@ -0,0 +1,69 @@ +--- +id: stop-webhook-subscription +title: "Stop Subscription" +description: "Stop Subscription" +sidebar_label: "Stop Subscription" +hide_title: true +hide_table_of_contents: true +api: eJy1WM1y2zYQfhUMTs0MIzluDh2dqsbxxE3SeGInOdgaBSJXIhIQYIClbFXDmT5En7BP0lmQEkGKkn/GOVnmLnY/7P9izVEsHB9d8S8wS4357vgk4iYHK1AafZbwEXdo8ulNRZ66YuZiK3Oi8ojnwooMECzJWHMtMqATAdNUJjziUvMRzwWmPOIWfhTSQsJHaAuIuItTyAQfrTmucn8crdQLHvG5sZlAPuJF4aWgREUMF4F8dpbwspyQWJcb7cCRpOOjI/qTQAOWjsUxODcvFPtYM/OIx0YjaCR2kedKxv7mw2+OzqwDdLklu6CsNMSmqA7VoKVGWIANUL7yHBFPYC4KhXx0VEYt03iVevVh7m3XFj9X3i/dz9JNRYxyCYHmmTEKhA40nzk2rrgC7WTssow2p8zsG8QYHKoDILTtqQdBZ2owDVqRJJJYhDpvAWw4OujKqOtf+tIvhsfSxoUS9pd3YgbqT2f08w8F5gU+490LkOs3V+hy853rBih0oVTr9GV92QxQPPKywc06YdFSnM3aX0Ib3WWR00LdYZBozSVCds9TwlqxOmiXztmHGfU9GbOM6spwL5PtyPiLzpZRO5sfJ+okEFFGPLYgEJKpwEMCg0KUCITnKD2e/VpeVWLZ2BuryJOfoeRTJbZWkoCCn6DkpBJbK9mYa7aiqn4/Pb5038dYf6x8KW/s9aRaNtbaatkY7Em1bMy11fJ0omvUAnt6UWFVX/vMxO070AtM+ej46LdfI55JvfnwItRtZdAHPllFmlIQiW/r9ymE3QR8QIF4U+spaZhYKSOS6VyCSu6luRog7q/svNLATisNZcRFgek0M8nB4hRx0EVGU5KTCy2wsNRZ6aix8m8/L/DJIb3jAlP2nrSUEYclaJwSa+eOddXer70ewtwgnCLcAMEh+PnIihjcYA4Yp+GHHwVY6T9Uv9zAwlI6f9gCWgnLPdRG1C7tkFRlFos9pNhkmcQaMDiMhWtj3n5rFNA3B7gPdw+5La9DPCh4C72HFmK/Mfb7XJmbfaD66A2qPmoDq4+6xdVHDIGBXkprdAZ6r8H2sDTw9jA0CPcwbEHuoTc4JzuT52vKi0sK/WhncPfhPhMzBcynD/Ppw/77518mGOVJjIySApCZOdtKGlzra/1ZqAIcExZYAlYuIWFza7KGiznDMAVW5ZtjDsWKSc3cSseDa31pmEgSJpiGG+b6oURMIssKh2wurUMGt9IhyQihfElBM7hF0InUC4apdIxSO2IWFqBp5wJ2ClazWEkyHBM6YVU7JIDX+pqPl0Kqrh2uOXMQ+21Iavb16OXzbaXIktuvg6Ai3z3uecTs0penvn2hWd+ufOPZdWS4QpyIav5zEFvAJ2y1F15g3WYr6Y8dCitRd17W997Dt+1R88CVa7uYliWdfHl8vLvHfhZKJr7rsNfWGvv4JTYBFNLPDtve02ZQJm5RH7LxTLpRFyxqpgLo1y236Ot5zQLhnFhAE8L7Wb0xfOT60UvTskLsmwlK19tLjLeBmB2vvCJb3t4dD2SbCn7NF8RG46LKQ/tNcVK54FCYvLm8PN8RWMVHp06iydlF+4UmA0wNPePkxqF/saHxjw83FWLYmiWG687bTTmk5x9OKWaXm2ceP2/yocild3z1b4qYu9FwCMUgVqZIBmIBGsVAyIpx4tO0sBJXXsj4/OwtrKrxj4+uJiHDBcVrFYFttq3XRC7fAtmxfnIat4ax+sGpmmG9baWemzAYxh4cG5+f7XSbFokSS8Q+jjaaPJlHnWs3t6Xul/m04ggi+31LoSggG1ZqjgYvBkd+7DUOM6EDFX1+7Cy/tRkoUIe5EtKnUr0HVC5uxkXefnai/0e7T3Tez5OIpxQnoyu+Xs+Eg09WlSV9ptZPjptEfCmspBbk3ZhIR78TPpoL5WAH6LYy8V8+1snzjDXPD+0LbJyrybNL6tt8xHnEv8Oq51nRV5h0E0Drmmscx5BjcH6nIFKkbdPi/MPFJS/L/wE+/lmy +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Stop Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/store-jwks.RequestSchema.json b/docs/docs/reference/api/store-jwks.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/store-jwks.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/store-jwks.StatusCodes.json b/docs/docs/reference/api/store-jwks.StatusCodes.json new file mode 100644 index 0000000000..655176b868 --- /dev/null +++ b/docs/docs/reference/api/store-jwks.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/store-jwks.api.mdx b/docs/docs/reference/api/store-jwks.api.mdx new file mode 100644 index 0000000000..ce1bd0caed --- /dev/null +++ b/docs/docs/reference/api/store-jwks.api.mdx @@ -0,0 +1,59 @@ +--- +id: store-jwks +title: "Store Jwks" +description: "Public JWKS the object store's OIDC IAM fetches to verify our web-identity tokens." +sidebar_label: "Store Jwks" +hide_title: true +hide_table_of_contents: true +api: eJy1Uk2v0zAQ/CvWXrj4JYVjTlSAoK9CVBTEoYqeXHfbuE1sY69bQpT/jjZpXz/u+GLZO7s7OzsdkNpFKFawJEUpQilhg1EH48k4CwUs0ro2Wjz/mi8FVSjceo+aRCQX8E0U32YfP4jZ9KvYIukKoyAnjhjMthUuBXHC9ZPZoCVDrSB3QBszkOA8BsUNZhsoYKj1sj8dIkgIGL2zESMUHbybTPi6Z7RMWmOM21SL72cwSNDOElpiuPK+Nnqon+8j53QQdYWNgqLr+UhokCrHzXdIIMErqqCAPDthXT8drDvZnAllQ76EiOGIgYXqIIWaocob6OXlWRH5WOQ5pkzXLm0ytUNLKlNmBJZcQ6dgqB2KTBezObZfUG0wQLEqbwFL5joKcA/rgFqPUIDyZo4tSLCq4fc0UeWC+TvMDBIM61SNWTytsVs3pBuqB/xATkwXM3jc912IRVV6EPXSaQiDfBj7Oi1IwEYZDhKq5v1rBHoJrOHYZpK9zSb85V2kRtmbFku2g3ge7XBHrrtu+f/48iwv4R/Kfa2MZYbDpN3ZIiu4sQhIuJqklFC5SAzpurWK+DPUfc/fvxMG3nop4aiCUWvewars5WVFbIgDtiyv1ujZkEdVp3HTD15mo7ya9/OnH9D3/wBqBUf8 +sidebar_class_name: "get api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Public JWKS the object store's OIDC IAM fetches to verify our web-identity tokens. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/test-trigger-subscription.RequestSchema.json b/docs/docs/reference/api/test-trigger-subscription.RequestSchema.json new file mode 100644 index 0000000000..ddfd840889 --- /dev/null +++ b/docs/docs/reference/api/test-trigger-subscription.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"subscription":{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"data":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscriptionCreate"}},"type":"object","required":["subscription"],"title":"TriggerSubscriptionCreateRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/test-trigger-subscription.StatusCodes.json b/docs/docs/reference/api/test-trigger-subscription.StatusCodes.json new file mode 100644 index 0000000000..6758b58051 --- /dev/null +++ b/docs/docs/reference/api/test-trigger-subscription.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"delivery":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"data":{"anyOf":[{"properties":{"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"is_test":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Test"}},"type":"object","title":"TriggerDeliveryData"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["status","event_id"],"title":"TriggerDelivery"},{"type":"null"}]}},"type":"object","title":"TriggerDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/test-trigger-subscription.api.mdx b/docs/docs/reference/api/test-trigger-subscription.api.mdx new file mode 100644 index 0000000000..edb7c1849d --- /dev/null +++ b/docs/docs/reference/api/test-trigger-subscription.api.mdx @@ -0,0 +1,67 @@ +--- +id: test-trigger-subscription +title: "Test Subscription" +description: "Test Subscription" +sidebar_label: "Test Subscription" +hide_title: true +hide_table_of_contents: true +api: eJztWd9v2zYQ/lcIvqwNZCdN23QzhmFp0mJZ1zZI0r4kgUFLJ5kNRaok5UQz9L8PR0qyJDuO46XYy/rSmOR9R368XzzNqWWJoaNLeqF5koA29DqgKgPNLFfyJKIjasHYsfXTY5NPTKh5hrM0oBq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JPqk1/q3htUs1sMa+yWjijFL4j+ZKO5H5tTwWSSu0cF9Zj47x+fGdDT +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Test Subscription + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/test-webhook-subscription.RequestSchema.json b/docs/docs/reference/api/test-webhook-subscription.RequestSchema.json index 9e06431698..3f0e81281c 100644 --- a/docs/docs/reference/api/test-webhook-subscription.RequestSchema.json +++ b/docs/docs/reference/api/test-webhook-subscription.RequestSchema.json @@ -1 +1 @@ -{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"subscription":{"anyOf":[{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"},{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionCreate"},{"type":"null"}],"title":"Subscription"}},"type":"object","title":"WebhookSubscriptionTestRequest"}}},"required":true}} \ No newline at end of file +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"subscription":{"anyOf":[{"properties":{"flags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"},{"properties":{"flags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Input)","type":"object"}],"title":"LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Input)","type":"object"},{"items":"circular(FullJson-Input)","type":"array"},{"type":"null"}],"title":"FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionCreate"},{"type":"null"}],"title":"Subscription"}},"type":"object","title":"WebhookSubscriptionTestRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/test-webhook-subscription.api.mdx b/docs/docs/reference/api/test-webhook-subscription.api.mdx index 1377e0e0d0..0dae00378f 100644 --- a/docs/docs/reference/api/test-webhook-subscription.api.mdx +++ b/docs/docs/reference/api/test-webhook-subscription.api.mdx @@ -5,7 +5,7 @@ description: "Test Subscription" sidebar_label: "Test Subscription" hide_title: true hide_table_of_contents: true -api: eJztWl9v2zYQ/yoEnzZAdhw3STs/LVtaLNu6BY23AUuMjJZONleJ1EjKiRcY2IfYJ9wnGY7Uf0uKY7QP69yXuOTx7ngkf/zdUY/UsIWmkxv6C8yXUr7XdOZRmYBihktxGdAJNaDN3b3rvtPpXPuKJ9hLPargjxS0+UoGazp5pL4UBoTBnyxJIu5bLUe/aymwTftLiBn+ShTaMBy0ba8oveOBHS7WP4Z0cvNIzToBOqHaKC4W1KOhVDEzdELTlAd04xUSIo0iupl51HATYcN1RS25RNmapbqZukdhZMNSFWBBwHEYi65qoluezqWMgImqa5nz2NKuhvpc+WnE1GffszlE32opBpciSc3n1MuVyPnv4JvaDBvCOMOGcE943tg54pBPf67TbKoxGLbnVCvzylq4MLAAVTccz+st1Qg9FY83adQfDu+RcgPxboOYUmzdvwNqQ58X0bcYyY1HBYthx3ht6fgBx248GkDHodxd1UVFxcajvgJmILhjZkcwCZiBgeHWn24rXzu15NwGK02Cj2HkJ6c2MxJABB/ByIVTmxnJwzVff0D4zYP11ToD3zxeH9RKHq3CSh6wD2olD1dh5cOpzrxmpuViTFWEf5rKY/bwPYiFWdLJePTqhUdjLvKG46ptxWklUipC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Vz5BJsiZAs9yIuTNRYUJmw0UiHGL8tx6fuQ6l7amRM8b369ndIK7eUbRLIHzAnsgU4oxaf19ssmT3bsiUZMLDPTHaFWJv77H2YDpAk= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/transition-interaction.RequestSchema.json b/docs/docs/reference/api/transition-interaction.RequestSchema.json new file mode 100644 index 0000000000..26b4035d90 --- /dev/null +++ b/docs/docs/reference/api/transition-interaction.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"session_id":{"type":"string","title":"Session Id"},"token":{"type":"string","title":"Token"},"status":{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"}},"type":"object","required":["session_id","token","status"],"title":"SessionInteractionTransitionRequest"}}},"required":true}} \ No newline at end of file diff --git a/docs/docs/reference/api/transition-interaction.StatusCodes.json b/docs/docs/reference/api/transition-interaction.StatusCodes.json new file mode 100644 index 0000000000..42f9c46899 --- /dev/null +++ b/docs/docs/reference/api/transition-interaction.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interaction":{"anyOf":[{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"created_at":{"anyOf":[{},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"status":{"anyOf":[{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"},{"type":"null"}]},"data":{"anyOf":[{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},{"type":"null"}]},"flags":{"default":{"delivered_in_band":false,"delivered_webhook":false},"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},{"type":"null"}]}},"type":"object","title":"SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/transition-interaction.api.mdx b/docs/docs/reference/api/transition-interaction.api.mdx new file mode 100644 index 0000000000..8a73d7ea82 --- /dev/null +++ b/docs/docs/reference/api/transition-interaction.api.mdx @@ -0,0 +1,67 @@ +--- +id: transition-interaction +title: "Transition Interaction" +description: "Transition Interaction" +sidebar_label: "Transition Interaction" +hide_title: true +hide_table_of_contents: true +api: eJy1WN1v2zYQ/1cIvmwLVCcr9iQMw9KmRY2uq5G43UMSGLR4slnTpEqenGiB//fhSEmWP6ImgecXS+Td7z55uuMDRzHzPL3mV+C9ssbz24TbApxAZc1Q8pSjE8Yrep0og+BERs884Q6+l+DxjZUVTx94Zg2CQXoURaFVFiBOv3lraM1nc1gKeiocCUAFPqxHwRMl6Q2rAnjKPTplZjzhqFDTQq0eG0q+TjjaBZg+8nEgWCfco8DSHyIFUy7J8AKMjCsOfGGNBBmfrV6Fx0yYDLQGSa7Z0We4cchVlLQm9aIoO/0GGdaOUg4kieuY29jRatmLP27DcBn9ztcka4ONroR1Y4WPzn19dkZ/EnzmVBHilvKrMsvA+7zU7LImJjNfFr7MlpGpNppSZAauE4u3gSLhEnJRauTp2Trh3Uwiiab6nPP0ehc9JsVmdzeIuXVLgTzlZakoM1oKU2rN1x2HxsTJHAgEORG4hdvH+DaysHMkgLKQzwX4EllqAAkanglwEVlqgMaEaTU5nncaI99U9Qlr7DyqlMYTrZTGGU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RKOqJEm7Ekt7PS5xbp/4VtbqK/DCPXOQgOgGXmxuld/diWWjYvSHq5FKcezYLzcDRThMhtXLbzazzYDE7Hw33eqitLTqlIgtJ2agftmkq2vLlxoU0zizDGeUIYvlnu0N6tI07Pxv8OjgLnaL1uBSmI+LRpNhStHUwpf5poYUKhzOo9VDnS1sVPd+6aqHXTs7cJnxOaZZe84eHqfDwxen1mpa/l+AoCW4TvhJOiSl575rqxLxJh7pbjofQ4KtwmolclzH8O8WN8jBynGcZFNhLe9s5CaPPV2Oe8Gl9zbi0knicuKNTLu54yjldWUb7aJCjtQeuhZmVVI9SHjHp9x8MCz9k +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Transition Interaction + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/triggers.tag.mdx b/docs/docs/reference/api/triggers.tag.mdx new file mode 100644 index 0000000000..27175ba5b9 --- /dev/null +++ b/docs/docs/reference/api/triggers.tag.mdx @@ -0,0 +1,20 @@ +--- +id: triggers +title: "Triggers" +description: "Triggers" +custom_edit_url: null +--- + + + +Inbound provider event triggers and their watchable event catalog. + + + +```mdx-code-block +import DocCardList from '@theme/DocCardList'; +import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; + + +``` + \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-application-revision.StatusCodes.json b/docs/docs/reference/api/unarchive-application-revision.StatusCodes.json index c7cd5cc324..2a2144b27a 100644 --- a/docs/docs/reference/api/unarchive-application-revision.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-application-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-application-revision.api.mdx b/docs/docs/reference/api/unarchive-application-revision.api.mdx index e32296b74c..66a9212df9 100644 --- a/docs/docs/reference/api/unarchive-application-revision.api.mdx +++ b/docs/docs/reference/api/unarchive-application-revision.api.mdx @@ -5,7 +5,7 @@ description: "Restore a previously archived revision." sidebar_label: "Unarchive Application Revision" hide_title: true hide_table_of_contents: true -api: eJztWktz2zgS/isoXDappSVPak86jcdOyt5JNi4/Zg6Oy4LJlogEBDgAKI9Wxf++1XjQpEhJtiNftnxIOZIaX78bDaBX1LK5oZMbelSWgqfMciUNvU1oBibVvMTPdEIvwFilgTBSalhwVRmxJEynOV9ARvArw5Uc0YSqErRDOcvohFYyEN2xR/y7SE8TWjLNCrCgUYgVlawAOqFDxHc8ownlKE3JbE4TquGvimvI6MTqChJq0hwKRicrapclwhiruZzThM6ULphFeSqHYrkVSNBSmlwEPuQso3V9i/CmVNKAQcQPh4f4p2uVyypNwZhZJchFIKYJTZW0IC2St/QYfze4ZtWSstRoLMs9h1RVflEQnksLc9AtaY8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OCCoAueRayQykPcA3CFcZj8q4JY+EilWlD9GgOZb83PxUPYtvfFv3ZFSeC6XuPZRlegGWFHnk6m9axXZKuCFrlLiH1YRgt0tJMpYTLg1PgGyY8ZP5JhuFjYLObQ+HSmtdoyfMN42odYLlkFR+IGAJotH288zNRaNZZqOhhsuFgIOas6oFB90FoXJAVajs1w8fuu04fzHBE78XcdP6y3txErCMi9aC0hYQKm5vMJ6x3b0dXo0+q/Daii8AZtHXytTz6utFhkUdGeQKf63OrU68efJyN6v23wZMJ5DHyOW/tjfYzeURufHmB7lWL0AVIh+hYSpOfAi2Zdbp1dV5B9DnRwY2VdiAlitjXZuZTemEjhtJYMZVmpnxeqDhrBzXDWwU5169rBrV3J0g4nEXY/8xtTY3k/EYilEsVJGM3CsmGzHuBW8RIy40tysHcnR+9ges/K2U23g0BNxpzCdbW6wOEMv5H4CUhaY536nA/1u917tWOX/z6GisFu66MJ1x5Oj8rFOHrZ+whljsUqbS5H6m0Ybbj966LZCrIGqBZb/Vv7Suo+nh6JfRIX6FUcqYbKi4rngnfT16mwavHwv9Ga2KgUdM6nEuGJeNy16fMDfNWcO4PA8pQyM6Ge5SfMya24immIKTG7pez5iBay3KEr/+pwCNaXAbem5mGJSbNU24wf8n9dlv0NN3F6Hq3pMhb6pUkZgn2IKBn2hE72G1pc3STVFplZbrIH0Ux+AuPiuczoyK+VtX3vnXyytalv8DTFOr6Q== sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unarchive-evaluator-revision.StatusCodes.json b/docs/docs/reference/api/unarchive-evaluator-revision.StatusCodes.json index a1cf994698..ba51906a4a 100644 --- a/docs/docs/reference/api/unarchive-evaluator-revision.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-evaluator-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-evaluator-revision.api.mdx b/docs/docs/reference/api/unarchive-evaluator-revision.api.mdx index 9034526da2..9e9519cd1c 100644 --- a/docs/docs/reference/api/unarchive-evaluator-revision.api.mdx +++ b/docs/docs/reference/api/unarchive-evaluator-revision.api.mdx @@ -5,7 +5,7 @@ description: "Restore a soft-deleted evaluator revision." sidebar_label: "Unarchive Evaluator Revision" hide_title: true hide_table_of_contents: true -api: eJztWktv4zgS/isELzuDUexMY04GFths0o1kpns7yGP2kA4cWipb7FCkmqSc8Rr674siKVmyJDtJuy+DnBLbVV+xvioWi481tWxh6OSOvl8yUTCrtKH3EU3AxJrnlitJJ/QKjFUaCCNGze1RAgIsJAQqFaJhyQ1XckQjqnLQDBUvEjqhhWQ6TvkSprX0tJKmEc2ZZhlY0DiGNZUsAzqhXdEpT2hEOQ4mZzalEdXwreAaEjqxuoCImjiFjNHJmtpVjiDGai4XNKJzpTNmcSyFQ7HcChSoPSZXwQq5SGhZ3iO4yZU0YBDv3fEx/mlTcl3EMRgzLwS5CsI0orGSFqRFcZbngseOiPFXgzrrxhhzjTRZ7i3EqvBKYehcWliAboz11Elsx+VX8pSCJKzmn3BDNNhCS0gick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UYU3ULyZN4uuVqKOt1gv0i/qyCA3+Gt5nnTi9RORu/G0f9VgWtE8RS7/sp0Rry90yI03P8g1XujLEPkI9VNx5kOwL73Ob24uW4A+P5ZgU4XNX5ky1jV52ZRO6LjKKDMuU8qMN53NXsW4ahyjWHz1qmwRc/d0dMwy7uLrP6bWZmYyHkM+ioXKk5F7V2Qjxr3gPWLEueZ27UBOLi/+gLW/KXLbh5qAOyH5RGuKVcFhGf8DkK7QruZ7B/j/yhd016bmbwMdheXKXfUaOOPIyeVFayo2fsL5w2KXLqUm9zONdtzeeus2Mm72UAts+a/ql8YVMT0e/To6xq8wQksmaypuS95Juz9u19zNdoq/rEcwEIkZPc4E47J2A+uz5W7bEWRciod8oRGd9LUHblPmPqIp5t7kjm42M2bgVouiwK+/5aAxB+5DC8wMI3K3oQk3+H9SHcZ6Hf3pKky3n0mfJ2WeSEwSNBY/0Yg+wrq3u9FVprTMyE2QPYljcPeQJUqrkGLqVhPu8vP1DS2K/wOPxng+ sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unarchive-mount.ParamsDetails.json b/docs/docs/reference/api/unarchive-mount.ParamsDetails.json new file mode 100644 index 0000000000..63809830b6 --- /dev/null +++ b/docs/docs/reference/api/unarchive-mount.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-mount.RequestSchema.json b/docs/docs/reference/api/unarchive-mount.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/unarchive-mount.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-mount.StatusCodes.json b/docs/docs/reference/api/unarchive-mount.StatusCodes.json new file mode 100644 index 0000000000..eee3b3bbcb --- /dev/null +++ b/docs/docs/reference/api/unarchive-mount.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"properties":{},"type":"object","title":"MountData"},"flags":{"properties":{},"type":"object","title":"MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-mount.api.mdx b/docs/docs/reference/api/unarchive-mount.api.mdx new file mode 100644 index 0000000000..17f7166650 --- /dev/null +++ b/docs/docs/reference/api/unarchive-mount.api.mdx @@ -0,0 +1,69 @@ +--- +id: unarchive-mount +title: "Unarchive Mount" +description: "Unarchive Mount" +sidebar_label: "Unarchive Mount" +hide_title: true +hide_table_of_contents: true +api: eJy1VttuG0cM/RWBTykwkVSjT/sUNW4RI3UjxHJfBMGgdyntpLOXzMWIsph/LzizN13suIbzpMuQh+Q5HA4bsLgzkKzhunKlNbARUNWk0cqqvMogAVeiTnP5QHcFW4CAGjUWZEmzXwMlFgQJhNM7mYEAWUICNdocBGj66qSmDBKrHQkwaU4FQtKA3dfsZ6yW5Q4EbCtdoOWILqBYaRUbhMQmVxl4v2E8U1elIcMQF/M5f2RkUi1rThkSuHFpSsZsnZp8bo1BQFqVlkrL5ljXSqahwtkXwz7NKK1ac/1WxghpqHnIVpaWdqRH6b1vWcloi05ZSOZeRDJCrHL/aRtoOsLVhJayOzyyepSUDC29tbIg8KI3K51SwKz0yUTYycKCF+Dq7GcEuY2wbZCMFP2EIJcRtg3S0XW/5w57XpzQRs8h6/d96K6Br1eN0rHVR+kIe9UoHV19lHgrHwd/CuxvDOIc3quXQV2OILwAo9zupVA37OsFvB5pkalaV18ota0Yz51Ky+jVsm3IGFmVPxD0yeoiQtcjaE+HkRedd3XPsY9n5CU7eQFbFUb6//T+M3ixVes9VIFZJllBVMsRYpznh5hPVbhq8QuKtb02/jXj+jNlDk/Qeiz25oiAM+Dn0A58+gfGe7b97eLi9D36B5XMwmsz+UPrSr/8McrIolT8TVoqTiUGVaUHp89oxO5B85uhVtQa96NS/6pigkE9szt3TQYRjMFdmB7R5HHTQMZkxad8q8vaxYe2u5zhD5799tsI5kSH98zlN/tD5ZmbmH5rN9J/kCgq9DgVl1GCpxrjw2q1PAGM/XHYGLfdZjW5bneIgmxe8dJVVyZuWjaHBGZhnTCzptux/KzfyoCHj37oljGnFTtgLYPI8WdubW2S2YzcNFWVy6a4o9LiFGU03DBG6rS0+wCyWF59pP0Hwow0JOvN2OCGezN226FZrxDW8iMxZ+1iuHA2r7T8Hluo3Q7z6OWD8ttqLPwiJDdZLK/gmLGDI75EmIae6SKFYxBHZQ/VggAqwhUCS1i8609YceYwhplPf53Ow9NQGVtgOQpxqtnRI9mSwC05qxXKcGlCPk0r5zpuhwYEJKOleVB0IyBn/ZM1NM09GrrVynv++6sjzRJtBDyglnjPhK0byKTh7xkkW1SGTpLq5w28+dxeiV8mIM4n28lYsoYPqBz/AgH/0n685oeBkXc90rTHizSl2o4cT+YbN1Pf58tPNyvw/j/fKT+2 +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Unarchive Mount + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-simple-application.StatusCodes.json b/docs/docs/reference/api/unarchive-simple-application.StatusCodes.json index e62734f03b..7fe983aa98 100644 --- a/docs/docs/reference/api/unarchive-simple-application.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-simple-application.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"properties":{"playground_build_kit":{"anyOf":[{"properties":{"agent_template_overlay":{"anyOf":[{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-simple-application.api.mdx b/docs/docs/reference/api/unarchive-simple-application.api.mdx index ce9cbd86cd..7d3f1b91d0 100644 --- a/docs/docs/reference/api/unarchive-simple-application.api.mdx +++ b/docs/docs/reference/api/unarchive-simple-application.api.mdx @@ -5,7 +5,7 @@ description: "Unarchive an application through the simple endpoint layer." sidebar_label: "Unarchive Simple Application" hide_title: true hide_table_of_contents: true -api: eJztWUtv2zgQ/isEL9sCip0We/JpvUmLZNtugjjpJTUiWhpbbClS5cOp19B/Xwwp2ZKfiesCu0BOtqSZb2a+GQ5fc2rZxNDePe0XheAJs1xJQ4cRTcEkmhf4THv0TjKdZHwKhEnClqLEZlq5SUZsBsTwvBBAQKaF4tISwWagO1/kF/nuu+NTJkBaYhWJr68Gt6TbgDHdeePpgadl19UW44g8cpt9kWhCgymUNEBMxgogakzibjDbhos7NKKqAO2fL1PaowvAh6Dw0FCgES2YZjlY0MjGnEqWA+3Rtlc0ohzZKJjNaEQ1fHdcQ0p7VjuIqEkyyBntzamdFahtrOZyQiM6VjpnFp1wHsVyK1CgQTq5TGlZDhE1hGgQ6O3pKf60kzFwSQLGjJ0gN5UwjWiipAVpUbzhdferQZ15w7lCIzGWBwuJckGp8plLCxPQDSfPvMRqRcRvYvKYgfSZb1bEIzNkrJxMIxKfxkTZDPQjN9DxEGPmhKW90zJqeumdlrOrsee+7eBY+ArdLsDNwwpUFcpIKQFMNkK5NKTfyvrCoTETBsoIwWDKhGNW6X1Q7xaCm4GM5EUBdh/MoBLbDJIzySZYY7tBPlVim0ESZ6zK92GcBanNEELs1f8otilnSn3bp32BMlvcVynsdR5ltlFok2w/gSi0GWAMkI5YsjeE97X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: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unarchive-simple-evaluator.StatusCodes.json b/docs/docs/reference/api/unarchive-simple-evaluator.StatusCodes.json index 08c2b6a232..d50b7d8e32 100644 --- a/docs/docs/reference/api/unarchive-simple-evaluator.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-simple-evaluator.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-simple-evaluator.api.mdx b/docs/docs/reference/api/unarchive-simple-evaluator.api.mdx index 0f761e9d9a..d888d48788 100644 --- a/docs/docs/reference/api/unarchive-simple-evaluator.api.mdx +++ b/docs/docs/reference/api/unarchive-simple-evaluator.api.mdx @@ -5,7 +5,7 @@ description: "Restore a soft-deleted evaluator via the simple surface." sidebar_label: "Unarchive Simple Evaluator" hide_title: true hide_table_of_contents: true -api: eJztWUtz2zgM/iscnNoZNU47e/Jps0k6ybbdZvLoJeNJaQm22FKkyodbr0f/fQekJEt+pqk7s4ecEtvAB+ADCILkAhyfWhjew/mMS8+dNhZGCWRoUyNKJ7SCIVyjddog48zqiXuVoUSHGcNGhc0EZy5HZkVRSmTWmwlP8QgS0CUaTjCXGQzBK27SXMzwIUo+tBCQQMkNL9ChIX8WoHiBMIRW4kFkkIAgf0ruckjA4DcvDGYwdMZjAjbNseAwXICbl6RrnRFqCglMtCm4Iwd8QHHCSRJog2aXGVTViDBtqZVFSzBvjo/pT5+MG5+maO3ES3ZdC0MCqVYOlSNxXpZSpCHowRdLOouOa6UhSpyIFlLto1LtsVAOp2g6Lp4GidWMvGbfc1SMq04ShGUGnTcKs4QdM+1yNN+FDWnIcMK9dDA8rpIlpcFbNf84CYT3PZvIUBjbBYR96ETaiWGstUSuOjFcWnbSEe24M+HSYpUQWM+rXVDnnZrZBGSVKEt0+2BuarHNIAVXfEqltRvkQy22GST11uliH8ZplNoMIeVe/fdym3Ku9dd92hcks8V9neFe50lmG4UuzfcTSEKbASaI2Zine0N428htCSPne4vhlGQ2qOfcPngjd6pfcMvujNymHpftXoSbKLYFJOcqk7h7aRDKRS23BlMljaIef8HUdfRuQituV9XbsPCrpLWkvJRQjQhhrSXwLBO0prm86jWHpcSKux3cujvTN5thIBUm9ZKbF+/5GOXfVqtXH70rvXsJq+FQ724CWpWGteDXo1tq38bwoUDHnxhsJ7KVvt4zXIz733Q52sfIWy/3EJIsQDgsHqnFjeHznbys6P4cqR+IzCqpN/VHUbaG8Q/pVis74dOgzjoQVQKpQe4we4h9YhtgZ4zIuMNXTgR/tls5jbDsJJDly+x3GLmLsLWRejQ7tJGzeuKLRhq6xnOayR5nJwxejyHrr3mYxZZ8HdRKw1ZrpSHsoFYaulorVvrpU2v1hn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FXo9RFRkNxvnSpX5oIQFb90hfYAHVh8k+q9eVKaK5acOeRHTQLusxd+9s1h6lnw//gxz+V2tKKd1VXrhncg9F7mWgs4y49trPzB6K2Y8Vn/tKKoHfVEVl58j0XE5+azkpo57o/NT76Jn3DPx4smP9FmAEKHfA5vBTQKw6Q4MLQc3EAQ1cV5BsoB3Y4GAnZvfq9DZFNpPgWjenBmNtEvZduJRJcGgdqyhjoBJWh8cyNHNMmFBOs8/Uen4++hnnWtfFXZfO1QKlzpHNtKFLdqHmsrlMb9wkW2Ttjzdvtm+lP4EUib9eZefG+LvRJ15JJ+hA+J632i2bAlLHnV9/Zre3WrawwVoXHrq6HqZrCzvfdY2/HsSthTmud1y/qCeD3dKv9bHtxdsHjx8H3Y8WzNZKnhKXP9zO1V4/Q9x7boL7lVxnz9RLFFaon4qzsAT7Uuvi9vZqCzDkR4Yu1fTakmvr/LuKS/mYj0I+jZp8sqNV+3GlHDWvMzziFs2ifonxIxAfQS78moaPqXO5HY9GWBzFUhfJkb9mhSMQQXBCGHFhhFt6kJOry3e4DE04H99P2gL+8AnJ1RVrFgRy8Q6JoupV6KRwqTbi3/pBwT8LhUHL0ybUTLfX2V/vAju5utzafJ2faM9A7FOktuR/5tFG2OtoaVTI/I7hDiH7s/mFFrgZ0vjx0eujY/qKViUD1TJxV/POQsHYeOHoXBQ1m/pXHuUqUimjR7kEoVqDbsiWex60eOu1yPKIjzee49YpM4l4Svk2vuer1RQs3hlZlvT1twIN5cCkOoimtCL3K54IS/8nzTnXG+qL62qLvWR93td5oihJyEf6xCP+FZebj4i+CKV1Iq4qkZM4Rj/Z1cpbNZMyttlbVx9vbnlZ/gf1ag0u sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unarchive-simple-workflow.StatusCodes.json b/docs/docs/reference/api/unarchive-simple-workflow.StatusCodes.json index dbfc15cc3b..7a2b42e02a 100644 --- a/docs/docs/reference/api/unarchive-simple-workflow.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-simple-workflow.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"properties":{"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-simple-workflow.api.mdx b/docs/docs/reference/api/unarchive-simple-workflow.api.mdx index 580385c287..d647fd800a 100644 --- a/docs/docs/reference/api/unarchive-simple-workflow.api.mdx +++ b/docs/docs/reference/api/unarchive-simple-workflow.api.mdx @@ -5,7 +5,7 @@ description: "Unarchive Simple Workflow" sidebar_label: "Unarchive Simple Workflow" hide_title: true hide_table_of_contents: true -api: eJztWUtz2zgM/isanNoZNU47e/JpvUk7ybbdZPJoDxlPSkuwxZaiVD6cej367zsgKVnyu647s4ecEtvAB+ADCJLgHAybaOg/wOdCfRuL4knDMIaiRMUML+RlCn2wkqkk41N81DwvBT4+BVmIoWSK5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MGPd10Fr+cn7VmU1x+KNtFLRnBLb2tVlsr3lwv7BRnfjRg1hJyRlz+MBuTtrxLeLDcOPe9XKvWqxS5DG2n4tylYFeFXNzeXq8BuvpoF8ZddWsSuKIKvixvTVI0SUZXK3mmjb1FMQn0oecuBnrV4b7uLRo3KWWvvoiBEDSqWXXrYicc6LGc29y7n4kxue73elicRCIr4hN7iMpOGHeCI8KICsXN3IIMri8/4tztsaH/MGoK2LXFFWFbrE4cy/lHJCr9DdCgMEmm+L/VdYG9A3JzlKWXy0nWrAd7eMuCwfXl2sVJ6xV9WyyypVRZsq8hXAl7GS1NAqn9ssAgS/+s31Ah1DMYnJ68PTmlR5STlMmGiV2pXDkG8nRQzfZywbhsTKAuyw/gsgzLSxwNIfTbd2bLVI9CSKhK+g+wWIyZxjslypIefy9QUe5GfoEYE5MPC4i5pv/jevlZ8bHuT/Dqxn9Cr4Plutn2vcqvpOTStQ39ghCecL5y0Wd7TFLVz8JLDKII7bxV6a61RCq0+oO4vhreQln+B2dw0SM= sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unarchive-workflow-revision.StatusCodes.json b/docs/docs/reference/api/unarchive-workflow-revision.StatusCodes.json index 6bf8374ea5..f075452af4 100644 --- a/docs/docs/reference/api/unarchive-workflow-revision.StatusCodes.json +++ b/docs/docs/reference/api/unarchive-workflow-revision.StatusCodes.json @@ -1 +1 @@ -{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":"circular(LabelJson-Output)","type":"object"}],"title":"LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":"circular(FullJson-Output)","type":"object"},{"items":"circular(FullJson-Output)","type":"array"},{"type":"null"}],"title":"FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"properties":{"references_used":{"items":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"properties":{"references":{"additionalProperties":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/unarchive-workflow-revision.api.mdx b/docs/docs/reference/api/unarchive-workflow-revision.api.mdx index 2ad83d8bbb..6454675b63 100644 --- a/docs/docs/reference/api/unarchive-workflow-revision.api.mdx +++ b/docs/docs/reference/api/unarchive-workflow-revision.api.mdx @@ -5,7 +5,7 @@ description: "Unarchive Workflow Revision" sidebar_label: "Unarchive Workflow Revision" hide_title: true hide_table_of_contents: true -api: eJztWktv4zgS/isELzuDVexMY08eLLDZpBvJTvd2kMfsIR04tFSO2KFJDUm5x2vov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Mkw9giFlEREmE/IQfPuALfkNSjzBekbw9UJFMlYQLjVPgOyY8Rf9RW7psYJ22g4Olda6Ji9JG7rrLIuUF0cCViCaG+4LtvX68UNV4bC/vXvXfSvxOxM8sb0+YvPs6x9KJGAYF60M3xYQedze8V9QL94Pbw8fc9+rxCt0/dj3yKSnZ+pEhkUtGeQGfw0HPyvePLrYq0nzZwOm45JT5PJP0+u25n6F3DjzvVyrVx9c5Dw0TMWZc8FYjJzf3Fx2AF18tAPjNrwMIp2nONT2KtIcHxAVuTb2pZBJ6YxOQ4mopyFk9XTT92ComtZPjyjmWrUKr4zs1RudsoLbSHAfU2MKPZtOoZzEIi+Tie0UsgnjTvAeMeJScbO2ICeXF7/B2l3+2HqhIWAPPS4k22K1G1nBfwMk1r94cq8B+H9DT9w+dXIXfJbssFHXrwesceTk8qKTqVs/4UpjsQ2soMn+TKOdaW9naysXu86oAZb9o/6ldetLjye/TI7xK/RPxmRDxbhjd3odnhCM4WkhGJeNy1Hn87v69Yi2Me29TiM6G3gotnX8fURTjJ/ZHd1sFkzDrRJVhV//UYJCT977xy8L5PVuQxOu8f+kPiXt2FvnLvrTlV9eP5Pt8a49j+Btia7Glwr4iUb0CdZDz9xsIkpDWG286Ekcg70fDCCdvInxV6+Zy8/XN7Sq/gerL7HW sidebar_class_name: "post api-method" info_path: reference/api/agenta-api custom_edit_url: null diff --git a/docs/docs/reference/api/unassign-role-from-user.api.mdx b/docs/docs/reference/api/unassign-role-from-user.api.mdx index edf80af605..f502c958c9 100644 --- a/docs/docs/reference/api/unassign-role-from-user.api.mdx +++ b/docs/docs/reference/api/unassign-role-from-user.api.mdx @@ -1,11 +1,11 @@ --- id: unassign-role-from-user title: "Unassign Role From User" -description: "Delete a role assignment from a user in a workspace." +description: "Remove a role assignment from a user in a workspace." sidebar_label: "Unassign Role From User" hide_title: true hide_table_of_contents: true -api: eJztVt9v2zYQ/leIe1kLCHYW7ElPMxYXNdqhQepsD4kRXKSzxFYiVZJKown634sj9cv2Em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jPns5ezczoy2vlGqImJm36yMxog7DUttZs02Q887cZG/t+uxL4cqAXnphYyDomYma4v7ttx8VEdZ0drMNX3hkOlnSd01z0Ihze2DoGO0/Sngi2kEw81dfNW1A6fScaL677xz9hTLn7B3WRZPoq6JUxsp99g53R3/m6L/QIdzWzox0qy89+rOQwFtZvaHHw5yHhcNNUwdboesshzNH7y+GQvUgD7+Xm5fLdcLyGEH4NNoIQ= sidebar_class_name: "delete api-method" info_path: reference/api/agenta-api custom_edit_url: null @@ -37,21 +37,13 @@ import Translate from "@docusaurus/Translate"; -Delete a role assignment from a user in a workspace. +Remove a role assignment from a user in a workspace. Args: - workspace_id (str): The ID of the workspace. - email (str): The email of the user to remove the role from. + email (str): The email of the user. organization_id (str): The ID of the organization. - role (str): The role to remove from the user. - request (Request): The FastAPI request object. - -Returns: - bool: True if the role assignment was successfully deleted. - -Raises: - HTTPException: If there is an error in the request or the user does not have permission to perform the action. - HTTPException: If there is an error in updating the user's roles. + role (str): The role to remove. + workspace_id (str): The ID of the workspace. + + + + + + + + +Upload Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/upload-session-mount-file.ParamsDetails.json b/docs/docs/reference/api/upload-session-mount-file.ParamsDetails.json new file mode 100644 index 0000000000..5756e65010 --- /dev/null +++ b/docs/docs/reference/api/upload-session-mount-file.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/upload-session-mount-file.RequestSchema.json b/docs/docs/reference/api/upload-session-mount-file.RequestSchema.json new file mode 100644 index 0000000000..9e55966a9c --- /dev/null +++ b/docs/docs/reference/api/upload-session-mount-file.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body","body":{"required":true,"content":{"multipart/form-data":{"schema":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_session_mount_file"}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/upload-session-mount-file.StatusCodes.json b/docs/docs/reference/api/upload-session-mount-file.StatusCodes.json new file mode 100644 index 0000000000..584bb423c3 --- /dev/null +++ b/docs/docs/reference/api/upload-session-mount-file.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size","default":0}},"type":"object","required":["path"],"title":"MountFileWrittenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/upload-session-mount-file.api.mdx b/docs/docs/reference/api/upload-session-mount-file.api.mdx new file mode 100644 index 0000000000..fac825cdb7 --- /dev/null +++ b/docs/docs/reference/api/upload-session-mount-file.api.mdx @@ -0,0 +1,69 @@ +--- +id: upload-session-mount-file +title: "Upload Session Mount File" +description: "Upload Session Mount File" +sidebar_label: "Upload Session Mount File" +hide_title: true +hide_table_of_contents: true +api: eJydVU2P2zYQ/SvGnBqAa7mLnnSqmyaIkS5ixJv2YBgLrjS2mVIiQw4XUQz992BISZa83qToyTJnOB/vvRmegOTBQ76FDXqvTO1hJ8BYdJKUqVcl5BCsNrJ88MnhoTKhpoe90ggCrHSyQkLHMU5Qywohh+SiShCgasjBSjqCAIdfgnJYQk4uoABfHLGSkJ+AGsv3PDlVH0DA3rhKEucOMQop0uxwx4FnqxLaVgzZuugx05eArpmk2kvtJ7lk3XzYx2qnWTlid1IHraHdnfOuOUXLJxwYPf1hyoaDXbZUmJqwJjZVQZOy0lHG3dyUkmL6cyHWMc6k0PO/COgVKLqId1gqeZ9s0lqtikhQZgpCuvHkUFYjoN5ytLYVfTjz+BkLmgCzTSlHXXJTDy+z3bYc0KG3pvap6NvFgn9K9IVTlguCHDahKND7fdCzj50zTJAZ1//Z852XYYnkXoFlyowAr76N4VM14QHdyHHDDgJK3MugCfLFz9CJmXcX2mNc/3GKCOuht4TLb7e3z6H4W2pVxkZnb5wz7v/jUCJJpflLEVb+uYM2xcT6H2Teg9TuzlBI52Qzgu0vkwpkjCt/+BEVd+i9PCAMwV52jWDMopxbnlwbIiC9eRUPWgEFfR2FGWjq/V4zll/pp0JnbFL5nd+I1jNFiaGXofgzUXAtWe/y7v5+/Sxg0sdUGJ/ilM26pTtLe+1t2qkV0tHw4rXGU9yxPAKQdSPpsziTPjv1a7bNeD59lkYXBHh0T/1KDk7zZWlVpD79PRJZn2cZhnmhTSjn8oA1yblUyXHHMYrgFDUxyHK9eo/NO5QlOsi3u7HDhhWbNDh1G3iTVr1HRrJb2MtAR+PUtySsbnMf06026mFvxnJYxuJmy/UKLnGcmHi0ZBGV1GeKZhAXbZ+7BQFYxcECQln9PlhYB4xhSrOY/zpf8BFTUsl6lOJHTE5qHeBgyWZWSxWHKlbW77kt9CSzDiLNICAfvaeRaW4ocb0TcGSV5Fs4nR6lx09Oty0fp5eQySuVl4969Bb+i8352XySOnBVkfQn6RT7Xr930c6wyeCXj92wvZqBuN5mL4W6GefsaxkajKvo2Ovs1Jlfp0w3cWGcr197YVnj6dKyKNDSyP3ZuuWOh2Fbf9jcg4DH7mGvTMl3OHCMK86frP+2/Q6k0Sft +sidebar_class_name: "post api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Upload Session Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/api/verify-permissions.api.mdx b/docs/docs/reference/api/verify-permissions.api.mdx deleted file mode 100644 index 060fba8b36..0000000000 --- a/docs/docs/reference/api/verify-permissions.api.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -id: verify-permissions -title: "Verify Permissions" -description: "Verify Permissions" -sidebar_label: "Verify Permissions" -hide_title: true -hide_table_of_contents: true -api: eJy9Vt9v2jAQ/lfQPVvAqj3laWirVtRNQy3bC4oq1znAnRO7tlOVIf/v09lJSKCVqLT1CeL78V3u++6cPXi+cZCtYCYEOgc5A23Qci91NS8ggye0cr27M2hL6ZzUlQMGhlteokdLoXuoeImQARcUBQxkBRk81mh3wMDiYy0tFpCtuXLIwIktlhyyPfBq92MdM/idoQzOW1ltILDupKqVgpAz8NIrOpglkEA+Da4T2uBdDPi/2LcENFqS9RRfFv8AncFa25J7yKCuZXFGNfNiUItFp2sr3qUdNw3WaUe6Kt69KV1NsS854TmjK4eOEC6mU/op0AkrTRRSBrd1lP66VqObxhkYCF15rHysyxglRRyJyYOjmP2h6hBCYPDx4uI08S+uZBHDRpfWavuGrGAsjaGXqe4CPZeK/kmPpTt1UFoMrGfQKSuPG7QQ8sDaM24tJ5Labn7TqUAIDEq3oczH1LSu39E5vkHokr3uGpvRiIbUYerYkNY8jweBgfDPvTT6/gGF76X5TL189iS8E5+DylaxN6n8xq8nlwNFiaHXW/ElUfASWOtytVwuThImfRwJI+7U0WKwU0v0W00bd4M+rli/hQwmvcU7SbsYGDi0T+3yra0iP25kZDc9br03LptMsB4LpetizDdYeT7mMjnmlEPUVvpdTDJbzK9xd4W8QAvZKu873JIok8yGbh013MhrpLqa8Z/Vfqut/MP798E2RYVI+Vr3GZ/F4kazxRyOWzUw0fRwEcXSIkUzsKPXPrwtMMAyzg545OWnzkJUUw8TzHT8YTylI6OdL3nVg3iRrEGRXR9IjhOjuIwDE0vaN0SuYHiDNlTmDLbaebLv9/fc4U+rQqDjtC+Jm0I6fq96G/M37vq37RNXNaFH+l9xHlyR5wfE9X2O+/G186aYI5ScHqykkChF1kqHmpFC6WPF+F7UyTKlLN1Efb1cQgh/AX+FB1E= -sidebar_class_name: "get api-method" -info_path: reference/api/agenta-api -custom_edit_url: null ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Verify Permissions - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/docs/reference/api/write-mount-file.ParamsDetails.json b/docs/docs/reference/api/write-mount-file.ParamsDetails.json new file mode 100644 index 0000000000..2b57fbbcdc --- /dev/null +++ b/docs/docs/reference/api/write-mount-file.ParamsDetails.json @@ -0,0 +1 @@ +{"parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}]} \ No newline at end of file diff --git a/docs/docs/reference/api/write-mount-file.RequestSchema.json b/docs/docs/reference/api/write-mount-file.RequestSchema.json new file mode 100644 index 0000000000..c96bcede2f --- /dev/null +++ b/docs/docs/reference/api/write-mount-file.RequestSchema.json @@ -0,0 +1 @@ +{"title":"Body"} \ No newline at end of file diff --git a/docs/docs/reference/api/write-mount-file.StatusCodes.json b/docs/docs/reference/api/write-mount-file.StatusCodes.json new file mode 100644 index 0000000000..584bb423c3 --- /dev/null +++ b/docs/docs/reference/api/write-mount-file.StatusCodes.json @@ -0,0 +1 @@ +{"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size","default":0}},"type":"object","required":["path"],"title":"MountFileWrittenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}} \ No newline at end of file diff --git a/docs/docs/reference/api/write-mount-file.api.mdx b/docs/docs/reference/api/write-mount-file.api.mdx new file mode 100644 index 0000000000..0b14891c31 --- /dev/null +++ b/docs/docs/reference/api/write-mount-file.api.mdx @@ -0,0 +1,69 @@ +--- +id: write-mount-file +title: "Write Mount File" +description: "Write Mount File" +sidebar_label: "Write Mount File" +hide_title: true +hide_table_of_contents: true +api: eJytVctu2zAQ/BVjTy1A2G7Qk0412gYx0qBGHu3BMAJGWltMKVEhV2kUg/9eLCnJsp20aNGTZe3sgzPD1RZIbhwkS7gwdUkOVgJMhVaSMuU8gwR+WkV4W3D0dq00goBKWlkgoeXELZSyQEggQlQGAlQJCVSSchBg8aFWFjNIyNYowKU5FhKSLVBTcZ4jq8oNCFgbW0iCBOo6VCFFmgFhstE8A+9F362tHjo91Gibv2rVlV5wFe9XnOsqUzp0DD+ZTvknQ5daVTEVkMBVnabo3LrWo8sWDAJSUxKWxHBZVVqlgbnJveOc7WCEyjKvpGKHMP4fBxPg1DMOcKok3KAdAK8YICDDtaw1QTL1XnRoc3ePKe0Rs4ydVwfsniqN360iwrI/m/dc6v3JyTEV36RWWTjo6LO1xv47DxmSVJqfFGHhjgHapHtRWTZf18F2+9SxNQ5I8qsdFdJa2Qxo+2LigMxx4Ta/k+ICnZMbhL7Y69BAxuiao569WdWBkC48Dy+8gJSeBmV6mTrcR+byieBPUjI3cfwWN5B1J1FU6HUqPkUJXmrWQc6urxdHBaM/9o3BHsJRvLCncVkUSLnhRcJnF63xYRK2hZtsu63hJ7xcHAhwaB+71VJbzWBZqSBw/JsTVS6ZTLAep9rU2VhusCQ5lioCV1wjra2iJhSZLebn2JyhzNBCslwNAVfsy+i0fVivjqzUOTJf7eKZ1ZQbq56jfdoNlMcsH1Rfm6HoszDcaLaYwyFbeyG+QDINfuk6hTCIg2PvTgsCsAjXBwhl8aGPsNrMYWwzHb8bT/lVZRwVshy0eEGvvRF7FtiPk0pLFW5MGKhbYsu4+Vm6ZPANiHKuBOTGEaO22zvp8MZq7/l1XNqsT6acvNNs6bXUDo9G6FcLvLls3f92BOLl0X5gs/s6PEpdMyR44lFaxX3+f8/OKWUz7NnN0nMS9lHe2XDbhmdpihUNEo/WJw/f36LFzTV4/wtZVJzn +sidebar_class_name: "put api-method" +info_path: reference/api/agenta-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; +import Translate from "@docusaurus/Translate"; + + + + + + + + + + +Write Mount File + + + Request + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/reference/openapi.json b/docs/docs/reference/openapi.json index 0d159bfc57..a2f0ba50ee 100644 --- a/docs/docs/reference/openapi.json +++ b/docs/docs/reference/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://agenta.ai/","email":"team@agenta.ai"},"version":"0.1.0"},"paths":{"/access/plans":{"get":{"tags":["Access"],"summary":"Fetch Plans","description":"Return the effective plan catalog: slug -> entitlement controls.\n\nThe shape mirrors what `AGENTA_ACCESS_PLANS` accepts, but fully parsed\nand validated. The frontend reads `flags`, `counters`, `gauges`, and\n`throttles` from here rather than slug-matching against constants.","operationId":"fetch_access_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Response Fetch Access Plans"}}}}}}},"/access/roles":{"get":{"tags":["Access"],"summary":"Fetch Roles","description":"Return the effective role catalog per scope.\n\nScopes are `organization`, `workspace`, `project`. Each entry has\n`role`, `description`, and `permissions`. Permissions are returned\nverbatim from access-controls, including the `\"*\"` wildcard for\n`owner` — callers that need to render the full permission list\nshould expand the wildcard themselves (see\n`ee.src.services.converters._expand_permissions`).","operationId":"fetch_access_roles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Response Fetch Access Roles"}}}}}}},"/billing/stripe/events/":{"post":{"tags":["Billing"],"summary":"Handle Events","operationId":"handle_events","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/stripe/portals/":{"post":{"tags":["Billing"],"summary":"Create Portal User Route","operationId":"create_portal","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/stripe/checkouts/":{"post":{"tags":["Billing"],"summary":"Create Checkout User Route","operationId":"create_checkout","parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string","title":"Plan"}},{"name":"success_url","in":"query","required":true,"schema":{"type":"string","title":"Success Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/plans":{"get":{"tags":["Billing"],"summary":"Fetch Plan User Route","operationId":"fetch_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/plans/switch":{"post":{"tags":["Billing"],"summary":"Switch Plans User Route","operationId":"switch_plans","parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/subscription":{"get":{"tags":["Billing"],"summary":"Fetch Subscription User Route","operationId":"fetch_subscription","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/subscription/cancel":{"post":{"tags":["Billing"],"summary":"Cancel Subscription User Route","operationId":"cancel_plan","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/usage":{"get":{"tags":["Billing"],"summary":"Fetch Usage User Route","operationId":"fetch_usage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/catalog":{"get":{"tags":["Billing"],"summary":"Fetch Catalog","description":"Return the effective billing catalog with pricing merged in.\n\nEach entry carries `title`, `description`, `plan`, `type`, `features`,\nand (when configured) a `price` block sourced from the matching\n`AGENTA_BILLING_PRICING` entry. Pre-joining avoids a client-side\ncatalog × pricing merge by slug.","operationId":"fetch_billing_catalog","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Fetch Billing Catalog"}}}}}}},"/billing/pricing":{"get":{"tags":["Billing"],"summary":"Fetch Pricing","description":"Return the effective pricing map: plan slug -> normalized pricing.\n\nIncludes backend-resolved free/trial fallback markers so clients do\nnot need to duplicate billing default rules.","operationId":"fetch_billing_pricing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Response Fetch Billing Pricing"}}}}}}},"/events/query":{"post":{"tags":["Events"],"summary":"Query Events","operationId":"query_events_rpc","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/":{"get":{"tags":["Organizations"],"summary":"List Domains","description":"List all domains for the organization.","operationId":"list_organization_domains","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationDomainResponse"},"type":"array","title":"Response List Organization Domains"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Domain","description":"Create a new domain for verification.\n\nThis endpoint initiates the domain verification process by:\n1. Creating a domain record\n2. Generating a unique verification token\n3. Returning DNS configuration instructions\n\nThe user must add a DNS TXT record to verify ownership.","operationId":"create_organization_domain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/verify":{"post":{"tags":["Organizations"],"summary":"Verify Domain","description":"Verify domain ownership via DNS TXT record.\n\nThis endpoint checks for the presence of the verification TXT record\nand marks the domain as verified if found.","operationId":"verify_organization_domain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainVerify"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}/refresh":{"post":{"tags":["Organizations"],"summary":"Refresh Domain Token","description":"Refresh the verification token for an unverified domain.\n\nGenerates a new token and resets the 48-hour expiry window.\nThis is useful when the original token has expired.","operationId":"refresh_organization_domain_token","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}/reset":{"post":{"tags":["Organizations"],"summary":"Reset Domain","description":"Reset a verified domain to unverified state for re-verification.\n\nGenerates a new token and marks the domain as unverified.\nThis allows re-verification of already verified domains.","operationId":"reset_organization_domain","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}":{"delete":{"tags":["Organizations"],"summary":"Delete Domain","description":"Delete a domain.","operationId":"delete_organization_domain","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/":{"get":{"tags":["Organizations"],"summary":"List Providers","description":"List all SSO providers for the organization.","operationId":"list_organization_providers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationProviderResponse"},"type":"array","title":"Response List Organization Providers"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Provider","description":"Create a new SSO provider configuration.\n\nSupported provider types:\n- oidc: OpenID Connect\n- saml: SAML 2.0 (coming soon)","operationId":"create_organization_provider","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/{provider_id}":{"patch":{"tags":["Organizations"],"summary":"Update Provider","description":"Update an SSO provider configuration.","operationId":"update_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Organizations"],"summary":"Delete Provider","description":"Delete an SSO provider configuration.","operationId":"delete_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/{provider_id}/test":{"post":{"tags":["Organizations"],"summary":"Test Provider","description":"Test SSO provider connection.\n\nThis endpoint tests the OIDC provider configuration by fetching the\ndiscovery document and validating required endpoints exist.\nIf successful, marks the provider as valid (is_valid=true).\nIf failed, marks as invalid and deactivates (is_valid=false, is_active=false).","operationId":"test_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}":{"get":{"tags":["Organizations"],"summary":"Fetch Organization Details","description":"Return the details of the organization.","operationId":"fetch_organization_details","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDetails"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Organizations"],"summary":"Update Organization","operationId":"patch_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ee__src__models__api__organization_models__Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Organizations"],"summary":"Update Organization","operationId":"update_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ee__src__models__api__organization_models__Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Organizations"],"summary":"Delete Organization","description":"Delete an organization (owner only).","operationId":"delete_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces":{"post":{"tags":["Organizations"],"summary":"Create Workspace","operationId":"create_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWorkspace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}":{"put":{"tags":["Organizations"],"summary":"Update Workspace","operationId":"update_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWorkspace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/transfer/{new_owner_id}":{"post":{"tags":["Organizations"],"summary":"Transfer Organization Ownership","description":"Transfer organization ownership to another member.","operationId":"transfer_organization_ownership","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"new_owner_id","in":"path","required":true,"schema":{"type":"string","title":"New Owner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations":{"get":{"tags":["Organizations"],"summary":"List Organizations","description":"Returns a list of organizations associated with the user's session.\n\nReturns:\n list[Organization]: A list of organizations associated with the user's session.\n\nRaises:\n HTTPException: If there is an error retrieving the organizations from the database.","operationId":"list_organizations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/oss__src__models__api__organization_models__Organization"},"type":"array","title":"Response List Organizations"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Organization","description":"Create a new organization.","operationId":"create_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/permissions":{"get":{"tags":["Workspaces"],"summary":"Get All Workspace Permissions","description":"Get all workspace permissions.\n\nReturns a list of all available workspace permissions.\n\nReturns:\n List[Permission]: A list of Permission objects representing the available workspace permissions.\n\nRaises:\n HTTPException: If there is an error retrieving the workspace permissions.","operationId":"get_all_workspace_permissions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array","title":"Response Get All Workspace Permissions"}}}}}}},"/workspaces/{workspace_id}/roles":{"post":{"tags":["Workspaces"],"summary":"Assign Role To User","description":"Assigns a role to a user in a workspace.\n\nArgs:\n payload (UserRole): The payload containing the organization id, user email, and role to assign.\n workspace_id (str): The ID of the workspace.\n request (Request): The FastAPI request object.\n\nReturns:\n bool: True if the role was successfully assigned, False otherwise.\n\nRaises:\n HTTPException: If the user does not have permission to perform this action.\n HTTPException: If there is an error assigning the role to the user.","operationId":"assign_role_to_user","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRole"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Workspaces"],"summary":"Unassign Role From User","description":"Delete a role assignment from a user in a workspace.\n\nArgs:\n workspace_id (str): The ID of the workspace.\n email (str): The email of the user to remove the role from.\n organization_id (str): The ID of the organization.\n role (str): The role to remove from the user.\n request (Request): The FastAPI request object.\n\nReturns:\n bool: True if the role assignment was successfully deleted.\n\nRaises:\n HTTPException: If there is an error in the request or the user does not have permission to perform the action.\n HTTPException: If there is an error in updating the user's roles.","operationId":"unassign_role_from_user","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}},{"name":"organization_id","in":"query","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"role","in":"query","required":true,"schema":{"type":"string","title":"Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/secrets/":{"get":{"tags":["Secrets"],"summary":"List Secrets","operationId":"list_secrets","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SecretResponseDTO"},"type":"array","title":"Response List Secrets"}}}}}},"post":{"tags":["Secrets"],"summary":"Create Secret","operationId":"create_secret","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretDTO"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/secrets/{secret_id}":{"get":{"tags":["Secrets"],"summary":"Read Secret","operationId":"read_secret","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Secrets"],"summary":"Update Secret","operationId":"update_secret","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretDTO"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"delete_secret","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/":{"post":{"tags":["Webhooks"],"summary":"Create Subscription","operationId":"create_webhook_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/test":{"post":{"tags":["Webhooks"],"summary":"Test Subscription","operationId":"test_webhook_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/{subscription_id}":{"get":{"tags":["Webhooks"],"summary":"Fetch Subscription","operationId":"fetch_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Webhooks"],"summary":"Edit Subscription","operationId":"edit_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete Subscription","operationId":"delete_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/query":{"post":{"tags":["Webhooks"],"summary":"Query Subscriptions","operationId":"query_webhook_subscriptions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries":{"post":{"tags":["Webhooks"],"summary":"Create Delivery","operationId":"create_webhook_delivery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries/{delivery_id}":{"get":{"tags":["Webhooks"],"summary":"Fetch Delivery","operationId":"fetch_webhook_delivery","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries/query":{"post":{"tags":["Webhooks"],"summary":"Query Deliveries","operationId":"query_webhook_deliveries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/otlp/v1/traces":{"get":{"tags":["OpenTelemetry"],"summary":"Status check for OTLP","description":"Return the OTLP endpoint liveness status.\n\nLightweight readiness probe. Returns `{\"status\": \"ready\"}` when\nthe router is mounted. Intended for health checks from OTel\ncollectors before they start exporting traces.","operationId":"otlp_status","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectStatusResponse"}}}}}},"post":{"tags":["OpenTelemetry"],"summary":"Ingest traces via OTLP","description":"Ingest traces via the OTLP/HTTP protobuf protocol.\n\nThis endpoint accepts a serialized\n`ExportTraceServiceRequest` protobuf. Point any OTLP/HTTP\ncollector or SDK at `POST /otlp/v1/traces` and spans will flow\ninto the same ingest stream as the Agenta-native endpoints.\n\nUse this when you already have OTel instrumentation emitting\nOTLP. For new integrations that don't need raw OTLP, prefer\n`POST /tracing/spans/ingest` — it takes JSON, accepts Agenta's\nnested shape directly, and surfaces parse failures immediately.\n\n## Content-Type and size limit\n\nBinary protobuf only (`Content-Type: application/x-protobuf`).\nJSON OTLP is not accepted. Requests larger than the configured\nbatch limit (default 4 MB, see `OTLP_MAX_BATCH_BYTES`) return\n`413 Request Entity Too Large`.\n\n## Response\n\nSuccessful ingest returns `200 OK` with a serialized\n`ExportTraceServiceResponse` protobuf. Parse failures on the\nrequest body return `400`; malformed spans return `500`; quota\nexhaustion returns `403`. Like the native ingest paths, spans\nare queued on a Redis stream and persisted asynchronously — see\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).","operationId":"otlp_ingest","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectStatusResponse"}}}}}}},"/auth/discover":{"post":{"tags":["Access"],"summary":"Discover","description":"Discover authentication methods available for a given email.\n\nThis endpoint does NOT reveal:\n- Organization names\n- User existence (optionally - currently does for UX)\n- Detailed policy information\n\nReturns minimal information needed for authentication flow.","operationId":"discover_access","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/access":{"get":{"tags":["Access"],"summary":"Check Organization Access","description":"Check if the current session satisfies the organization's auth policy.\n\nReturns 200 when access is allowed, 403 with AUTH_UPGRADE_REQUIRED when not.","operationId":"check_organization_access","parameters":[{"name":"organization_id","in":"query","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/session/identities":{"patch":{"tags":["Access"],"summary":"Update Session Identities","operationId":"update_session_identities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdentitiesUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/sso/callback/{organization_slug}/{provider_slug}":{"get":{"tags":["Access"],"summary":"Sso Callback Redirect","description":"Custom SSO callback endpoint that redirects to SuperTokens.\n\nThis endpoint:\n1. Accepts clean URL path: /auth/sso/callback/{organization_slug}/{provider_slug}\n2. Validates the organization and provider exist\n3. Builds SuperTokens thirdPartyId: sso:{organization_slug}:{provider_slug}\n4. Redirects to SuperTokens callback: /auth/callback/{thirdPartyId}\n\nSuperTokens then handles:\n1. Exchange code for tokens (using our dynamic provider config)\n2. Get user info\n3. Call our sign_in_up override (creates user_identity, adds user_identities to session)\n4. Redirect to frontend with session cookie","operationId":"sso_callback_redirect","parameters":[{"name":"organization_slug","in":"path","required":true,"schema":{"type":"string","title":"Organization Slug"}},{"name":"provider_slug","in":"path","required":true,"schema":{"type":"string","title":"Provider Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/spans/ingest":{"post":{"tags":["Deprecated"],"summary":"Ingest Spans","description":"Ingest spans into the tracing backend.\n\nUse this endpoint to write full OpenTelemetry-style spans — including\nmulti-span hierarchies (parent → child → grandchild), attributes,\nreferences, events and links. For simple single-span annotations or\nevaluator outputs, prefer `POST /preview/tracing/traces/`\n(`create_simple_trace`) — it's a higher-level helper on top of this\nendpoint.\n\n## Request body\n\nProvide exactly one of:\n\n- `spans`: a flat list of spans. Parent/child relationships are\n expressed via `parent_id` on each span.\n- `traces`: a nested tree keyed by `trace_id` then by span name,\n where each node may contain a `spans` dict of its children. The\n query endpoint (`POST /tracing/spans/query`) returns this shape.\n\nEach span requires `trace_id`, `span_id`, `start_time`, `end_time`.\n`trace_id` must be a 32-char hex UUID, `span_id` a 16-char hex.\nAttributes follow the Agenta convention under the `ag` namespace\n(`ag.type`, `ag.data`, `ag.metrics`, `ag.references`) and may be\nsubmitted either as a flat dotted map (OTel wire format) or as a\nnested object — both are accepted.\n\n## Response\n\nReturns `202 Accepted` with the links (`trace_id` + `span_id`) for\nthe spans that were parsed into the ingest stream. See\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202)\nfor what `count < N submitted` means.\n\n## Example\n\n```json\n{\n \"spans\": [\n {\n \"trace_id\": \"f5a2efb40895881e938e2ebc070beca8\",\n \"span_id\": \"15f3df0731995245\",\n \"span_name\": \"completion_v0\",\n \"span_type\": \"workflow\",\n \"span_kind\": \"SPAN_KIND_SERVER\",\n \"start_time\": \"2026-04-16T18:18:18.491929Z\",\n \"end_time\": \"2026-04-16T18:18:20.415372Z\",\n \"attributes\": {\n \"ag.type.trace\": \"invocation\",\n \"ag.type.span\": \"workflow\",\n \"ag.data.inputs.country\": \"France\",\n \"ag.data.outputs\": \"Paris\"\n }\n }\n ]\n}\n```","operationId":"ingest_spans","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/spans/query":{"post":{"tags":["Deprecated"],"summary":"Query Spans","description":"Query spans and traces in the tracing backend.\n\nUse `focus` in the request body to control the response shape:\n\n- `\"trace\"` (default): returns a nested `traces` tree keyed by\n `trace_id` then by span name. Children hang off their parent's\n `spans` field. Best for rendering a trace waterfall.\n- `\"span\"`: returns a flat `spans` list. Best for paginating or\n filtering across all spans regardless of hierarchy.\n\nUse `oldest` / `newest` (unix seconds) to window the query and\n`limit` to cap the number of traces/spans returned.\n\nThe response preserves the Agenta `ag.*` attribute namespace and\nincludes computed metrics (`ag.metrics.duration`, `ag.metrics.tokens`,\n`ag.metrics.costs`) on each span. The `traces` tree returned here is\nthe same shape that `POST /tracing/spans/ingest` accepts as its\n`traces` field.","operationId":"query_spans_rpc","deprecated":true,"parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/analytics/query":{"post":{"tags":["Deprecated"],"summary":"Fetch Analytics","description":"Aggregate span metrics into time buckets.\n\nRuns filtering and windowing identical to `POST /tracing/spans/query`,\nthen bucketizes the matched spans by time and computes one or more\nmetric summaries per bucket. Use this to build charts of latency,\ncost, token usage, or custom numeric and categorical attributes.\n\n## Request body\n\n- `filtering` — same shape as the query endpoint, scoped to the spans\n that contribute to the analytics.\n- `windowing` — `oldest`/`newest` for the time range and `interval`\n for bucket width (in seconds).\n- `specs` — a list of `MetricSpec` entries describing which\n attributes to summarize and how. Each spec declares a `type`\n (`numeric/continuous`, `numeric/discrete`, `binary`,\n `categorical/single`, `categorical/multiple`, `string`, `json`,\n or `*` for auto) and a dotted `path` into the span (for example\n `attributes.ag.metrics.costs.cumulative.total`).\n\n## Response\n\nBuckets are returned in chronological order. Each bucket carries a\n`metrics` dict keyed by spec path. See [Tracing — the ag.*\nnamespace](/reference/api-guide/tracing#the-ag-attribute-namespace)\nfor the cumulative/incremental metric layout on each span.","operationId":"query_analytics","deprecated":true,"parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}},{"name":"specs","in":"query","required":false,"schema":{"title":"Specs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/traces/":{"post":{"tags":["Deprecated"],"summary":"Create Trace","description":"Create a trace from one or more spans.\n\nThis is the single-trace counterpart to `POST /tracing/spans/ingest`.\nAccepts the same `OTelTracingRequest` body (either `spans` flat list\nor `traces` nested tree) but requires all spans to share a single\n`trace_id`.\n\nReturns `202 Accepted` with the links for the spans that entered\nthe ingest stream. See [Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).\n\nMost callers should prefer `POST /tracing/spans/ingest` (no\nsingle-trace restriction) or `POST /simple/traces/` (helper for a\none-span payload).","operationId":"create_trace_tracing","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/traces/{trace_id}":{"get":{"tags":["Deprecated"],"summary":"Fetch Trace","description":"Fetch a single trace by `trace_id`.\n\nReturns the trace as a `traces` map keyed by `trace_id` → span\nname. The response is empty when the trace is not in the current\nproject. `trace_id` must be a 32-char hex UUID; any other format\nreturns `400`.\n\nFor flat-list retrieval across many traces, use\n`POST /tracing/spans/query` with `focus=\"span\"`.","operationId":"fetch_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Deprecated"],"summary":"Edit Trace","description":"Replace the spans of an existing trace.\n\nThe path `trace_id` must match the `trace_id` in the payload.\nMismatches return `400`. The payload must contain exactly one\ntrace; submitting spans from more than one trace returns `400`.\n\nEdit is implemented as a re-ingest: the new spans are written\nthrough the same stream as `POST /tracing/spans/ingest`, and the\n`202 Accepted` response reports how many spans entered the stream.\nThe worker reconciles the trace asynchronously.","operationId":"edit_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Deprecated"],"summary":"Delete Trace","description":"Delete a trace and all its spans.\n\nRemoves every span that shares this `trace_id` within the project.\nReturns `202 Accepted` with the links for the spans that were\nmarked for deletion. `trace_id` must be a 32-char hex UUID.\n\nDeletion is not reversible. For soft-removal semantics on a\nsingle-trace simple annotation, prefer\n`DELETE /simple/traces/{trace_id}`.","operationId":"delete_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/sessions/query":{"post":{"tags":["Deprecated"],"summary":"List Sessions","description":"List distinct session IDs from span attributes.\n\nReturns the distinct values of `ag.session.id` across spans in the\ncurrent project, in a windowed, cursor-paginated form. Use this to\ndrive a session-picker UI before drilling into the spans of each\nsession.\n\nThe `realtime` flag controls the cursor field:\n\n- `false` or unset — paginate by a stable `first_active` cursor\n (safe to iterate under heavy write load).\n- `true` — paginate by `last_active`, reflecting ongoing activity\n but less stable between pages.\n\nThe response includes a `windowing` cursor; pass it as `windowing.next`\non the next call to continue.","operationId":"query_sessions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/users/query":{"post":{"tags":["Deprecated"],"summary":"List Users","description":"List distinct user IDs from span attributes.\n\nReturns the distinct values of `ag.user.id` across spans in the\ncurrent project. Same pagination and `realtime` semantics as\n`POST /tracing/sessions/query`; pass the returned `windowing.next`\ncursor on subsequent calls.","operationId":"query_users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/spans/analytics":{"post":{"tags":["Legacy"],"summary":"Fetch Legacy Analytics","description":"Aggregate span metrics using the fixed legacy schema.\n\nReturns time-bucketed aggregates with a fixed set of fields\n(`count`, `duration`, `costs`, `tokens`) split into `total` and\n`errors`. The shape predates `specs`-driven analytics and is kept\nfor the existing observability dashboards that consume it.\n\nNew integrations should prefer `POST /tracing/analytics/query`,\nwhich accepts `specs` and can summarize arbitrary span attributes,\nnot just the four fixed metrics.","operationId":"fetch_legacy_analytics","parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OldAnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/":{"get":{"tags":["Traces"],"summary":"Fetch Traces","description":"Fetch multiple traces by known IDs.\n\nPoint lookup endpoint. Accepts either repeated query params\n(`?trace_id=a&trace_id=b`) or a comma-separated single param\n(`?trace_ids=a,b`). Results are deduplicated. Returns `400` when\nno IDs are supplied. Use `POST /traces/query` for filter-based\nretrieval.","operationId":"fetch_traces","parameters":[{"name":"trace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Trace Id"}},{"name":"trace_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Traces"],"summary":"Create Trace","description":"Create a single trace from the canonical `Trace` shape.\n\nAccepts one trace (`trace_id` plus a nested `spans` tree) and\nreturns the resulting `trace_id`. The payload is internally\nnormalized into the same ingest pipeline as\n`POST /tracing/spans/ingest`.\n\nReturns `202 Accepted`. The async write contract applies — see\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).\n\nUse this when you want to operate on whole traces in the\nlist-shaped `Trace` payload. For flat-list ingestion or multiple\ntraces in one call, use `POST /traces/ingest` (plural).","operationId":"create_trace","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/query":{"post":{"tags":["Traces"],"summary":"Query Traces","description":"Query traces as a list of canonical `Trace` records.\n\nThin wrapper over the shared span-query backend that forces\n`focus = \"trace\"` and returns the list-shaped `Traces` payload\n(one entry per trace, each with its nested `spans` tree). Use this\nto build a table of runs, where each row is a trace.\n\n## Request body\n\n- `filtering` — span-level conditions, same dialect as\n `POST /spans/query`. A trace matches when any of its spans\n matches.\n- `windowing` — cursor pagination and time range.\n- `query_ref`, `query_variant_ref`, `query_revision_ref` — resolve\n filters and windowing from a saved query revision. If the\n revision's stored `formatting.focus` is `span`, this endpoint\n returns `409` — call `POST /spans/query` instead.\n\n## Response\n\nReturns `{count, traces: [...]}`. For the per-trace map shape\nkeyed by `trace_id`, call `POST /tracing/spans/query` with\n`focus=\"trace\"`.","operationId":"query_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/{trace_id}":{"get":{"tags":["Traces"],"summary":"Fetch Trace","description":"Fetch a single trace by `trace_id` in the canonical `Trace` shape.\n\nReturns `{count: 1, trace}` when found and `{count: 0}` otherwise.\n`trace_id` must be a 32-char hex UUID; any other format returns\n`400`. The reserved path segments `query` and `ingest` return\n`405` to disambiguate from the sibling query/ingest endpoints.","operationId":"fetch_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Traces"],"summary":"Edit Trace","description":"Replace a trace's spans using the canonical `Trace` shape.\n\nPath `trace_id` must match the `trace_id` inside the payload's\n`trace.trace_id`. Mismatches return `400`. The payload must\ndescribe exactly one trace.\n\nEdit re-ingests the spans through the same stream as\n`POST /tracing/spans/ingest`. Returns `202 Accepted` once the\nspans are queued. The worker reconciles the trace asynchronously.","operationId":"edit_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Traces"],"summary":"Delete Trace","operationId":"delete_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/ingest":{"post":{"tags":["Deprecated"],"summary":"Ingest Traces","description":"Ingest a batch of traces in the canonical `Traces` list shape.\n\nAccepts a list of trace records (each `trace_id` plus nested\n`spans`). Internally normalized into the same pipeline as\n`POST /tracing/spans/ingest`. Use this when you already hold\ndata in the `Traces` list shape — for example, replaying traces\nfrom another environment.\n\nReturns `202 Accepted` with the list of accepted `trace_ids`. See\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202)\nfor what `count` means here.","operationId":"ingest_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/spans/":{"get":{"tags":["Traces"],"summary":"Fetch Spans","description":"Fetch spans by known IDs.\n\nPoint lookup endpoint. At least one of `trace_id` or `span_id`\nmust be present. Both accept either repeated query params\n(`?trace_id=a&trace_id=b`) or a comma-separated single param\n(`?trace_ids=a,b`); results are deduplicated.\n\nReturns `400` when neither IDs nor trace IDs are supplied.\nFor filter-based retrieval, use `POST /spans/query`.","operationId":"fetch_spans","parameters":[{"name":"trace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Trace Id"}},{"name":"trace_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Ids"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Span Id"}},{"name":"span_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/query":{"post":{"tags":["Traces"],"summary":"Query Spans","description":"Query spans as a flat list.\n\nThin wrapper over the shared span-query backend that forces\n`focus = \"span\"`. Use this when you want a paged list of spans\nregardless of trace hierarchy — for example, to surface all LLM\ncalls across traces or to stream spans into an external system.\n\n## Request body\n\n- `filtering` — span-level conditions (fields on `Span` and\n `attributes` paths).\n- `windowing` — cursor pagination and time range (see\n [Query Pattern](/reference/api-guide/query-pattern#windowing)).\n- `query_ref`, `query_variant_ref`, `query_revision_ref` — resolve\n filtering and windowing from a saved query revision. If the\n revision's stored `formatting.focus` is `trace`, this endpoint\n returns `409` — call `POST /traces/query` for that revision.\n\n## Response\n\nReturns `{count, spans}`. For the nested per-trace shape, call\n`POST /traces/query` or `POST /tracing/spans/query` with\n`focus=\"trace\"` instead.","operationId":"query_spans","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/analytics/query":{"post":{"tags":["Traces"],"summary":"Query Analytics","operationId":"query_spans_analytics","parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}},{"name":"specs","in":"query","required":false,"schema":{"title":"Specs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/sessions/query":{"post":{"tags":["Traces"],"summary":"Query Sessions","operationId":"query_spans_sessions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/users/query":{"post":{"tags":["Traces"],"summary":"Query Users","operationId":"query_spans_users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/{trace_id}/{span_id}":{"get":{"tags":["Traces"],"summary":"Fetch Span","description":"Fetch a single span by `trace_id` + `span_id`.\n\nReturns `{count: 1, span}` when found and `{count: 0}` otherwise.\nBoth IDs are required path parameters. Use this to drill in on one\nspan from a trace waterfall without pulling the full tree.","operationId":"fetch_span","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"path","required":true,"schema":{"type":"string","title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/":{"post":{"tags":["Traces"],"summary":"Create Trace","description":"Create a single-span \"simple\" trace.\n\nThis endpoint is a higher-level helper for the common case of\nrecording one self-contained event — an evaluator output, a human\nannotation, a feedback entry, a manually-logged inference. It\ncreates one span under a fresh `trace_id` and returns the resulting\nhandle.\n\n## When to use this vs. `/tracing/spans/ingest`\n\n- **Use this endpoint** when you have a single payload to record\n with no internal hierarchy: evaluation results, human feedback,\n manual annotations, or a standalone completion. It takes care of\n `trace_id`/`span_id` generation, attribute namespacing, and link\n wiring for you.\n- **Use `POST /tracing/spans/ingest`** when you need multi-span\n traces (e.g. an agent run with nested tool calls and LLM spans),\n precise control over IDs, timings, or parent/child relationships,\n or when forwarding traces from another OTel-compatible source.\n\n## Request body\n\nSend a `trace` object with:\n\n- `origin` — who produced the trace (`human`, `auto`, `custom`).\n- `kind` — intent (`adhoc`, `eval`, `play`).\n- `channel` — transport that produced it (`sdk`, `api`, `web`, `otlp`).\n- `data` — required dict carrying the actual payload (inputs,\n outputs, or evaluator results).\n- `tags`, `meta` — optional free-form dicts for filtering and\n metadata.\n- `references` — optional links to Agenta entities (application,\n variant, revision, evaluator, testset, etc.).\n- `links` — optional OTel-style links to other traces/spans.\n\nUse `PATCH /preview/tracing/traces/{trace_id}` to update fields\nlater, `GET` to fetch, and `DELETE` to remove. See\n[Tracing — References and links](/reference/api-guide/tracing#references-and-entity-linking)\nfor when to use `references` vs. `links`.","operationId":"create_simple_trace","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceCreateRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/{trace_id}":{"get":{"tags":["Traces"],"summary":"Fetch Trace","description":"Fetch a single \"simple\" trace by `trace_id`.\n\nReturns the high-level `SimpleTrace` view (origin, kind, channel,\ndata, references, links) rather than the raw OTel span shape. Use\nthis for evaluation results, feedback entries, and annotations\ncreated via `POST /simple/traces/`. For the span-level view of the\nsame trace, call `GET /tracing/traces/{trace_id}`.","operationId":"fetch_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Traces"],"summary":"Edit Trace","description":"Update an existing \"simple\" trace.\n\nSupplied fields overwrite the existing trace. Fields not present\nin the request body are left unchanged. `data` is required (the\npayload being recorded); `tags`, `meta`, `references`, and\n`links` are optional.\n\nThis endpoint is intended for annotations and feedback entries,\nwhere the `data.outputs` is the part that typically gets revised.\nFor span-level edits, use `PUT /tracing/traces/{trace_id}`.","operationId":"edit_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Traces"],"summary":"Delete Trace","description":"Delete a \"simple\" trace.\n\nRemoves the single-span trace created via\n`POST /simple/traces/`. Returns the `(trace_id, span_id)` pair\nthat was removed, for logging or downstream cleanup. Use\n`DELETE /tracing/traces/{trace_id}` when operating on a\nmulti-span trace.","operationId":"delete_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/query":{"post":{"tags":["Traces"],"summary":"Query Traces","description":"Query \"simple\" traces.\n\nFilter annotations and feedback by `origin`, `kind`, `channel`,\n`tags`, `meta`, `references`, and `links`. The shape of the\nrequest body is described in the\n[Simple Endpoints](/reference/api-guide/simple-endpoints#query-traces)\nguide, including the distinction between filtering via\n`trace.links` (inbound links on the trace) and the top-level\n`links` (batch GET by the trace's own IDs).\n\nUse this endpoint when building feedback or annotation UIs.\nFor span-level queries across all trace types, use\n`POST /tracing/spans/query`.","operationId":"query_simple_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/":{"post":{"tags":["Invocations"],"summary":"Create Invocation","operationId":"create_invocation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/{trace_id}":{"get":{"tags":["Invocations"],"summary":"Fetch Invocation","operationId":"fetch_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Invocations"],"summary":"Edit Invocation","operationId":"edit_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Invocations"],"summary":"Delete Invocation","operationId":"delete_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/query":{"post":{"tags":["Invocations"],"summary":"Query Invocations","operationId":"query_invocations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/":{"post":{"tags":["Annotations"],"summary":"Create Annotation","operationId":"create_annotation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/{trace_id}":{"get":{"tags":["Annotations"],"summary":"Fetch Annotation","operationId":"fetch_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Annotations"],"summary":"Edit Annotation","operationId":"edit_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Annotations"],"summary":"Delete Annotation","operationId":"delete_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/query":{"post":{"tags":["Annotations"],"summary":"Query Annotations","operationId":"query_annotations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/":{"get":{"tags":["Testcases"],"summary":"Fetch Testcases","operationId":"fetch_testcases","parameters":[{"name":"testcase_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Testcase Id"}},{"name":"testcase_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testcase Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/{testcase_id}":{"get":{"tags":["Testcases"],"summary":"Fetch Testcase","operationId":"fetch_testcase","parameters":[{"name":"testcase_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testcase Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/query":{"post":{"tags":["Testcases"],"summary":"Query Testcases","operationId":"query_testcases","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/":{"post":{"tags":["Testsets"],"summary":"Create Testset","description":"Create an empty testset artifact.\n\nOnly creates the artifact row (name, slug, metadata). No variant or\nrevision is created; add testcases by committing a revision with\n`/testsets/revisions/commit`, or use `/simple/testsets/` to create\na testset with seed rows in a single call.","operationId":"create_testset","parameters":[{"name":"testset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset","description":"Fetch a testset artifact by ID.\n\nReturns the artifact row only; testcases are stored on revisions and\nmust be fetched via `/testsets/revisions/retrieve` or\n`/testcases/query`.","operationId":"fetch_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset","description":"Update metadata on a testset artifact.\n\nOnly artifact-level fields (name, description, slug, flags, tags,\nmeta, folder) are editable here. Testcase changes are committed as\nnew revisions via `/testsets/revisions/commit`.","operationId":"edit_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset","description":"Soft-delete a testset artifact.\n\nSets `deleted_at` on the testset. Archived testsets are excluded\nfrom `/testsets/query` unless `include_archived` is true. Use\n`/testsets/{testset_id}/unarchive` to restore.","operationId":"archive_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset","description":"Restore a previously archived testset artifact.\n\nClears `deleted_at` on the testset so it shows up in queries again.","operationId":"unarchive_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/query":{"post":{"tags":["Testsets"],"summary":"Query Testsets","description":"List and filter testset artifacts.\n\nFollows the shared query pattern: attribute filters on the testset\nbody, optional `testset_refs` to restrict by id/slug, cursor-based\npagination via `windowing`. Only artifact rows are returned — no\ntestcases. See the Query Pattern guide for the full body shape.","operationId":"query_testsets","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/":{"post":{"tags":["Testsets"],"summary":"Create Testset Variant","description":"Create a variant (history branch) on a testset.\n\nMost testsets only need one variant. Create additional variants to\nmaintain parallel revision histories (for example, a staging branch\nseparate from the main one).","operationId":"create_testset_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset Variant","description":"Fetch a variant by ID.\n\nReturns the variant row (branch metadata). Use\n`/testsets/revisions/retrieve` to get the latest revision on this\nvariant.","operationId":"fetch_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset Variant","description":"Update metadata on a testset variant.\n\nVariants hold only branch-level metadata (name, description, slug,\nflags, tags, meta). Testcase content belongs to revisions.","operationId":"edit_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset Variant","description":"Soft-delete a testset variant.\n\nArchiving a variant excludes it from `/testsets/variants/query`\nunless `include_archived` is true. Its revisions stay in place and\ncan still be retrieved by ID.","operationId":"archive_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset Variant","description":"Restore a previously archived testset variant.","operationId":"unarchive_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/query":{"post":{"tags":["Testsets"],"summary":"Query Testset Variants","description":"List and filter testset variants.\n\nUse `testset_refs` to scope to one or more parent testsets. Use\n`testset_variant_refs` to restrict by specific variant id/slug.","operationId":"query_testset_variants","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/":{"post":{"tags":["Testsets"],"summary":"Create Testset Revision","description":"Create and commit the initial revision for a testset variant.\n\nMost callers instead use `/testsets/revisions/commit`, which writes\nthe testcases and the revision together. This endpoint commits an\ninitial revision with the `initial` guard, preventing duplicate\ninitial revisions for the same variant.","operationId":"create_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset Revision","operationId":"fetch_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}},{"name":"include_testcases","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Include full testcase objects. Default (null/true): include testcases. False: return only testcase IDs.","title":"Include Testcases"},"description":"Include full testcase objects. Default (null/true): include testcases. False: return only testcase IDs."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset Revision","operationId":"edit_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset Revision","operationId":"archive_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset Revision","operationId":"unarchive_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/download":{"post":{"tags":["Testsets"],"summary":"Fetch Testset Revision To File","operationId":"fetch_testset_revision_to_file","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}},{"name":"file_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["csv","json"],"type":"string"},{"type":"null"}],"description":"File type to download. Supported: 'csv' or 'json'. Default: 'csv'.","default":"csv","title":"File Type"},"description":"File type to download. Supported: 'csv' or 'json'. Default: 'csv'."},{"name":"file_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional custom filename for the download.","title":"File Name"},"description":"Optional custom filename for the download."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/upload":{"post":{"tags":["Testsets"],"summary":"Create Testset Revision From File","operationId":"create_testset_revision_from_file","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_testset_revision_from_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/query":{"post":{"tags":["Testsets"],"summary":"Query Testset Revisions","operationId":"query_testset_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/commit":{"post":{"tags":["Testsets"],"summary":"Commit Testset Revision","operationId":"commit_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/retrieve":{"post":{"tags":["Testsets"],"summary":"Retrieve Testset Revision","operationId":"retrieve_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/log":{"post":{"tags":["Testsets"],"summary":"Log Testset Revisions","operationId":"log_testset_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/":{"post":{"tags":["Testsets"],"summary":"Create Simple Testset","operationId":"create_simple_testset","parameters":[{"name":"testset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Simple Testset","operationId":"fetch_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Simple Testset","operationId":"edit_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Simple Testset","operationId":"archive_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Simple Testset","operationId":"unarchive_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/upload":{"post":{"tags":["Testsets"],"summary":"Edit Simple Testset From File","operationId":"edit_simple_testset_from_file","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_edit_simple_testset_from_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/download":{"post":{"tags":["Testsets"],"summary":"Fetch Simple Testset To File","operationId":"fetch_simple_testset_to_file","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}},{"name":"file_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["csv","json"],"type":"string"},{"type":"null"}],"title":"File Type"}},{"name":"file_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/query":{"post":{"tags":["Testsets"],"summary":"Query Simple Testsets","operationId":"query_simple_testsets","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/upload":{"post":{"tags":["Testsets"],"summary":"Create Simple Testset From File","operationId":"create_simple_testset_from_file","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_simple_testset_from_file"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/":{"post":{"tags":["Queries"],"summary":"Create Query","operationId":"create_query","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query","operationId":"fetch_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query","operationId":"edit_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query","operationId":"archive_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query","operationId":"unarchive_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/query":{"post":{"tags":["Queries"],"summary":"Query Queries","operationId":"query_queries","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}},{"name":"query_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Query Ids"}},{"name":"query_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"}},{"name":"query_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Query Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/":{"post":{"tags":["Queries"],"summary":"Create Query Variant","operationId":"create_query_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query Variant","operationId":"fetch_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query Variant","operationId":"edit_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query Variant","operationId":"archive_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query Variant","operationId":"unarchive_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/query":{"post":{"tags":["Queries"],"summary":"Query Query Variants","operationId":"query_query_variants","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/retrieve":{"post":{"tags":["Queries"],"summary":"Retrieve Query Revision","operationId":"retrieve_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/":{"post":{"tags":["Queries"],"summary":"Create Query Revision","operationId":"create_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query Revision","operationId":"fetch_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query Revision","operationId":"edit_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query Revision","operationId":"archive_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query Revision","operationId":"unarchive_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/query":{"post":{"tags":["Queries"],"summary":"Query Query Revisions","operationId":"query_query_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/commit":{"post":{"tags":["Queries"],"summary":"Commit Query Revision","operationId":"commit_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/log":{"post":{"tags":["Queries"],"summary":"Log Query Revisions","operationId":"log_query_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/":{"post":{"tags":["Queries"],"summary":"Create Simple Query","operationId":"create_simple_query","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}":{"get":{"tags":["Queries"],"summary":"Fetch Simple Query","operationId":"fetch_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Simple Query","operationId":"edit_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Simple Query","operationId":"archive_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Simple Query","operationId":"unarchive_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/query":{"post":{"tags":["Queries"],"summary":"Query Simple Queries","operationId":"query_simple_queries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/":{"post":{"tags":["Folders"],"summary":"Create Folder","description":"Create a folder.\n\nThe folder name must match `[\\w -]+` (letters, digits, underscore,\nspace, hyphen); other characters return `400`. The resulting path\n(the slug joined to the parent's path with a dot) must be unique\nwithin the project, otherwise the call returns `409`. Passing a\n`parent_id` that does not exist returns `404`. Paths are capped at\n10 levels of nesting and slugs at 64 characters.","operationId":"create_folder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/{folder_id}":{"get":{"tags":["Folders"],"summary":"Fetch Folder","description":"Fetch one folder by id.\n\nReturns a single `folder` envelope. If the folder does not exist in\nthe caller's project, `count` is `0` and `folder` is omitted.","operationId":"fetch_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Folders"],"summary":"Edit Folder","description":"Rename or move a folder.\n\nUse this endpoint to change a folder's `slug`, `name`, or\n`parent_id`. The `id` in the request body must match the path\nparameter or the call returns `400`. Name and path-uniqueness rules\nfrom create apply: invalid names return `400`, a path collision\nreturns `409`, and a missing `parent_id` returns `404`.","operationId":"edit_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Folders"],"summary":"Delete Folder","description":"Delete a folder and every descendant.\n\nRemoves the folder identified by `folder_id` together with every\nfolder beneath it, in a single transaction. Deletion is\nunconditional; there is no archive or unarchive step. Resources\nthat were assigned to any of the removed folders continue to\nexist and are no longer reachable through the deleted folder.","operationId":"delete_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/query":{"post":{"tags":["Folders"],"summary":"Query Folders","description":"Filter folders inside the caller's project.\n\nFollows the general response envelope described in the\n[Query Pattern](/reference/api-guide/query-pattern) guide, but\ndoes not accept `windowing` or `include_archived` — folders are\nhard-deleted and the response always returns the full filtered\nset. Filters include `id`/`ids`, `slug`/`slugs`, `kind`/`kinds`,\n`parent_id`/`parent_ids` (use `parent_id: null` for root folders),\n`path`/`paths`, and `prefix`/`prefixes` for subtree lookup.","operationId":"query_folders","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FoldersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/types/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Types","description":"List shared catalog types.\n\nCatalog types are reusable JSON-Schema building blocks referenced from\ntemplate schemas (for example `message`, `prompt-template`). Types are\nread-only and version with the product.\nSee the [Applications guide](/reference/api-guide/applications#catalog).","operationId":"list_application_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTypesResponse"}}}}}}},"/applications/catalog/templates/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Templates","description":"List application templates available in the catalog.\n\nTemplates describe the handler (`uri`) and JSON schemas used to create\na new application. Pass `include_archived=true` to include retired\ntemplates (useful when editing applications created from an old\ntemplate). Templates are global and read-only.","operationId":"list_application_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}":{"get":{"tags":["Applications"],"summary":"Fetch Application Catalog Template","description":"Fetch one application template by key.\n\nUse this to inspect the exact `uri`, `data`, and JSON Schemas for a\ntemplate before creating an application from it. `template_key` comes\nfrom the `key` field of a template returned by the list endpoint\n(for example `completion`, `chat`, `hook`).","operationId":"fetch_application_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}/presets/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Presets","description":"List presets scoped to a template.\n\nPresets are named parameter sets (for example a curated prompt +\nmodel combination) that scaffold the first revision when creating an\napplication from a template. Pass `include_archived=true` to include\nretired presets.","operationId":"list_application_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Applications"],"summary":"Fetch Application Catalog Preset","description":"Fetch one preset by key within a template.\n\nReturns the preset's `data` so clients can use it as the payload for a\nfirst revision when creating an application from a template.","operationId":"fetch_application_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/":{"post":{"tags":["Applications"],"summary":"Create Application","description":"Create an application artifact only.\n\nReturns an empty application without any variants or revisions.\nMost callers should use `POST /simple/applications/` instead — it\ncreates the artifact, a default variant, and a first committed\nrevision in one request.\nSee the [Applications guide](/reference/api-guide/applications).","operationId":"create_application","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application","description":"Fetch one application artifact by ID.\n\nReturns artifact-level fields only. To get the current variant,\nrevision, and `data` in a single call, use\n`GET /simple/applications/{application_id}`.","operationId":"fetch_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application","description":"Edit artifact-level fields on an application.\n\nEditable fields: `description`, `flags`, `tags`, `meta`. Editing `name`\nis currently disabled and returns `400`. Prompt or model-parameter\nchanges go through `POST /applications/revisions/commit`, not this\nendpoint.","operationId":"edit_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application","description":"Soft-delete an application.\n\nArchiving sets `deleted_at` on the application and hides it from\nqueries that don't set `include_archived: true`. Its variants and\nrevisions become unreachable from listing but their IDs remain\nresolvable so historical traces stay intact.\nSee [Versioning](/reference/api-guide/versioning#archive-and-unarchive).","operationId":"archive_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application","description":"Restore a previously archived application.\n\nClears `deleted_at` and makes the application visible to standard\nqueries again. Safe to call on an already-active application; it is a\nno-op in that case.","operationId":"unarchive_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/query":{"post":{"tags":["Applications"],"summary":"Query Applications","description":"Query application artifacts.\n\nReturns only artifact-level fields; the variant, revision, and `data`\npayload are not included. For one row per application with those\nmerged in, use `POST /simple/applications/query`.\nSee [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_applications","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/":{"post":{"tags":["Applications"],"summary":"Create Application Variant","description":"Create a new variant on an existing application.\n\nA variant is an independent branch of the application's history. The\nnew variant starts empty — call `POST /applications/revisions/commit`\nto add its first revision. Use `POST /applications/variants/fork` when\nyou want the new variant to inherit an existing revision history.","operationId":"create_application_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application Variant","description":"Fetch one variant by ID.\n\nReturns variant-level fields. To get the variant's tip revision and\nits `data`, call `POST /applications/revisions/retrieve` with\n`application_variant_ref`.","operationId":"fetch_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application Variant","description":"Edit a variant's header fields (`name`, `description`, `tags`, `meta`).\n\nConfiguration changes go through a new commit via\n`POST /applications/revisions/commit`. This endpoint only touches\nvariant-level metadata.","operationId":"edit_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application Variant","description":"Soft-delete a variant.\n\nThe variant and its revisions are hidden from queries unless\n`include_archived: true` is sent. Revision IDs remain resolvable so\nhistorical traces are preserved.","operationId":"archive_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application Variant","description":"Restore a previously archived variant.","operationId":"unarchive_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/query":{"post":{"tags":["Applications"],"summary":"Query Application Variants","description":"Query variants across one or more applications.\n\nFilters are parsed from both query-string parameters and the request\nbody; body values take precedence. Use `application_refs` to scope to\nspecific applications, `application_variant_refs` to narrow to\nspecific variants.\nSee [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_application_variants","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}},{"name":"application_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Application Ids"}},{"name":"application_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"}},{"name":"application_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Application Slugs"}},{"name":"application_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"}},{"name":"application_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Application Variant Ids"}},{"name":"application_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"}},{"name":"application_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Application Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/fork":{"post":{"tags":["Applications"],"summary":"Fork Application Variant","description":"Fork an existing variant into a new variant on the same application.\n\nUse this to experiment without touching the source variant's history.\nThe fork copies the source variant's revisions up to the specified\nrevision (or tip) into the new variant, then commits the supplied\n`revision` object on top. Both `variant` and `revision` sub-objects\nin the request must be present; the server returns `count: 0` when\neither is missing. Returns `400 Bad Request` if the fork target is\ninvalid (for example, the source variant or revision cannot be\nlocated in this application's lineage).","operationId":"fork_application_variant","parameters":[{"name":"application_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationForkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/retrieve":{"post":{"tags":["Applications"],"summary":"Retrieve Application Revision","description":"Retrieve one application revision by reference.\n\nAccepts application / variant / revision references for direct lookup,\nor an environment reference (with optional `key`) to resolve the\ncurrently-deployed revision in that environment. Returns the revision\nincluding its `data` payload (URL, parameters, schemas), which clients\nuse to invoke the application.\nSet `resolve: true` to inline embedded references inside `data`.","operationId":"retrieve_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/deploy":{"post":{"tags":["Applications"],"summary":"Deploy Application Revision","description":"Deploy an application revision to an environment.\n\nWrites a reference from the environment revision to the application\nrevision under `key` (default: `{application_slug}.revision`). Clients\nthat subsequently call `/applications/revisions/retrieve` with the\nsame `environment_ref` and `key` resolve to this revision.\nSee the [Applications guide](/reference/api-guide/applications#deployment).","operationId":"deploy_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/":{"post":{"tags":["Applications"],"summary":"Create Application Revision","description":"Create and commit the initial revision for an application variant.\n\nAdvanced use only. For normal development loops prefer\n`POST /applications/revisions/commit`, which commits the new revision\nas the variant's tip and assigns a version number.","operationId":"create_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application Revision","description":"Fetch one revision by its ID.\n\nReturns the revision including its `data` payload. For lookup by\nvariant slug or environment, use `POST /applications/revisions/retrieve`.","operationId":"fetch_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application Revision","description":"Edit a revision's header fields only.\n\nRevisions are immutable snapshots; `data`, `author`, `date`, and\n`message` cannot be changed. This endpoint updates header fields such\nas `description` and `tags`. To change configuration, commit a new\nrevision with `POST /applications/revisions/commit`.","operationId":"edit_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application Revision","description":"Soft-delete a revision.\n\nArchived revisions are hidden from `/query` and `/log` responses\nunless `include_archived: true` is set. The ID remains resolvable for\ntraces and deployed environment references.","operationId":"archive_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application Revision","description":"Restore a previously archived revision.","operationId":"unarchive_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/query":{"post":{"tags":["Applications"],"summary":"Query Application Revisions","description":"Query revisions across one or more applications or variants.\n\nUse `application_refs` / `application_variant_refs` to scope the\nquery, or filter on commit metadata (`author`, `date`, `message`) via\nthe `application_revision` object. For the ordered history of a\nsingle variant, `POST /applications/revisions/log` is more direct.\nSet `resolve: true` to inline embedded references in each revision's\n`data`.","operationId":"query_application_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/commit":{"post":{"tags":["Applications"],"summary":"Commit Application Revision","description":"Commit a new revision on a variant.\n\nThe new revision becomes the variant's tip and is assigned the next\n`version` number. Revisions are immutable once committed; to change\nconfiguration, commit a new revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision).","operationId":"commit_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/log":{"post":{"tags":["Applications"],"summary":"Log Application Revisions","description":"Return the ordered revision log for a variant.\n\nPass `application_variant_id` to list the full history of that\nvariant; optionally pass `application_revision_id` + `depth` to walk\nback a bounded number of commits from a specific revision. Entries\nare returned newest-first and include the full revision record.","operationId":"log_application_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/resolve":{"post":{"tags":["Applications"],"summary":"Resolve Application Revision","description":"Fetch a revision with embedded references inlined.\n\nWhen a revision's `data` carries references to other entities\n(snippets, linked revisions), this endpoint resolves them in place and\nreturns the fully-inlined configuration along with `resolution_info`\ndescribing what was substituted. Use it when clients need a\nself-contained configuration for invocation or export.","operationId":"resolve_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/":{"post":{"tags":["Applications"],"summary":"Create Simple Application","description":"Create an application end-to-end.\n\nCreates the application artifact, a default variant, and a first\ncommitted revision whose `data` comes from the request. This is the\nrecommended entry point for \"spin up a new application from a\ntemplate\". For more control over variant and revision creation, use\nthe structured endpoints under `/applications/`.\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints).","operationId":"create_simple_application","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/query":{"post":{"tags":["Applications"],"summary":"Query Simple Applications","description":"Query applications with variant, revision, and `data` merged per row.\n\nThis is the shape most clients want for dashboards or invocation\npickers: each row carries `variant_id`, `revision_id`, and `data`\n(URL, parameters, schemas) alongside the artifact fields. For the\nstructured query that returns artifacts only, use\n`POST /applications/query`.","operationId":"query_simple_applications","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}":{"get":{"tags":["Applications"],"summary":"Fetch Simple Application","description":"Fetch one application with its current variant, revision, and `data` merged.\n\nThe returned `data` includes the invocation `url`, the `parameters`\nthe revision was committed with, and the JSON `schemas` for inputs,\noutputs, and parameters.","operationId":"fetch_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Simple Application","description":"Edit an application and commit a new revision if configuration changed.\n\nFields other than `id` in the request body are treated as changes and\nproduce a new committed revision. Supplying `data` changes the\nconfiguration; supplying only header fields (`flags`, `tags`, `meta`)\nstill produces a new revision with the updated header but the\nexisting `data`. Editing the application `name` is currently\ndisabled and returns `400`.","operationId":"edit_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Simple Application","description":"Archive an application through the simple endpoint layer.\n\nEquivalent to `POST /applications/{application_id}/archive`; returns\nthe archived application in the simple shape (with its last known\nvariant, revision, and `data`).","operationId":"archive_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Simple Application","description":"Unarchive an application through the simple endpoint layer.\n\nEquivalent to `POST /applications/{application_id}/unarchive`, with\nthe response shape of `/simple/applications/`.","operationId":"unarchive_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/types/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Types","description":"List the shared JSON Schema fragments available to workflow schemas.\n\nWorkflow input/output schemas reference these via `x-ag-type-ref` (for\nexample, `message` or `prompt`). Use this endpoint to discover what\ntype keys exist before building a schema.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTypesResponse"}}}}}}},"/workflows/catalog/types/{ag_type}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Type","description":"Return the JSON Schema for a single shared type key.\n\nReturns 404 when the `ag_type` is not part of the shipped catalog.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_type","parameters":[{"name":"ag_type","in":"path","required":true,"schema":{"type":"string","title":"Ag Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTypeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Templates","description":"List workflow blueprints shipped with the product.\n\nFilter by domain with `is_application`, `is_evaluator`, or\n`is_snippet`. Archived templates are hidden unless `include_archived`\nis true. Templates are global and read-only.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"is_application","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"}},{"name":"is_evaluator","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"}},{"name":"is_snippet","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Template","description":"Return a single workflow template by its key.\n\nReturns `count=0` when the template is not found. Templates are global\nmetadata and are not scoped to a project.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}/presets/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Presets","description":"List presets defined against a template.\n\nPresets are named parameter sets that can be committed as the first\nrevision of a new variant. Returns an empty list when a template has\nno canned presets.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Preset","description":"Return a single preset for a template by key.\n\nReturns `count=0` when the preset is not defined.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/":{"post":{"tags":["Workflows"],"summary":"Create Workflow","description":"Create a workflow artifact.\n\nCreates the top-level container only; commit a revision on a variant\nbefore the workflow can be retrieved or invoked. Use when you need the\nlower-level primitive — pick `/applications/` for serving logic or\n`/evaluators/` for scoring logic.\n\nSee: [Workflows](/reference/api-guide/workflows),\n[Versioning](/reference/api-guide/versioning).","operationId":"create_workflow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow","description":"Fetch a workflow artifact by ID.\n\nReturns the artifact only — variants and revisions are not included.\nUse `/workflows/variants/query` and `/workflows/revisions/query` for\nthe child entities.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow","description":"Update artifact-level fields on a workflow.\n\nThe `id` in the body must match the path parameter. Only supplied\nfields are modified. Configuration (parameters, URL, schemas) lives on\nrevisions — commit a new revision to change those.\n\nSee: [Workflows](/reference/api-guide/workflows),\n[Versioning](/reference/api-guide/versioning).","operationId":"edit_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow","description":"Archive a workflow artifact (soft delete).\n\nSets `deleted_at` on the workflow and its variants. Archived\nworkflows are hidden from queries unless `include_archived=true`.\nRevision IDs remain resolvable so historical traces stay intact.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"archive_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow","description":"Restore a previously archived workflow.\n\nClears `deleted_at` on the workflow. Archived variants and revisions\nare restored with the workflow.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"unarchive_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/query":{"post":{"tags":["Workflows"],"summary":"Query Workflows","description":"Query workflow artifacts with filters and pagination.\n\nAccepts the same filters as query parameters or in the request body;\nbody fields win when both are supplied. Results are ordered by\ncreation time; pass `windowing.next` back for the following page.\n\nSee: [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_workflows","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/":{"post":{"tags":["Workflows"],"summary":"Create Workflow Variant","description":"Create a new variant under an existing workflow.\n\nVariants are branches of an artifact's history; each maintains its own\nrevision log. Variant slugs are unique within the project — reuse of a\nslug already in use returns a 409 conflict.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"create_workflow_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Variant","description":"Fetch a workflow variant by ID.\n\nReturns the variant metadata only — use\n`/workflows/revisions/retrieve` or `/workflows/revisions/log` for the\nvariant's revisions.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow Variant","description":"Update metadata on a workflow variant.\n\nThe `id` in the body must match the path parameter. Revisions on the\nvariant are not affected — commit a new revision to change data.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"edit_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow Variant","description":"Archive a workflow variant.\n\nSoft-deletes the variant and its revisions. Archived variants are\nhidden from queries unless `include_archived=true`. See\n[Versioning](/reference/api-guide/versioning).","operationId":"archive_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow Variant","description":"Restore a previously archived workflow variant.\n\nClears `deleted_at` on the variant and its revisions. See\n[Versioning](/reference/api-guide/versioning).","operationId":"unarchive_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/query":{"post":{"tags":["Workflows"],"summary":"Query Workflow Variants","description":"Query workflow variants with filters and pagination.\n\nScope the query by `workflow_refs` (parent artifact) or\n`workflow_variant_refs` (specific variants). Accepts the same fields\nas query parameters or in the request body.\n\nSee: [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_workflow_variants","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}},{"name":"workflow_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Variant Ids"}},{"name":"workflow_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"}},{"name":"workflow_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/fork":{"post":{"tags":["Workflows"],"summary":"Fork Workflow Variant","operationId":"fork_workflow_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowForkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/retrieve":{"post":{"tags":["Workflows"],"summary":"Retrieve Workflow Revision","operationId":"retrieve_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/deploy":{"post":{"tags":["Workflows"],"summary":"Deploy Workflow Revision","operationId":"deploy_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/":{"post":{"tags":["Workflows"],"summary":"Create Workflow Revision","operationId":"create_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Revision","operationId":"fetch_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow Revision","operationId":"edit_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow Revision","operationId":"archive_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow Revision","operationId":"unarchive_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/query":{"post":{"tags":["Workflows"],"summary":"Query Workflow Revisions","operationId":"query_workflow_revisions","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}},{"name":"workflow_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Variant Ids"}},{"name":"workflow_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"}},{"name":"workflow_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Variant Slugs"}},{"name":"workflow_revision_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"}},{"name":"workflow_revision_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Revision Ids"}},{"name":"workflow_revision_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Revision Slug"}},{"name":"workflow_revision_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Revision Slugs"}},{"name":"workflow_revision_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Revision Version"}},{"name":"workflow_revision_versions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Revision Versions"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/commit":{"post":{"tags":["Workflows"],"summary":"Commit Workflow Revision","operationId":"commit_workflow_revision","parameters":[{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionCommitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/log":{"post":{"tags":["Workflows"],"summary":"Log Workflow Revisions","operationId":"log_workflow_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/resolve":{"post":{"tags":["Workflows"],"summary":"Resolve Workflow Revision Endpoint","description":"Resolve embedded references in a workflow revision configuration.\n\nThis endpoint:\n1. Fetches the workflow revision\n2. Resolves all @ag.references tokens in the configuration\n3. Returns the revision with resolved configuration + metadata","operationId":"resolve_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/":{"post":{"tags":["Workflows"],"summary":"Create Simple Workflow","operationId":"create_simple_workflow","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Simple Workflow","operationId":"fetch_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Simple Workflow","operationId":"edit_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Simple Workflow","operationId":"archive_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Simple Workflow","operationId":"unarchive_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/query":{"post":{"tags":["Workflows"],"summary":"Query Simple Workflows","operationId":"query_simple_workflows","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/types/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Types","description":"List the JSON schema types the evaluator catalog understands.\n\nTypes are static metadata shipped with the product. Use this when\nrendering a catalog UI or validating that a template's schema is\nsupported. See the Evaluators guide for how the catalog relates\nto user-owned evaluator artifacts.","operationId":"list_evaluator_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTypesResponse"}}}}}}},"/evaluators/catalog/templates/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Templates","description":"List evaluator templates from the catalog.\n\nTemplates are blueprints that describe an evaluator's handler\nURI, JSON schemas, and default configuration. Pass\n`include_archived=true` to include deprecated templates. Use the\nreturned `key` with `/catalog/templates/{template_key}/presets/`\nto list its presets.","operationId":"list_evaluator_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Catalog Template","description":"Fetch one evaluator template by key.\n\nReturns an empty envelope (`count: 0`) when no template matches\nthe key. Template keys come from\n`GET /catalog/templates/`.","operationId":"fetch_evaluator_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}/presets/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Presets","description":"List presets defined against one evaluator template.\n\nA preset is a named set of parameter values pre-filled against\nthe template. Use the returned `key` to fetch a specific preset\nvia `GET /catalog/templates/{template_key}/presets/{preset_key}`.","operationId":"list_evaluator_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Catalog Preset","description":"Fetch one evaluator preset by template and preset key.\n\nPresets are not separate entities; they are metadata. Use the\nreturned preset payload as the starting point when creating a\nnew evaluator from a template. See the Evaluators guide.","operationId":"fetch_evaluator_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator","description":"Create an evaluator artifact, its first variant, and its initial revision.\n\nUse this endpoint when you already know you want to manage the\nartifact / variant / revision layers independently. For a\none-shot \"create and forget\" call that returns a flat record,\nsee `POST /simple/evaluators/`. See the Versioning guide for\ncommit semantics.","operationId":"create_evaluator","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator","description":"Fetch an evaluator artifact by id.\n\nReturns the artifact-level record (slug, name, flags, lifecycle)\nwithout variant or revision data. Use the variant and revision\nendpoints to retrieve those layers.","operationId":"fetch_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator","description":"Edit an evaluator artifact's metadata.\n\nEdits are limited to metadata fields (description, tags, meta).\nRenaming is temporarily disabled and returns 400. To change\nevaluator behavior, commit a new revision on the variant — see\n`/evaluators/revisions/commit`.","operationId":"edit_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator","description":"Soft-delete an evaluator artifact.\n\nSets `deleted_at` on the evaluator and hides it from subsequent\n`/query` responses unless `include_archived=true`. Revision IDs\nremain resolvable so historical traces stay intact.","operationId":"archive_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator","description":"Restore a soft-deleted evaluator artifact.\n\nClears `deleted_at` on the evaluator so it re-appears in `/query`\nresponses.","operationId":"unarchive_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluators","description":"Query evaluator artifacts with filters and pagination.\n\nReturns artifact-level records only. The request body follows\nthe shared query pattern (filter + refs + windowing). Send `{}`\nto list all evaluators in the project. See the Query Pattern\nguide.","operationId":"query_evaluators","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator Variant","description":"Create a new variant on an existing evaluator.\n\nA variant is a named branch of the evaluator's history. New\nrevisions committed to this variant do not touch other variants.\nSee the Versioning guide.","operationId":"create_evaluator_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Variant","description":"Fetch an evaluator variant by id.\n\nReturns the variant record (slug, flags, lifecycle) without the\ncommitted revisions. Use `/evaluators/revisions/retrieve` to\nread the variant's current revision payload.","operationId":"fetch_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator Variant","description":"Edit a variant's metadata.\n\nEdits only touch variant-level metadata. To change evaluator\nbehavior commit a new revision via\n`/evaluators/revisions/commit`.","operationId":"edit_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator Variant","description":"Soft-delete an evaluator variant.\n\nSets `deleted_at` on the variant. Its revisions stay resolvable\nby id; they are hidden from `/query` unless the caller sets\n`include_archived=true`.","operationId":"archive_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator Variant","description":"Restore a soft-deleted evaluator variant.","operationId":"unarchive_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluator Variants","description":"Query evaluator variants with filters, reference scoping, and pagination.\n\nAccepts parameters from both the query string and a JSON body;\nthe two are merged. Use `evaluator_refs` to scope to one or more\nevaluators, or `evaluator_variant_refs` for specific variants.","operationId":"query_evaluator_variants","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}},{"name":"evaluator_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Evaluator Ids"}},{"name":"evaluator_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"}},{"name":"evaluator_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Evaluator Slugs"}},{"name":"evaluator_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"}},{"name":"evaluator_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Evaluator Variant Ids"}},{"name":"evaluator_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"}},{"name":"evaluator_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Evaluator Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/fork":{"post":{"tags":["Evaluators"],"summary":"Fork Evaluator Variant","description":"Fork an evaluator variant into a new variant.\n\nCreates a new branch whose initial revision is copied from the\nsource. Use this to experiment without touching the original.\nThe returned variant has a fresh id and slug but inherits\nlineage metadata from its source.","operationId":"fork_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorForkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/retrieve":{"post":{"tags":["Evaluators"],"summary":"Retrieve Evaluator Revision","description":"Retrieve one evaluator revision, either directly or via an environment key.\n\nProvide one of:\nan evaluator / variant / revision reference (returns that\nrevision, or the latest revision on the variant or evaluator),\nor an environment reference plus `key` (returns the revision\ncurrently pinned to that key). Supplying both forms returns 400.\nPass `resolve=true` to expand embedded references on the\nreturned payload.","operationId":"retrieve_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/deploy":{"post":{"tags":["Evaluators"],"summary":"Deploy Evaluator Revision","description":"Pin an evaluator revision into an environment revision under a key.\n\nRequires an evaluator ref (`evaluator_ref`,\n`evaluator_variant_ref`, or `evaluator_revision_ref`) and an\nenvironment ref. When `key` is omitted it defaults to\n`.revision`. The deployment is recorded as a\nnew commit on the environment revision. See the Evaluators\nguide for the deployment model.","operationId":"deploy_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator Revision","description":"Create and commit the initial revision for an evaluator variant.\n\nPrefer `/evaluators/revisions/commit` for the standard commit\nflow. This endpoint commits an initial revision with the `initial`\nguard, preventing duplicate initial revisions for the same variant.","operationId":"create_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Revision","description":"Fetch a specific evaluator revision by id.\n\nReturns the full revision including `data` (handler uri,\nschemas, and parameters). To pick the latest revision on a\nvariant without knowing its id, use\n`/evaluators/revisions/retrieve`.","operationId":"fetch_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator Revision","description":"Edit a revision's metadata.\n\nRevision `data` is immutable once committed. This endpoint is\nfor metadata fields only (description, tags, meta). To change\nevaluator behavior, commit a new revision instead.","operationId":"edit_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator Revision","description":"Soft-delete an evaluator revision.\n\nArchived revisions remain resolvable by id but are excluded from\nrevision logs and queries unless `include_archived=true`.","operationId":"archive_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator Revision","description":"Restore a soft-deleted evaluator revision.","operationId":"unarchive_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluator Revisions","description":"Query evaluator revisions with filters, reference scoping, and pagination.\n\nReturns revision payloads. Use `evaluator_refs`,\n`evaluator_variant_refs`, or `evaluator_revision_refs` to scope\nthe query. Pass `resolve=true` to expand embedded references on\neach revision's `data`.","operationId":"query_evaluator_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/commit":{"post":{"tags":["Evaluators"],"summary":"Commit Evaluator Revision","description":"Commit a new revision on an evaluator variant.\n\nThe commit body carries the target `evaluator_variant_id`, an\noptional `message`, and the revision `data` (handler uri,\nschemas, parameters). A committed revision is immutable.","operationId":"commit_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/log":{"post":{"tags":["Evaluators"],"summary":"Log Evaluator Revisions","description":"List the revision log of an evaluator variant.\n\nReturns revisions in commit order. Scope the log by supplying\nan evaluator, variant, or revision reference. Use the retrieve\nendpoint to fetch a specific revision's full payload.","operationId":"log_evaluator_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/resolve":{"post":{"tags":["Evaluators"],"summary":"Resolve Evaluator Revision","description":"Resolve embedded references on an evaluator revision's `data`.\n\nWalks embedded references (for example, references to other\nrevisions or to secrets) up to `max_depth` and `max_embeds`.\nThe response includes a `resolution_info` block with counts,\ndepth reached, and errors according to `error_policy`.","operationId":"resolve_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/":{"post":{"tags":["Evaluators"],"summary":"Create Simple Evaluator","description":"Create an evaluator via the simple surface.\n\nCreates the artifact, its first variant, and its initial\nrevision in one call. Returns the flat evaluator record\n(latest revision merged into `data`). Use this when you do not\nneed to manage variants or revisions directly.","operationId":"create_simple_evaluator","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/templates":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Templates","description":"List the legacy built-in evaluator templates.\n\nReturns static evaluator-type definitions shipped with the\nproduct. Prefer the `/evaluators/catalog/*` endpoints for new\nintegrations; this endpoint is kept for older clients. Pass\n`include_archived=true` to include deprecated templates.","operationId":"list_evaluator_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Simple Evaluator","description":"Fetch one evaluator via the simple surface.\n\nReturns the flat evaluator record including its current variant\nand revision ids and the merged `data` payload.","operationId":"fetch_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Simple Evaluator","description":"Edit an evaluator via the simple surface.\n\nTouches metadata and (when `data` is supplied) commits a new\nrevision on the evaluator's variant. Renaming is temporarily\ndisabled and returns 400.","operationId":"edit_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Simple Evaluator","description":"Soft-delete an evaluator via the simple surface.\n\nArchives the underlying artifact. Historical traces that\nreference specific revision ids remain resolvable.","operationId":"archive_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Simple Evaluator","description":"Restore a soft-deleted evaluator via the simple surface.","operationId":"unarchive_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/query":{"post":{"tags":["Evaluators"],"summary":"Query Simple Evaluators","description":"Query evaluators via the simple surface with filters and pagination.\n\nReturns flat evaluator records (one per artifact with its\nlatest variant and revision merged into `data`). Send `{}` to\nlist all evaluators in the project. See the Query Pattern\nguide.","operationId":"query_simple_evaluators","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/":{"post":{"tags":["Environments"],"summary":"Create Environment","operationId":"create_environment","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment","operationId":"fetch_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment","operationId":"edit_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment","operationId":"archive_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment","operationId":"unarchive_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/query":{"post":{"tags":["Environments"],"summary":"Query Environments","operationId":"query_environments","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/":{"post":{"tags":["Environments"],"summary":"Create Environment Variant","operationId":"create_environment_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment Variant","operationId":"fetch_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment Variant","operationId":"edit_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment Variant","operationId":"archive_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment Variant","operationId":"unarchive_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/query":{"post":{"tags":["Environments"],"summary":"Query Environment Variants","operationId":"query_environment_variants","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"environment_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"}},{"name":"environment_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Variant Ids"}},{"name":"environment_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"}},{"name":"environment_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/retrieve":{"post":{"tags":["Environments"],"summary":"Retrieve Environment Revision","operationId":"retrieve_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/":{"post":{"tags":["Environments"],"summary":"Create Environment Revision","operationId":"create_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment Revision","operationId":"fetch_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment Revision","operationId":"edit_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment Revision","operationId":"archive_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment Revision","operationId":"unarchive_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/query":{"post":{"tags":["Environments"],"summary":"Query Environment Revisions","operationId":"query_environment_revisions","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"environment_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"}},{"name":"environment_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Variant Ids"}},{"name":"environment_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"}},{"name":"environment_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Variant Slugs"}},{"name":"environment_revision_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"}},{"name":"environment_revision_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Revision Ids"}},{"name":"environment_revision_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Revision Slug"}},{"name":"environment_revision_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Revision Slugs"}},{"name":"environment_revision_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Revision Version"}},{"name":"environment_revision_versions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Revision Versions"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/commit":{"post":{"tags":["Environments"],"summary":"Commit Environment Revision","operationId":"commit_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/log":{"post":{"tags":["Environments"],"summary":"Log Environment Revisions","operationId":"log_environment_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/resolve":{"post":{"tags":["Environments"],"summary":"Resolve Environment Revision Endpoint","description":"Resolve embedded references in an environment revision configuration.\n\nThis endpoint:\n1. Fetches the environment revision\n2. Resolves all @ag.references tokens in the configuration\n3. Returns the revision with resolved configuration + metadata","operationId":"resolve_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/":{"post":{"tags":["Environments"],"summary":"Create Simple Environment","operationId":"create_simple_environment","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}":{"get":{"tags":["Environments"],"summary":"Fetch Simple Environment","operationId":"fetch_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Simple Environment","operationId":"edit_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Simple Environment","operationId":"archive_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Simple Environment","operationId":"unarchive_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/query":{"post":{"tags":["Environments"],"summary":"Query Simple Environments","operationId":"query_simple_environments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/guard":{"post":{"tags":["Environments"],"summary":"Guard Simple Environment","operationId":"guard_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/unguard":{"post":{"tags":["Environments"],"summary":"Unguard Simple Environment","operationId":"unguard_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/variants/configs/fetch":{"post":{"tags":["Deprecated"],"summary":"Configs Fetch","operationId":"configs_fetch_variants_configs_fetch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_configs_fetch_variants_configs_fetch_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tools/catalog/providers/":{"get":{"tags":["Tools"],"summary":"List Providers","operationId":"list_tool_providers","parameters":[{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogProvidersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}":{"get":{"tags":["Tools"],"summary":"Get Provider","operationId":"fetch_tool_provider","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/":{"get":{"tags":["Tools"],"summary":"List Integrations","operationId":"list_tool_integrations","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}":{"get":{"tags":["Tools"],"summary":"Get Integration","operationId":"fetch_tool_integration","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}/actions/":{"get":{"tags":["Tools"],"summary":"List Actions","operationId":"list_tool_actions","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Categories"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogActionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}/actions/{action_key}":{"get":{"tags":["Tools"],"summary":"Get Action","operationId":"fetch_tool_action","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"action_key","in":"path","required":true,"schema":{"type":"string","title":"Action Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/query":{"post":{"tags":["Tools"],"summary":"Query Connections","description":"Query connections with optional filtering.","operationId":"query_tool_connections","parameters":[{"name":"provider_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Key"}},{"name":"integration_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/":{"post":{"tags":["Tools"],"summary":"Create Connection","description":"Create a new tool connection.","operationId":"create_tool_connection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/callback":{"get":{"tags":["Tools"],"summary":"Callback Connection","description":"Handle OAuth callback from Composio.","operationId":"callback_tool_connection","parameters":[{"name":"connected_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"error_message","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}":{"get":{"tags":["Tools"],"summary":"Get Connection","description":"Get a connection by ID.","operationId":"fetch_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Tools"],"summary":"Delete Connection","description":"Delete a connection by ID.","operationId":"delete_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}/refresh":{"post":{"tags":["Tools"],"summary":"Refresh Connection","description":"Refresh a connection's credentials.","operationId":"refresh_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}/revoke":{"post":{"tags":["Tools"],"summary":"Revoke Connection","description":"Mark a connection invalid locally (does not revoke at the provider).","operationId":"revoke_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/call":{"post":{"tags":["Tools"],"summary":"Call Tool","description":"Call a tool action with a connection.","operationId":"call_tool","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCall"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCallResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/":{"post":{"tags":["Evaluations"],"summary":"Create Runs","operationId":"create_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Runs","operationId":"delete_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Runs","operationId":"edit_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/query":{"post":{"tags":["Evaluations"],"summary":"Query Runs","operationId":"query_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/close":{"post":{"tags":["Evaluations"],"summary":"Close Runs","operationId":"close_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/open":{"post":{"tags":["Evaluations"],"summary":"Open Runs","operationId":"open_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Run","operationId":"fetch_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Run","operationId":"edit_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Run","operationId":"delete_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/close":{"post":{"tags":["Evaluations"],"summary":"Close Run","operationId":"close_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/close/{status}":{"post":{"tags":["Evaluations"],"summary":"Close Run","operationId":"close_run_with_status","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"status","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/open":{"post":{"tags":["Evaluations"],"summary":"Open Run","operationId":"open_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/":{"post":{"tags":["Evaluations"],"summary":"Create Scenarios","operationId":"create_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Scenarios","operationId":"delete_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Scenarios","operationId":"edit_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Scenarios","operationId":"query_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/{scenario_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Scenario","operationId":"fetch_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Scenario","operationId":"edit_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Scenario","operationId":"delete_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/":{"post":{"tags":["Evaluations"],"summary":"Create Results","operationId":"create_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Results","operationId":"delete_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Results","operationId":"edit_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/query":{"post":{"tags":["Evaluations"],"summary":"Query Results","operationId":"query_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/{result_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Result","operationId":"fetch_result","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Result","operationId":"edit_result","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Result","operationId":"delete_result","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/refresh":{"post":{"tags":["Evaluations"],"summary":"Refresh Metrics","operationId":"refresh_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsRefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/":{"post":{"tags":["Evaluations"],"summary":"Create Metrics","operationId":"create_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Metrics","operationId":"delete_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Metrics","operationId":"edit_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/query":{"post":{"tags":["Evaluations"],"summary":"Query Metrics","operationId":"query_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/":{"post":{"tags":["Evaluations"],"summary":"Create Queues","operationId":"create_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Queues","operationId":"delete_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Queues","operationId":"edit_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/query":{"post":{"tags":["Evaluations"],"summary":"Query Queues","operationId":"query_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/{queue_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Queue","operationId":"fetch_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Queue","operationId":"edit_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Queue","operationId":"delete_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/{queue_id}/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Queue Scenarios","operationId":"query_evaluation_queue_scenarios","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueScenariosQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/":{"post":{"tags":["Evaluations"],"summary":"Create Evaluation","operationId":"create_simple_evaluation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Evaluation","operationId":"fetch_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Evaluation","operationId":"edit_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Evaluation","operationId":"delete_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/query":{"post":{"tags":["Evaluations"],"summary":"Query Evaluations","operationId":"query_simple_evaluations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/start":{"post":{"tags":["Evaluations"],"summary":"Start Evaluation","operationId":"start_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/stop":{"post":{"tags":["Evaluations"],"summary":"Stop Evaluation","operationId":"stop_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/close":{"post":{"tags":["Evaluations"],"summary":"Close Evaluation","operationId":"close_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/open":{"post":{"tags":["Evaluations"],"summary":"Open Evaluation","operationId":"open_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/":{"post":{"tags":["Evaluations"],"summary":"Create Simple Queue","operationId":"create_simple_queue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/query":{"post":{"tags":["Evaluations"],"summary":"Query Simple Queues","operationId":"query_simple_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Simple Queue","operationId":"fetch_simple_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Simple Queue Scenarios","operationId":"query_simple_queue_scenarios","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueScenariosQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/traces/":{"post":{"tags":["Evaluations"],"summary":"Add Simple Queue Traces","operationId":"add_simple_queue_traces","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueTracesCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/testcases/":{"post":{"tags":["Evaluations"],"summary":"Add Simple Queue Testcases","operationId":"add_simple_queue_testcases","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueTestcasesCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/accounts/":{"post":{"tags":["Admin"],"summary":"Create accounts","operationId":"create_accounts_admin_accounts__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete accounts","operationId":"delete_accounts_admin_accounts__delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsDelete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/":{"post":{"tags":["Admin"],"summary":"Create simple accounts","operationId":"create_simple_accounts_admin_simple_accounts__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete simple accounts","operationId":"delete_simple_accounts_admin_simple_accounts__delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsDelete"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/":{"post":{"tags":["Admin"],"summary":"Create users","operationId":"create_user_admin_simple_accounts_users__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/{user_id}":{"delete":{"tags":["Admin"],"summary":"Delete user","operationId":"delete_user_admin_simple_accounts_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/identities/":{"post":{"tags":["Admin"],"summary":"Create user identities","operationId":"create_user_identity_admin_simple_accounts_users_identities__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersIdentitiesCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/{user_id}/identities/{identity_id}":{"delete":{"tags":["Admin"],"summary":"Delete user identity","operationId":"delete_user_identity_admin_simple_accounts_users__user_id__identities__identity_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"identity_id","in":"path","required":true,"schema":{"type":"string","title":"Identity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/":{"post":{"tags":["Admin"],"summary":"Create organizations","operationId":"create_organization_admin_simple_accounts_organizations__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/{organization_id}":{"delete":{"tags":["Admin"],"summary":"Delete organization","operationId":"delete_organization_admin_simple_accounts_organizations__organization_id__delete","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/memberships/":{"post":{"tags":["Admin"],"summary":"Create organization memberships","operationId":"create_organization_membership_admin_simple_accounts_organizations_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/{organization_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete organization membership","operationId":"delete_organization_membership_admin_simple_accounts_organizations__organization_id__memberships__membership_id__delete","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/":{"post":{"tags":["Admin"],"summary":"Create workspaces","operationId":"create_workspace_admin_simple_accounts_workspaces__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsWorkspacesCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/{workspace_id}":{"delete":{"tags":["Admin"],"summary":"Delete workspace","operationId":"delete_workspace_admin_simple_accounts_workspaces__workspace_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/memberships/":{"post":{"tags":["Admin"],"summary":"Create workspace memberships","operationId":"create_workspace_membership_admin_simple_accounts_workspaces_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsWorkspacesMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/{workspace_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete workspace membership","operationId":"delete_workspace_membership_admin_simple_accounts_workspaces__workspace_id__memberships__membership_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/":{"post":{"tags":["Admin"],"summary":"Create projects","operationId":"create_project_admin_simple_accounts_projects__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsProjectsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/{project_id}":{"delete":{"tags":["Admin"],"summary":"Delete project","operationId":"delete_project_admin_simple_accounts_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/memberships/":{"post":{"tags":["Admin"],"summary":"Create project memberships","operationId":"create_project_membership_admin_simple_accounts_projects_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsProjectsMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/{project_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete project membership","operationId":"delete_project_membership_admin_simple_accounts_projects__project_id__memberships__membership_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/api-keys/":{"post":{"tags":["Admin"],"summary":"Create API keys","operationId":"create_api_key_admin_simple_accounts_api_keys__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsApiKeysCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/api-keys/{api_key_id}":{"delete":{"tags":["Admin"],"summary":"Delete API key","operationId":"delete_api_key_admin_simple_accounts_api_keys__api_key_id__delete","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/reset-password":{"post":{"tags":["Admin"],"summary":"Reset user password","operationId":"reset_password_admin_simple_accounts_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersResetPassword"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/transfer-ownership":{"post":{"tags":["Admin"],"summary":"Transfer organization ownership","operationId":"transfer_ownership_admin_simple_accounts_transfer_ownership_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsTransferOwnership"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"200":{"description":"Partial transfer — some orgs could not be transferred.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsTransferOwnershipResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["Status"],"summary":"Health Check","operationId":"health_check","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/permissions/verify":{"get":{"tags":["Access"],"summary":"Verify Permissions","operationId":"verify_permissions","parameters":[{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"scope_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Type"}},{"name":"scope_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scope Id"}},{"name":"resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"}},{"name":"resource_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects":{"get":{"tags":["Projects"],"summary":"Get Projects","operationId":"get_projects","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectsResponse"},"type":"array","title":"Response Get Projects"}}}}}},"post":{"tags":["Projects"],"summary":"Create Project","operationId":"create_project","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}":{"get":{"tags":["Projects"],"summary":"Get Project","operationId":"get_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Projects"],"summary":"Delete Project","operationId":"delete_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Projects"],"summary":"Update Project","operationId":"update_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile":{"get":{"tags":["Users"],"summary":"User Profile","operationId":"fetch_user_profile","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/username":{"put":{"tags":["Users"],"summary":"Update User Username","operationId":"update_user_username","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/reset-password":{"post":{"tags":["Users"],"summary":"Reset User Password","operationId":"reset_user_password","parameters":[{"name":"user_id","in":"query","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/keys":{"get":{"tags":["Keys"],"summary":"List Api Keys","description":"List all API keys associated with the authenticated user.\n\nArgs:\n request (Request): The incoming request object.\n\nReturns:\n List[ListAPIKeysResponse]: A list of API Keys associated with the user.","operationId":"list_api_keys","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ListAPIKeysResponse"},"type":"array","title":"Response List Api Keys"}}}}}},"post":{"tags":["Keys"],"summary":"Create Api Key","description":"Creates an API key for a user.\n\nArgs:\n request (Request): The request object containing the user ID in the request state.\n\nReturns:\n str: The created API key.","operationId":"create_api_key","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Create Api Key"}}}}}}},"/keys/{key_prefix}":{"delete":{"tags":["Keys"],"summary":"Delete Api Key","description":"Delete an API key with the given key prefix for the authenticated user.\n\nArgs:\n key_prefix (str): The prefix of the API key to be deleted.\n request (Request): The incoming request object.\n\nReturns:\n dict: A dictionary containing a success message upon successful deletion.\n\nRaises:\n HTTPException: If the API key is not found or does not belong to the user.","operationId":"delete_api_key","parameters":[{"name":"key_prefix","in":"path","required":true,"schema":{"type":"string","title":"Key Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Api Key"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite":{"post":{"tags":["Organizations"],"summary":"Invite User To Organization","description":"Assigns a role to a user in an organization.\n\nArgs:\n organization_id (str): The ID of the organization.\n payload (InviteRequest): The payload containing the organization id, user email, and role to assign.\n workspace_id (str): The ID of the workspace.\n\nReturns:\n bool: True if the role was successfully assigned, False otherwise.\n\nRaises:\n HTTPException: If the user does not have permission to perform this action.\n HTTPException: If there is an error assigning the role to the user.","operationId":"invite_user_to_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InviteRequest"},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite/resend":{"post":{"tags":["Organizations"],"summary":"Resend User Invitation To Organization","description":"Resend an invitation to a user to an Organization.\n\nRaises:\n HTTPException: _description_; status_code: 500\n HTTPException: Invitation not found or has expired; status_code: 400\n HTTPException: You already belong to this organization; status_code: 400\n\nReturns:\n JSONResponse: Resent invitation to user; status_code: 200","operationId":"resend_invitation","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendInviteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite/accept":{"post":{"tags":["Organizations"],"summary":"Accept Organization Invitation","description":"Accept an invitation to an organization.\n\nRaises:\n HTTPException: _description_; status_code: 500\n HTTPException: Invitation not found or has expired; status_code: 400\n HTTPException: You already belong to this organization; status_code: 400\n\nReturns:\n JSONResponse: Accepted invitation to workspace; status_code: 200","operationId":"accept_invitation","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteToken"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces":{"get":{"tags":["Workspaces"],"summary":"Get Workspace","description":"Get workspace details.\n\nReturns details about the workspace associated with the user's session.\n\nReturns:\n Workspace: The details of the workspace.\n\nRaises:\n HTTPException: If the user does not have permission to perform this action.","operationId":"get_workspace","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Workspace"},"type":"array","title":"Response Get Workspace"}}}}}}},"/workspaces/roles":{"get":{"tags":["Workspaces"],"summary":"Get All Workspace Roles","description":"Get all workspace roles.\n\nReturns a list of all available workspace roles.\n\nReturns:\n List[WorkspaceRoleResponse]: A list of WorkspaceRole objects representing the available workspace roles.\n\nRaises:\n HTTPException: If an error occurs while retrieving the workspace roles.","operationId":"get_all_workspace_roles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Response Get All Workspace Roles"}}}}}}},"/workspaces/{workspace_id}/users":{"delete":{"tags":["Workspaces"],"summary":"Remove User From Workspace","description":"Remove a user from a workspace.\n\nArgs:\n email (str): The email address of the user to be removed\n workspace_id (str): The ID of the workspace.","operationId":"remove_user_from_workspace","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AdminAccountCreateOptions":{"properties":{"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":false},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"create_identities":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Create Identities"},"create_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Create Api Keys"},"return_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Return Api Keys"},"seed_defaults":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Seed Defaults","default":true},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"AdminAccountCreateOptions"},"AdminAccountRead":{"properties":{"users":{"additionalProperties":{"$ref":"#/components/schemas/AdminUserRead"},"type":"object","title":"Users","default":{}},"user_identities":{"additionalProperties":{"$ref":"#/components/schemas/AdminUserIdentityRead"},"type":"object","title":"User Identities","default":{}},"organizations":{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationRead"},"type":"object","title":"Organizations","default":{}},"workspaces":{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceRead"},"type":"object","title":"Workspaces","default":{}},"projects":{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectRead"},"type":"object","title":"Projects","default":{}},"organization_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationMembershipRead"},"type":"object","title":"Organization Memberships","default":{}},"workspace_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceMembershipRead"},"type":"object","title":"Workspace Memberships","default":{}},"project_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectMembershipRead"},"type":"object","title":"Project Memberships","default":{}},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionRead"},"type":"object"},{"type":"null"}],"title":"Subscriptions"},"api_keys":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminApiKeyResponse"},"type":"object"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminAccountRead","description":"Per-account projection in the full graph response (plural entity maps)."},"AdminAccountsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"users":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminUserCreate"},"type":"object"},{"type":"null"}],"title":"Users"},"user_identities":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"object"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationCreate"},"type":"object"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceCreate"},"type":"object"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectCreate"},"type":"object"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminApiKeyCreate"},"type":"object"},{"type":"null"}],"title":"Api Keys"},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionCreate"},"type":"object"},{"type":"null"}],"title":"Subscriptions"}},"type":"object","title":"AdminAccountsCreate"},"AdminAccountsDelete":{"properties":{"target":{"$ref":"#/components/schemas/AdminAccountsDeleteTarget"},"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":true},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"confirm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirm"}},"type":"object","required":["target"],"title":"AdminAccountsDelete"},"AdminAccountsDeleteTarget":{"properties":{"user_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Ids"},"user_emails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Emails"},"organization_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Organization Ids"},"workspace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Workspace Ids"},"project_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Project Ids"}},"type":"object","title":"AdminAccountsDeleteTarget"},"AdminAccountsResponse":{"properties":{"accounts":{"items":{"$ref":"#/components/schemas/AdminAccountRead"},"type":"array","title":"Accounts","default":[]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminAccountsResponse"},"AdminApiKeyCreate":{"properties":{"project_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["project_ref","user_ref"],"title":"AdminApiKeyCreate"},"AdminApiKeyResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"prefix":{"type":"string","title":"Prefix"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"returned_once":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Returned Once"}},"type":"object","required":["prefix","project_id","user_id"],"title":"AdminApiKeyResponse"},"AdminDeleteResponse":{"properties":{"dry_run":{"type":"boolean","title":"Dry Run","default":false},"deleted":{"$ref":"#/components/schemas/AdminDeletedEntities","default":{}},"skipped":{"anyOf":[{"$ref":"#/components/schemas/AdminDeletedEntities"},{"type":"null"}]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminDeleteResponse"},"AdminDeletedEntities":{"properties":{"users":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Users"},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminDeletedEntities"},"AdminDeletedEntity":{"properties":{"id":{"type":"string","title":"Id"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"}},"type":"object","required":["id"],"title":"AdminDeletedEntity"},"AdminOrganizationCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"owner_user_ref":{"anyOf":[{"$ref":"#/components/schemas/EntityRef"},{"type":"null"}]},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name"],"title":"AdminOrganizationCreate"},"AdminOrganizationMembershipCreate":{"properties":{"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["organization_ref","user_ref","role"],"title":"AdminOrganizationMembershipCreate"},"AdminOrganizationMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"organization_id":{"type":"string","title":"Organization Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","organization_id","user_id","role"],"title":"AdminOrganizationMembershipRead"},"AdminOrganizationRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"owner_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner User Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name"],"title":"AdminOrganizationRead"},"AdminProjectCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"workspace_ref":{"$ref":"#/components/schemas/EntityRef"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name","organization_ref","workspace_ref"],"title":"AdminProjectCreate"},"AdminProjectMembershipCreate":{"properties":{"project_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["project_ref","user_ref","role"],"title":"AdminProjectMembershipCreate"},"AdminProjectMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","project_id","user_id","role"],"title":"AdminProjectMembershipRead"},"AdminProjectRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name","organization_id","workspace_id"],"title":"AdminProjectRead"},"AdminSimpleAccountCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user":{"$ref":"#/components/schemas/AdminUserCreate"},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organization":{"anyOf":[{"$ref":"#/components/schemas/AdminOrganizationCreate"},{"type":"null"}]},"workspace":{"anyOf":[{"$ref":"#/components/schemas/AdminWorkspaceCreate"},{"type":"null"}]},"project":{"anyOf":[{"$ref":"#/components/schemas/AdminProjectCreate"},{"type":"null"}]},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminApiKeyCreate"},"type":"array"},{"type":"null"}],"title":"Api Keys"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/AdminSubscriptionCreate"},{"type":"null"}]}},"type":"object","required":["user"],"title":"AdminSimpleAccountCreate","description":"One account entry in a batch simple-accounts create request."},"AdminSimpleAccountDeleteEntry":{"properties":{"user":{"$ref":"#/components/schemas/EntityRef"}},"type":"object","required":["user"],"title":"AdminSimpleAccountDeleteEntry","description":"One account entry in a batch simple-accounts delete request.\n\nIdentifies the account by its user (typically by id)."},"AdminSimpleAccountRead":{"properties":{"user":{"anyOf":[{"$ref":"#/components/schemas/AdminUserRead"},{"type":"null"}]},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminUserIdentityRead"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationRead"},"type":"object"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceRead"},"type":"object"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectRead"},"type":"object"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminOrganizationMembershipRead"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminWorkspaceMembershipRead"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminProjectMembershipRead"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionRead"},"type":"object"},{"type":"null"}],"title":"Subscriptions"},"api_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminSimpleAccountRead","description":"Per-account entry in the simple-accounts response.\n\n``user`` is a flat object (there is always exactly one per account).\n``organizations``, ``workspaces``, ``projects`` are named dicts (keys match\nthe ref keys used internally, e.g. \"org\", \"wrk\", \"prj\").\n``api_keys`` maps ref names to raw key values (plain strings, not DTOs)."},"AdminSimpleAccountsApiKeysCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"api_key":{"$ref":"#/components/schemas/AdminApiKeyCreate"}},"type":"object","required":["api_key"],"title":"AdminSimpleAccountsApiKeysCreate"},"AdminSimpleAccountsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountCreate"},"type":"object","title":"Accounts"}},"type":"object","required":["accounts"],"title":"AdminSimpleAccountsCreate"},"AdminSimpleAccountsDelete":{"properties":{"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountDeleteEntry"},"type":"object","title":"Accounts"},"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"confirm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirm"}},"type":"object","required":["accounts"],"title":"AdminSimpleAccountsDelete"},"AdminSimpleAccountsOrganizationsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"organization":{"$ref":"#/components/schemas/AdminOrganizationCreate"},"owner":{"anyOf":[{"$ref":"#/components/schemas/AdminUserCreate"},{"type":"null"}]}},"type":"object","required":["organization"],"title":"AdminSimpleAccountsOrganizationsCreate"},"AdminSimpleAccountsOrganizationsMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsOrganizationsMembershipsCreate"},"AdminSimpleAccountsOrganizationsTransferOwnership":{"properties":{"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EntityRef"},"type":"object"},{"type":"null"}],"title":"Organizations"},"users":{"additionalProperties":{"$ref":"#/components/schemas/EntityRef"},"type":"object","title":"Users"},"include_workspaces":{"anyOf":[{"type":"string","const":"all"},{"items":{"type":"string"},"type":"array"}],"title":"Include Workspaces","default":"all"},"include_projects":{"anyOf":[{"type":"string","const":"all"},{"items":{"type":"string"},"type":"array"}],"title":"Include Projects","default":"all"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"recovery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recovery"}},"type":"object","required":["users"],"title":"AdminSimpleAccountsOrganizationsTransferOwnership"},"AdminSimpleAccountsOrganizationsTransferOwnershipResponse":{"properties":{"transferred":{"items":{"type":"string"},"type":"array","title":"Transferred","default":[]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminSimpleAccountsOrganizationsTransferOwnershipResponse"},"AdminSimpleAccountsProjectsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"project":{"$ref":"#/components/schemas/AdminProjectCreate"}},"type":"object","required":["project"],"title":"AdminSimpleAccountsProjectsCreate"},"AdminSimpleAccountsProjectsMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsProjectsMembershipsCreate"},"AdminSimpleAccountsResponse":{"properties":{"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountRead"},"type":"object","title":"Accounts","default":{}},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminSimpleAccountsResponse"},"AdminSimpleAccountsUsersCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user":{"$ref":"#/components/schemas/AdminUserCreate"}},"type":"object","required":["user"],"title":"AdminSimpleAccountsUsersCreate"},"AdminSimpleAccountsUsersIdentitiesCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"user_identity":{"$ref":"#/components/schemas/AdminUserIdentityCreate"}},"type":"object","required":["user_ref","user_identity"],"title":"AdminSimpleAccountsUsersIdentitiesCreate"},"AdminSimpleAccountsUsersResetPassword":{"properties":{"user_identities":{"items":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"array","title":"User Identities"}},"type":"object","required":["user_identities"],"title":"AdminSimpleAccountsUsersResetPassword"},"AdminSimpleAccountsWorkspacesCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"workspace":{"$ref":"#/components/schemas/AdminWorkspaceCreate"}},"type":"object","required":["workspace"],"title":"AdminSimpleAccountsWorkspacesCreate"},"AdminSimpleAccountsWorkspacesMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsWorkspacesMembershipsCreate"},"AdminStructuredError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"}},"type":"object","required":["code","message"],"title":"AdminStructuredError"},"AdminSubscriptionCreate":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"AdminSubscriptionCreate"},"AdminSubscriptionRead":{"properties":{"plan":{"type":"string","title":"Plan"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","required":["plan"],"title":"AdminSubscriptionRead"},"AdminUserCreate":{"properties":{"email":{"type":"string","title":"Email"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"is_root":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Root"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["email"],"title":"AdminUserCreate"},"AdminUserIdentityCreate":{"properties":{"user_ref":{"anyOf":[{"$ref":"#/components/schemas/EntityRef"},{"type":"null"}]},"method":{"type":"string","title":"Method"},"subject":{"type":"string","title":"Subject"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"provider_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider User Id"},"claims":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Claims"}},"type":"object","required":["method","subject"],"title":"AdminUserIdentityCreate"},"AdminUserIdentityRead":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"user_id":{"type":"string","title":"User Id"},"method":{"type":"string","title":"Method"},"subject":{"type":"string","title":"Subject"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"status":{"type":"string","enum":["created","linked","pending_confirmation","skipped","failed"],"title":"Status","default":"created"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["user_id","method","subject"],"title":"AdminUserIdentityRead"},"AdminUserRead":{"properties":{"id":{"type":"string","title":"Id"},"uid":{"type":"string","title":"Uid"},"email":{"type":"string","title":"Email"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"is_root":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Root"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","uid","email"],"title":"AdminUserRead"},"AdminWorkspaceCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name","organization_ref"],"title":"AdminWorkspaceCreate"},"AdminWorkspaceMembershipCreate":{"properties":{"workspace_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["workspace_ref","user_ref","role"],"title":"AdminWorkspaceMembershipCreate"},"AdminWorkspaceMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","workspace_id","user_id","role"],"title":"AdminWorkspaceMembershipRead"},"AdminWorkspaceRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_id":{"type":"string","title":"Organization Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name","organization_id"],"title":"AdminWorkspaceRead"},"Analytics":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0.0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0.0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0.0}},"type":"object","title":"Analytics"},"AnalyticsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"$ref":"#/components/schemas/MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`.","default":[]},"query":{"$ref":"#/components/schemas/TracingQuery","description":"The resolved query used to compute the buckets."},"specs":{"items":{"$ref":"#/components/schemas/MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."},"Annotation":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"Annotation"},"AnnotationCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"AnnotationCreate"},"AnnotationCreateRequest":{"properties":{"annotation":{"$ref":"#/components/schemas/AnnotationCreate"}},"type":"object","required":["annotation"],"title":"AnnotationCreateRequest"},"AnnotationEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"AnnotationEdit"},"AnnotationEditRequest":{"properties":{"annotation":{"$ref":"#/components/schemas/AnnotationEdit"}},"type":"object","required":["annotation"],"title":"AnnotationEditRequest"},"AnnotationLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotation_link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}]}},"type":"object","title":"AnnotationLinkResponse"},"AnnotationQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"AnnotationQuery"},"AnnotationQueryRequest":{"properties":{"annotation":{"anyOf":[{"$ref":"#/components/schemas/AnnotationQuery"},{"type":"null"}]},"annotation_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Annotation Links"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"AnnotationQueryRequest"},"AnnotationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotation":{"anyOf":[{"$ref":"#/components/schemas/Annotation"},{"type":"null"}]}},"type":"object","title":"AnnotationResponse"},"AnnotationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotations":{"items":{"$ref":"#/components/schemas/Annotation"},"type":"array","title":"Annotations","default":[]}},"type":"object","title":"AnnotationsResponse"},"Application":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Application"},"ApplicationArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"ApplicationArtifactFlags","description":"Application flags - is_application=True; other booleans use their normal defaults unless explicitly set."},"ApplicationArtifactQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}},"type":"object","title":"ApplicationArtifactQueryFlags","description":"Application query flags - filter for is_application=True."},"ApplicationCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},"ApplicationCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/ApplicationCatalogPreset"},{"type":"null"}],"description":"Catalog preset definition."}},"type":"object","title":"ApplicationCatalogPresetResponse","description":"Single preset response envelope."},"ApplicationCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"$ref":"#/components/schemas/ApplicationCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets for the template. Use a preset's `data` as the first revision when creating an application from a template."}},"type":"object","title":"ApplicationCatalogPresetsResponse","description":"List of catalog presets scoped to one template."},"ApplicationCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},"ApplicationCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/ApplicationCatalogTemplate"},{"type":"null"}],"description":"Catalog template definition."}},"type":"object","title":"ApplicationCatalogTemplateResponse","description":"Single template response envelope."},"ApplicationCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"$ref":"#/components/schemas/ApplicationCatalogTemplate"},"type":"array","title":"Templates","description":"Built-in and custom templates an application can be created from. Each template carries a `key`, a `uri`, and the JSON Schemas that applications of that type expose."}},"type":"object","title":"ApplicationCatalogTemplatesResponse","description":"List of catalog templates."},"ApplicationCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"ApplicationCatalogType"},"ApplicationCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of types returned.","default":0},"types":{"items":{"$ref":"#/components/schemas/ApplicationCatalogType"},"type":"array","title":"Types","description":"Shared JSON Schema building blocks referenced by templates (for example `message`, `prompt-template`)."}},"type":"object","title":"ApplicationCatalogTypesResponse","description":"List of catalog types."},"ApplicationCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationCreate"},"ApplicationCreateRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationCreate","description":"Artifact-level fields for the new application: `slug`, `name`, `description`, `flags`, `tags`, `meta`. The `slug` must be unique within the project."}},"type":"object","required":["application"],"title":"ApplicationCreateRequest","description":"Request body for creating an application artifact.\n\nApplications are versioned resources; creating one produces an empty artifact.\nUse `POST /simple/applications/` if you want to create the artifact, a default\nvariant, and a first committed revision in a single call.\nSee the [Applications guide](/reference/api-guide/applications)."},"ApplicationEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationEdit"},"ApplicationEditRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationEdit","description":"Artifact fields to update. The `id` must match the `application_id` in the URL path."}},"type":"object","required":["application"],"title":"ApplicationEditRequest","description":"Request body for editing an application artifact.\n\nOnly artifact-level fields (flags, tags, meta) can be edited here. Editing\nthe `name` is currently disabled. To change the prompt or model parameters,\ncommit a new revision on a variant with `/applications/revisions/commit`."},"ApplicationFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},"ApplicationFork":{"properties":{"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"$ref":"#/components/schemas/RevisionFork"},{"type":"null"}]},"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant":{"anyOf":[{"$ref":"#/components/schemas/ApplicationVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"$ref":"#/components/schemas/VariantFork"},{"type":"null"}]},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFork"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFork"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationFork"},"ApplicationForkRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationFork","description":"Fork payload. Must include the source `application_variant_id` (or `application_revision_id`) plus a `variant` object describing the new branch and a `revision` object for the new tip commit."}},"type":"object","required":["application"],"title":"ApplicationForkRequest","description":"Request body for forking a variant into a new variant on the same application.\n\nThe fork copies the revision history up to `application_variant_id` /\n`application_revision_id`, then commits the `revision` payload on top.\nBoth `variant` and `revision` objects must be provided."},"ApplicationQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationArtifactQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"ApplicationQuery"},"ApplicationQueryRequest":{"properties":{"application":{"anyOf":[{"$ref":"#/components/schemas/ApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Accepts `slug`, `slugs`, `flags`, `tags`, `meta`. All fields are AND-ed."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict the query to specific applications by `id` or `slug`. Combined with the `application` filter with AND semantics."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include soft-deleted applications. Defaults to `false`."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"ApplicationQueryRequest","description":"Request body for `POST /applications/query`.\n\nReturns artifact rows only. For rows that include the currently resolved\nvariant, revision, and `data` payload merged in, use\n`POST /simple/applications/query`.\nSee [Query Pattern](/reference/api-guide/query-pattern)."},"ApplicationResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"$ref":"#/components/schemas/Application"},{"type":"null"}],"description":"The application artifact, or `null` if not found."}},"type":"object","title":"ApplicationResponse","description":"Single-application response envelope."},"ApplicationRevision":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"ApplicationRevisionCommit":{"properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"ApplicationRevisionCommit"},"ApplicationRevisionCommitRequest":{"properties":{"application_revision_commit":{"$ref":"#/components/schemas/ApplicationRevisionCommit","description":"Commit payload. Must include `application_variant_id` and `data`. `message` is a human-readable commit message. `slug` is optional; if omitted, the server generates one."}},"type":"object","required":["application_revision_commit"],"title":"ApplicationRevisionCommitRequest","description":"Request body for committing a new revision on a variant.\n\nThe commit becomes the variant's new tip. Revisions are immutable once\ncommitted; to change behavior, commit another revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision)."},"ApplicationRevisionCreate":{"properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationRevisionCreate"},"ApplicationRevisionCreateRequest":{"properties":{"application_revision":{"$ref":"#/components/schemas/ApplicationRevisionCreate","description":"Revision fields. Must reference the parent variant."}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCreateRequest","description":"Request body for creating a revision row without committing it.\n\nPrefer `POST /applications/revisions/commit` for normal use — commit creates\na revision and advances the variant's tip. The plain create endpoint exists\nfor advanced workflows that populate revision rows out of band."},"ApplicationRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},"ApplicationRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},"ApplicationRevisionDeployRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application reference. If provided, the latest revision of the default variant is deployed."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant reference. Its latest revision is deployed."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Revision reference. The exact revision is deployed."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment (for example `{\"slug\": \"production\"}`)."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision; advanced use only."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Deployment key inside the environment revision. Defaults to `{application_slug}.revision`."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Optional commit message attached to the environment revision."}},"type":"object","title":"ApplicationRevisionDeployRequest","description":"Request body for `POST /applications/revisions/deploy`.\n\nAttaches an application revision to an environment under a key. Subsequent\ncalls to `/applications/revisions/retrieve` with the matching\n`environment_ref` resolve to this revision.\nSee the [Applications guide](/reference/api-guide/applications#deployment)."},"ApplicationRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationRevisionEdit"},"ApplicationRevisionEditRequest":{"properties":{"application_revision":{"$ref":"#/components/schemas/ApplicationRevisionEdit","description":"Full revision body. Edit replaces the editable fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_revision_id` in the URL path. `data`, `author`, `date`, and `message` are immutable."}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionEditRequest","description":"Request body for editing a revision's header fields.\n\nRevisions are immutable snapshots of the application's configuration;\n`data`, `author`, `date`, and `message` cannot be edited. Use this only to\ncorrect metadata such as `description` or `tags`."},"ApplicationRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"ApplicationRevisionFlags"},"ApplicationRevisionFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionFork"},"ApplicationRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionQuery"},"ApplicationRevisionQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"ApplicationRevisionQueryFlags"},"ApplicationRevisionQueryRequest":{"properties":{"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionQuery"},{"type":"null"}],"description":"Attribute filter. Includes standard fields (`slug`, `slugs`, `flags`) plus revision-specific ones (`author`, `authors`, `date`, `dates`, `message`)."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Scope to revisions belonging to these applications."},"application_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Variant Refs","description":"Scope to revisions belonging to these variants."},"application_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Revision Refs","description":"Restrict to specific revisions by `id` or by `slug` + `version`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived revisions. Defaults to `false`."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When `true`, resolve embedded references in each returned revision's `data` (for example, snippet references). Defaults to `false`."}},"type":"object","title":"ApplicationRevisionQueryRequest","description":"Request body for `POST /applications/revisions/query`.\n\nReturns committed revisions across one or more variants. For the ordered\nlog of a single variant, use `POST /applications/revisions/log`."},"ApplicationRevisionResolveRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application reference."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant reference; resolves the latest revision on it."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Revision reference; resolves that exact revision."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum nesting depth for embedded references. Protects against runaway recursion. Defaults to `10`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum total number of embedded references to follow. Defaults to `100`.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle resolution errors. `exception` (default) aborts; `placeholder` substitutes a marker; `keep` leaves the original reference untouched.","default":"exception"}},"type":"object","title":"ApplicationRevisionResolveRequest","description":"Request body for `POST /applications/revisions/resolve`.\n\nFetches a revision and resolves any embedded references (snippets, linked\nrevisions) inside its `data`. Use when clients need the fully-inlined\nconfiguration instead of the raw stored form."},"ApplicationRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was resolved, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevision"},{"type":"null"}],"description":"The revision with embedded references inlined into `data`."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Diagnostic info about which references were resolved."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"ApplicationRevisionResolveResponse","description":"Response for `POST /applications/revisions/resolve`."},"ApplicationRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevision"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."},"ApplicationRevisionRetrieveRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the application's default variant."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `application_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment reference. Returns the revision currently deployed to that environment under the given `key`."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant reference; used together with `environment_ref`."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment revision reference; used to pin to a specific environment commit instead of the current tip."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Deployment key inside the environment revision. When omitted and `application_ref` is supplied, the server derives it as `{application_slug}.revision`."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When `true`, resolve embedded references in the returned revision's `data` (for example, snippet references)."}},"type":"object","title":"ApplicationRevisionRetrieveRequest","description":"Request body for `POST /applications/revisions/retrieve`.\n\nResolves to a single revision by one or more reference types. Every\nreference supplied must agree with the resolved revision; contradictions\nreturn HTTP 400. See the [Applications guide](/reference/api-guide/applications#invocation)."},"ApplicationRevisionsLog":{"properties":{"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationRevisionsLog"},"ApplicationRevisionsLogRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationRevisionsLog","description":"Filter for the log. Typically set `application_variant_id` to list the revision history of a single variant; optionally set `application_revision_id` + `depth` to walk back a bounded number of commits from a specific revision."}},"type":"object","required":["application"],"title":"ApplicationRevisionsLogRequest","description":"Request body for `POST /applications/revisions/log`.\n\nReturns the ordered list of revisions committed to a variant, newest first.\nEach entry carries commit metadata and the full revision record."},"ApplicationRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"$ref":"#/components/schemas/ApplicationRevision"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."},"ApplicationVariant":{"properties":{"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariant"},"ApplicationVariantCreate":{"properties":{"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantCreate"},"ApplicationVariantCreateRequest":{"properties":{"application_variant":{"$ref":"#/components/schemas/ApplicationVariantCreate","description":"Variant fields. Must include `application_id` (the artifact the variant belongs to) and a `slug` unique within the project."}},"type":"object","required":["application_variant"],"title":"ApplicationVariantCreateRequest","description":"Request body for creating a variant on an existing application."},"ApplicationVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariantEdit"},"ApplicationVariantEditRequest":{"properties":{"application_variant":{"$ref":"#/components/schemas/ApplicationVariantEdit","description":"Full variant body. Edit replaces the artifact-level fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_variant_id` in the URL path; `slug` is immutable. Configuration changes (prompt, model parameters) go through `/applications/revisions/commit`, not this endpoint."}},"type":"object","required":["application_variant"],"title":"ApplicationVariantEditRequest","description":"Request body for editing a variant's artifact-level fields."},"ApplicationVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"ApplicationVariantFlags"},"ApplicationVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantFork"},"ApplicationVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a variant was found, `0` otherwise.","default":0},"application_variant":{"anyOf":[{"$ref":"#/components/schemas/ApplicationVariant"},{"type":"null"}],"description":"The application variant, or `null`."}},"type":"object","title":"ApplicationVariantResponse","description":"Single-variant response envelope."},"ApplicationVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in this page.","default":0},"application_variants":{"items":{"$ref":"#/components/schemas/ApplicationVariant"},"type":"array","title":"Application Variants","description":"Application variants matching the query."}},"type":"object","title":"ApplicationVariantsResponse","description":"Paginated list of application variants."},"ApplicationsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"$ref":"#/components/schemas/Application"},"type":"array","title":"Applications","description":"Application artifacts matching the query."}},"type":"object","title":"ApplicationsResponse","description":"Paginated list of application artifacts."},"Body_configs_fetch_variants_configs_fetch_post":{"properties":{"variant_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]},"application_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]}},"type":"object","title":"Body_configs_fetch_variants_configs_fetch_post"},"Body_create_simple_testset_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"testset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Name"},"testset_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Description"},"testset_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Tags"},"testset_meta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Meta"}},"type":"object","required":["file"],"title":"Body_create_simple_testset_from_file"},"Body_create_testset_revision_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases"}},"type":"object","required":["file"],"title":"Body_create_testset_revision_from_file"},"Body_edit_simple_testset_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"testset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Name"},"testset_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Description"},"testset_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Tags"},"testset_meta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Meta"}},"type":"object","required":["file"],"title":"Body_edit_simple_testset_from_file"},"Bucket":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"total":{"$ref":"#/components/schemas/Analytics"},"errors":{"$ref":"#/components/schemas/Analytics"}},"type":"object","required":["timestamp","interval","total","errors"],"title":"Bucket"},"CollectStatusResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Readiness string. `ready` means the router is mounted and accepts OTLP ingest."}},"type":"object","required":["status"],"title":"CollectStatusResponse","description":"OTLP endpoint readiness response."},"ComparisonOperator":{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},"Condition":{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/NumericOperator"},{"$ref":"#/components/schemas/StringOperator"},{"$ref":"#/components/schemas/ListOperator"},{"$ref":"#/components/schemas/DictOperator"},{"$ref":"#/components/schemas/ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"$ref":"#/components/schemas/TextOptions"},{"$ref":"#/components/schemas/ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"ConfigResponseModel":{"properties":{"params":{"additionalProperties":true,"type":"object","title":"Params"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"application_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"service_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"variant_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"application_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"service_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"variant_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"environment_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","title":"ConfigResponseModel"},"CreateOrganizationPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"CreateOrganizationPayload"},"CreateProjectRequest":{"properties":{"name":{"type":"string","title":"Name"},"make_default":{"type":"boolean","title":"Make Default","default":false}},"type":"object","required":["name"],"title":"CreateProjectRequest"},"CreateSecretDTO":{"properties":{"header":{"$ref":"#/components/schemas/Header"},"secret":{"$ref":"#/components/schemas/SecretDTO"}},"type":"object","required":["header","secret"],"title":"CreateSecretDTO"},"CreateWorkspace":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","title":"CreateWorkspace"},"CustomModelSettingsDTO":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"CustomProviderDTO":{"properties":{"kind":{"$ref":"#/components/schemas/CustomProviderKind"},"provider":{"$ref":"#/components/schemas/CustomProviderSettingsDTO"},"models":{"items":{"$ref":"#/components/schemas/CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},"CustomProviderKind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"CustomProviderSettingsDTO":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"DictOperator":{"type":"string","enum":["has","has_not"],"title":"DictOperator"},"DiscoverRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"DiscoverRequest"},"DiscoverResponse":{"properties":{"exists":{"type":"boolean","title":"Exists"},"methods":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/SSOProviders"}]},"type":"object","title":"Methods"}},"type":"object","required":["exists","methods"],"title":"DiscoverResponse"},"EntityRef":{"properties":{"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"EntityRef","description":"Polymorphic reference that can point to a request-local key, an\nexisting persisted ID, a stable slug, or an email address.\nExactly one field must be set."},"Environment":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Environment"},"EnvironmentCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentCreate"},"EnvironmentCreateRequest":{"properties":{"environment":{"$ref":"#/components/schemas/EnvironmentCreate"}},"type":"object","required":["environment"],"title":"EnvironmentCreateRequest"},"EnvironmentEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentEdit"},"EnvironmentEditRequest":{"properties":{"environment":{"$ref":"#/components/schemas/EnvironmentEdit"}},"type":"object","required":["environment"],"title":"EnvironmentEditRequest"},"EnvironmentFlags":{"properties":{"is_guarded":{"type":"boolean","title":"Is Guarded","default":false}},"type":"object","title":"EnvironmentFlags"},"EnvironmentQueryFlags":{"properties":{"is_guarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Guarded"}},"type":"object","title":"EnvironmentQueryFlags"},"EnvironmentResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment":{"anyOf":[{"$ref":"#/components/schemas/Environment"},{"type":"null"}]}},"type":"object","title":"EnvironmentResponse"},"EnvironmentRevision":{"properties":{"environment_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevision"},"EnvironmentRevisionCommit":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionDelta"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionCommit"},"EnvironmentRevisionCommitRequest":{"properties":{"environment_revision_commit":{"$ref":"#/components/schemas/EnvironmentRevisionCommit"}},"type":"object","required":["environment_revision_commit"],"title":"EnvironmentRevisionCommitRequest"},"EnvironmentRevisionCreate":{"properties":{"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentRevisionCreate"},"EnvironmentRevisionCreateRequest":{"properties":{"environment_revision":{"$ref":"#/components/schemas/EnvironmentRevisionCreate"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionCreateRequest"},"EnvironmentRevisionData":{"properties":{"references":{"anyOf":[{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"References"}},"additionalProperties":false,"type":"object","title":"EnvironmentRevisionData","description":"Per-app references for environment revision data.\n\nKeys are app-scoped identifiers (e.g., ``\"pre.revision\"``).\nValues are dicts of entity-type → Reference, providing full traceability::\n\n {\n \"pre.revision\": {\n \"application\": Reference(id=..., slug=..., version=...),\n \"application_variant\": Reference(id=..., slug=..., version=...),\n \"application_revision\": Reference(id=..., slug=..., version=...),\n },\n ...\n }"},"EnvironmentRevisionDelta":{"properties":{"set":{"anyOf":[{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"EnvironmentRevisionDelta","description":"Delta operations on environment revision references.\n\n- ``set``: references to add or update (key → dict of entity → Reference).\n- ``remove``: reference keys to remove."},"EnvironmentRevisionEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentRevisionEdit"},"EnvironmentRevisionEditRequest":{"properties":{"environment_revision":{"$ref":"#/components/schemas/EnvironmentRevisionEdit"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionEditRequest"},"EnvironmentRevisionResolveRequest":{"properties":{"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"default":"exception"}},"type":"object","title":"EnvironmentRevisionResolveRequest"},"EnvironmentRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevision"},{"type":"null"}]},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionResolveResponse"},"EnvironmentRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevision"},{"type":"null"}]},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionResponse"},"EnvironmentRevisionRetrieveRequest":{"properties":{"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this environment."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `environment_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve"}},"type":"object","title":"EnvironmentRevisionRetrieveRequest"},"EnvironmentRevisionsLog":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EnvironmentRevisionsLog"},"EnvironmentRevisionsLogRequest":{"properties":{"environment":{"$ref":"#/components/schemas/EnvironmentRevisionsLog"}},"type":"object","required":["environment"],"title":"EnvironmentRevisionsLogRequest"},"EnvironmentRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revisions":{"items":{"$ref":"#/components/schemas/EnvironmentRevision"},"type":"array","title":"Environment Revisions","default":[]}},"type":"object","title":"EnvironmentRevisionsResponse"},"EnvironmentVariant":{"properties":{"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentVariant"},"EnvironmentVariantCreate":{"properties":{"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentVariantCreate"},"EnvironmentVariantCreateRequest":{"properties":{"environment_variant":{"$ref":"#/components/schemas/EnvironmentVariantCreate"}},"type":"object","required":["environment_variant"],"title":"EnvironmentVariantCreateRequest"},"EnvironmentVariantEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentVariantEdit"},"EnvironmentVariantEditRequest":{"properties":{"environment_variant":{"$ref":"#/components/schemas/EnvironmentVariantEdit"}},"type":"object","required":["environment_variant"],"title":"EnvironmentVariantEditRequest"},"EnvironmentVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_variant":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentVariant"},{"type":"null"}]}},"type":"object","title":"EnvironmentVariantResponse"},"EnvironmentVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_variants":{"items":{"$ref":"#/components/schemas/EnvironmentVariant"},"type":"array","title":"Environment Variants","default":[]}},"type":"object","title":"EnvironmentVariantsResponse"},"EnvironmentsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environments":{"items":{"$ref":"#/components/schemas/Environment"},"type":"array","title":"Environments","default":[]}},"type":"object","title":"EnvironmentsResponse"},"ErrorPolicy":{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},"EvaluationMetrics":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetrics"},"EvaluationMetricsCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetricsCreate"},"EvaluationMetricsCreateRequest":{"properties":{"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetricsCreate"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsCreateRequest"},"EvaluationMetricsEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"EvaluationMetricsEdit"},"EvaluationMetricsEditRequest":{"properties":{"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetricsEdit"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsEditRequest"},"EvaluationMetricsIdsRequest":{"properties":{"metrics_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Metrics Ids"}},"type":"object","required":["metrics_ids"],"title":"EvaluationMetricsIdsRequest"},"EvaluationMetricsIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"metrics_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Metrics Ids","default":[]}},"type":"object","title":"EvaluationMetricsIdsResponse"},"EvaluationMetricsQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"boolean"},{"type":"null"}],"title":"Timestamps"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"boolean"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationMetricsQuery"},"EvaluationMetricsQueryRequest":{"properties":{"metrics":{"anyOf":[{"$ref":"#/components/schemas/EvaluationMetricsQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationMetricsQueryRequest"},"EvaluationMetricsRefresh":{"properties":{"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"}},"type":"object","title":"EvaluationMetricsRefresh"},"EvaluationMetricsRefreshRequest":{"properties":{"metrics":{"$ref":"#/components/schemas/EvaluationMetricsRefresh"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsRefreshRequest"},"EvaluationMetricsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetrics"},"type":"array","title":"Metrics","default":[]}},"type":"object","title":"EvaluationMetricsResponse"},"EvaluationQueue":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"EvaluationQueueCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueueCreate"},"EvaluationQueueData":{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},"EvaluationQueueEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"},"EvaluationQueueEditRequest":{"properties":{"queue":{"$ref":"#/components/schemas/EvaluationQueueEdit"}},"type":"object","required":["queue"],"title":"EvaluationQueueEditRequest"},"EvaluationQueueFlags":{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false}},"type":"object","title":"EvaluationQueueFlags"},"EvaluationQueueIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"type":"object","title":"EvaluationQueueIdResponse"},"EvaluationQueueIdsRequest":{"properties":{"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids"}},"type":"object","required":["queue_ids"],"title":"EvaluationQueueIdsRequest"},"EvaluationQueueIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids","default":[]}},"type":"object","title":"EvaluationQueueIdsResponse"},"EvaluationQueueQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationQueueQuery"},"EvaluationQueueQueryFlags":{"properties":{"is_sequential":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sequential"}},"type":"object","title":"EvaluationQueueQueryFlags"},"EvaluationQueueQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueQueryRequest"},"EvaluationQueueResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"},"EvaluationQueueScenariosQuery":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"}},"type":"object","title":"EvaluationQueueScenariosQuery"},"EvaluationQueueScenariosQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueScenariosQuery"},{"type":"null"}]},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueScenariosQueryRequest"},"EvaluationQueuesCreateRequest":{"properties":{"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueueCreate"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesCreateRequest"},"EvaluationQueuesEditRequest":{"properties":{"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueueEdit"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesEditRequest"},"EvaluationQueuesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"},"EvaluationResult":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResult"},"EvaluationResultCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResultCreate"},"EvaluationResultEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationResultEdit"},"EvaluationResultEditRequest":{"properties":{"result":{"$ref":"#/components/schemas/EvaluationResultEdit"}},"type":"object","required":["result"],"title":"EvaluationResultEditRequest"},"EvaluationResultIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Result Id"}},"type":"object","title":"EvaluationResultIdResponse"},"EvaluationResultIdsRequest":{"properties":{"result_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Result Ids"}},"type":"object","required":["result_ids"],"title":"EvaluationResultIdsRequest"},"EvaluationResultIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Result Ids","default":[]}},"type":"object","title":"EvaluationResultIdsResponse"},"EvaluationResultQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"},"step_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Key"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationResultQuery"},"EvaluationResultQueryRequest":{"properties":{"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResultQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationResultQueryRequest"},"EvaluationResultResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResult"},{"type":"null"}]}},"type":"object","title":"EvaluationResultResponse"},"EvaluationResultsCreateRequest":{"properties":{"results":{"items":{"$ref":"#/components/schemas/EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsCreateRequest"},"EvaluationResultsEditRequest":{"properties":{"results":{"items":{"$ref":"#/components/schemas/EvaluationResultEdit"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsEditRequest"},"EvaluationResultsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"results":{"items":{"$ref":"#/components/schemas/EvaluationResult"},"type":"array","title":"Results","default":[]}},"type":"object","title":"EvaluationResultsResponse"},"EvaluationRun":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"EvaluationRunCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunCreate"},"EvaluationRunData":{"properties":{"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStep"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"mappings":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},"EvaluationRunDataMapping":{"properties":{"column":{"$ref":"#/components/schemas/EvaluationRunDataMappingColumn"},"step":{"$ref":"#/components/schemas/EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"EvaluationRunDataMappingColumn":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"EvaluationRunDataMappingStep":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"},"EvaluationRunDataStep":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStepInput"},"type":"array"},{"type":"null"}],"title":"Inputs"}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"EvaluationRunDataStepInput":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInput"},"EvaluationRunEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"},"EvaluationRunEditRequest":{"properties":{"run":{"$ref":"#/components/schemas/EvaluationRunEdit"}},"type":"object","required":["run"],"title":"EvaluationRunEditRequest"},"EvaluationRunFlags":{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},"EvaluationRunIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"}},"type":"object","title":"EvaluationRunIdResponse"},"EvaluationRunIdsRequest":{"properties":{"run_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Run Ids"}},"type":"object","required":["run_ids"],"title":"EvaluationRunIdsRequest"},"EvaluationRunIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Run Ids","default":[]}},"type":"object","title":"EvaluationRunIdsResponse"},"EvaluationRunQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"references":{"anyOf":[{"items":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"array"},{"type":"null"}],"title":"References"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationRunQuery"},"EvaluationRunQueryFlags":{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},"EvaluationRunQueryRequest":{"properties":{"run":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunQueryRequest"},"EvaluationRunResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"},"EvaluationRunsCreateRequest":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/EvaluationRunCreate"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsCreateRequest"},"EvaluationRunsEditRequest":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/EvaluationRunEdit"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsEditRequest"},"EvaluationRunsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"$ref":"#/components/schemas/EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"},"EvaluationScenario":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"EvaluationScenarioCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenarioCreate"},"EvaluationScenarioEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioEdit"},"EvaluationScenarioEditRequest":{"properties":{"scenario":{"$ref":"#/components/schemas/EvaluationScenarioEdit"}},"type":"object","required":["scenario"],"title":"EvaluationScenarioEditRequest"},"EvaluationScenarioIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"}},"type":"object","title":"EvaluationScenarioIdResponse"},"EvaluationScenarioIdsRequest":{"properties":{"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids"}},"type":"object","required":["scenario_ids"],"title":"EvaluationScenarioIdsRequest"},"EvaluationScenarioIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids","default":[]}},"type":"object","title":"EvaluationScenarioIdsResponse"},"EvaluationScenarioQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationScenarioQuery"},"EvaluationScenarioQueryRequest":{"properties":{"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioQueryRequest"},"EvaluationScenarioResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"},"EvaluationScenariosCreateRequest":{"properties":{"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenarioCreate"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosCreateRequest"},"EvaluationScenariosEditRequest":{"properties":{"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenarioEdit"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosEditRequest"},"EvaluationScenariosResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"},"EvaluationStatus":{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},"Evaluator":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Evaluator"},"EvaluatorArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorArtifactFlags"},"EvaluatorArtifactQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}},"type":"object","title":"EvaluatorArtifactQueryFlags"},"EvaluatorCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},"EvaluatorCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a preset is returned, 0 otherwise.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorCatalogPreset"},{"type":"null"}],"description":"The catalog preset, or null when none matched."}},"type":"object","title":"EvaluatorCatalogPresetResponse","description":"Envelope for a single catalog preset."},"EvaluatorCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets in `presets`.","default":0},"presets":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter presets defined against a template."}},"type":"object","title":"EvaluatorCatalogPresetsResponse","description":"Envelope for a list of catalog presets."},"EvaluatorCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},"EvaluatorCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a template is returned, 0 otherwise.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorCatalogTemplate"},{"type":"null"}],"description":"The catalog template, or null when none matched."}},"type":"object","title":"EvaluatorCatalogTemplateResponse","description":"Envelope for a single catalog template."},"EvaluatorCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogTemplate"},"type":"array","title":"Templates","description":"Evaluator catalog templates (blueprints for creating evaluators)."}},"type":"object","title":"EvaluatorCatalogTemplatesResponse","description":"Envelope for a list of catalog templates."},"EvaluatorCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"EvaluatorCatalogType"},"EvaluatorCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of types in `types`.","default":0},"types":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogType"},"type":"array","title":"Types","description":"JSON schema types the evaluator catalog understands."}},"type":"object","title":"EvaluatorCatalogTypesResponse","description":"Envelope for a list of catalog types."},"EvaluatorCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorCreate"},"EvaluatorCreateRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorCreate","description":"Evaluator payload (slug, name, flags, data). Slug is required and scoped to the project."}},"type":"object","required":["evaluator"],"title":"EvaluatorCreateRequest","description":"Body for creating an evaluator artifact.\n\nCreating an evaluator also provisions its first variant and its initial\nrevision. The evaluator shares the artifact / variant / revision model\nused across versioned resources — see the Versioning guide."},"EvaluatorEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorEdit"},"EvaluatorEditRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorEdit","description":"Evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled."}},"type":"object","required":["evaluator"],"title":"EvaluatorEditRequest","description":"Body for editing the metadata of an existing evaluator artifact."},"EvaluatorFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},"EvaluatorFork":{"properties":{"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"$ref":"#/components/schemas/RevisionFork"},{"type":"null"}]},"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"$ref":"#/components/schemas/VariantFork"},{"type":"null"}]},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFork"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFork"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorFork"},"EvaluatorForkRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorFork","description":"Fork payload. References the source variant or revision and the target evaluator."}},"type":"object","required":["evaluator"],"title":"EvaluatorForkRequest","description":"Body for forking an evaluator variant into a new variant.\n\nForking copies the variant's history into a new branch so experiments\ncan proceed without touching the original."},"EvaluatorQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorArtifactQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"EvaluatorQuery"},"EvaluatorQueryRequest":{"properties":{"evaluator":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (flags, tags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict the query to these evaluators. Accepts `id` or `slug` per reference."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators in the response."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls (limit, order, next, newest, oldest)."}},"type":"object","title":"EvaluatorQueryRequest","description":"Body for filtering evaluators. See the Query Pattern guide for field semantics."},"EvaluatorResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/Evaluator"},{"type":"null"}],"description":"The evaluator artifact, or null when none matched."}},"type":"object","title":"EvaluatorResponse","description":"Envelope for a single evaluator response."},"EvaluatorRevision":{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},"EvaluatorRevisionCommit":{"properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"EvaluatorRevisionCommit"},"EvaluatorRevisionCommitRequest":{"properties":{"evaluator_revision_commit":{"$ref":"#/components/schemas/EvaluatorRevisionCommit","description":"Commit payload carrying the `evaluator_variant_id`, optional commit `message`, and the revision `data`."}},"type":"object","required":["evaluator_revision_commit"],"title":"EvaluatorRevisionCommitRequest","description":"Body for committing a new revision on a variant."},"EvaluatorRevisionCreate":{"properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorRevisionCreate"},"EvaluatorRevisionCreateRequest":{"properties":{"evaluator_revision":{"$ref":"#/components/schemas/EvaluatorRevisionCreate","description":"Revision payload. Requires the parent `evaluator_variant_id` and a `data` object."}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCreateRequest","description":"Body for creating a new revision (commit) on an evaluator variant."},"EvaluatorRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},"EvaluatorRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},"EvaluatorRevisionDeployRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator to deploy (latest revision)."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant to deploy (latest revision on this variant)."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific revision to deploy."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Named key under which the revision is pinned. Defaults to `.revision`."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Commit message stored on the environment revision that records the deployment."}},"type":"object","title":"EvaluatorRevisionDeployRequest","description":"Body for pinning an evaluator revision into an environment revision under a key."},"EvaluatorRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorRevisionEdit"},"EvaluatorRevisionEditRequest":{"properties":{"evaluator_revision":{"$ref":"#/components/schemas/EvaluatorRevisionEdit","description":"Revision edit payload. Requires the revision `id`."}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionEditRequest","description":"Body for editing a revision's mutable fields (currently limited; payload data is immutable)."},"EvaluatorRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},"EvaluatorRevisionFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"EvaluatorRevisionFork"},"EvaluatorRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"EvaluatorRevisionQuery"},"EvaluatorRevisionQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"EvaluatorRevisionQueryFlags"},"EvaluatorRevisionQueryRequest":{"properties":{"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionQuery"},{"type":"null"}],"description":"Filter on revision attributes."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to revisions under these evaluators."},"evaluator_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Variant Refs","description":"Restrict to revisions under these variants."},"evaluator_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Revision Refs","description":"Restrict to these specific revisions."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted revisions."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When true, resolve embedded references on each returned revision's `data`."}},"type":"object","title":"EvaluatorRevisionQueryRequest","description":"Body for filtering evaluator revisions. Supports scoping to evaluators, variants, or specific revisions."},"EvaluatorRevisionResolveRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve the latest revision of this evaluator."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve the latest revision on this variant."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve this specific revision."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursion depth when following embedded references. Defaults to 10.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve. Defaults to 100.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle embed-resolution errors (`exception` or `fallback`).","default":"exception"}},"type":"object","title":"EvaluatorRevisionResolveRequest","description":"Body for resolving embedded references on an evaluator revision's `data`."},"EvaluatorRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision was resolved, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevision"},{"type":"null"}],"description":"The resolved revision."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Diagnostic information about the resolution pass (depth, embed count, errors)."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"EvaluatorRevisionResolveResponse","description":"Envelope for a resolved evaluator revision."},"EvaluatorRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevision"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."},"EvaluatorRevisionRetrieveRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the evaluator's default variant."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `evaluator_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment to resolve through. Requires `key`."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant to resolve through. Requires `key`."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific environment revision to resolve through. Requires `key`."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Named deployment key inside the environment revision. Required with environment refs."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When true, resolve embedded references on the returned revision's `data`."}},"type":"object","title":"EvaluatorRevisionRetrieveRequest","description":"Body for retrieving one revision, either by direct reference or through an environment key.\n\nProvide an evaluator / variant / revision reference, an environment\nreference (with `key` derived from the evaluator slug by default), or a\ncombination of both. Every reference supplied must agree with the\nresolved revision; contradictions return HTTP 400."},"EvaluatorRevisionsLog":{"properties":{"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorRevisionsLog"},"EvaluatorRevisionsLogRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorRevisionsLog","description":"Log request scoped to an evaluator / variant / revision by id, slug, or version."}},"type":"object","required":["evaluator"],"title":"EvaluatorRevisionsLogRequest","description":"Body for listing the revision log of an evaluator variant."},"EvaluatorRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in `evaluator_revisions`.","default":0},"evaluator_revisions":{"items":{"$ref":"#/components/schemas/EvaluatorRevision"},"type":"array","title":"Evaluator Revisions","description":"Matching evaluator revisions."}},"type":"object","title":"EvaluatorRevisionsResponse","description":"Envelope for a list of evaluator revisions."},"EvaluatorTemplate":{"properties":{"name":{"type":"string","title":"Name","description":"Human-readable template name."},"key":{"type":"string","title":"Key","description":"Stable template identifier, used to create evaluators from the template."},"direct_use":{"type":"boolean","title":"Direct Use","description":"Whether the template can be used without further configuration."},"settings_presets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Settings Presets","description":"Preset parameter configurations shipped with the template."},"settings_template":{"additionalProperties":true,"type":"object","title":"Settings Template","description":"JSON Schema describing the template's configurable parameters."},"outputs_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Outputs Schema","description":"JSON Schema describing the template's evaluator output shape."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Template description."},"oss":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oss","description":"True when the template is available in OSS builds.","default":false},"requires_llm_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Llm Api Keys","description":"True when the template calls an LLM provider and requires an API key.","default":false},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags for grouping templates."},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived","description":"True when the template is deprecated. Hidden unless `include_archived=true`.","default":false}},"type":"object","required":["name","key","direct_use","settings_template"],"title":"EvaluatorTemplate","description":"Static evaluator template definition (built-in evaluator types).\n\nTemplates are shipped with the product and describe the available\nevaluator types. They are read-only and separate from user-owned\nevaluator artifacts."},"EvaluatorTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"$ref":"#/components/schemas/EvaluatorTemplate"},"type":"array","title":"Templates","description":"Built-in evaluator templates."}},"type":"object","title":"EvaluatorTemplatesResponse","description":"Envelope for a list of evaluator templates."},"EvaluatorVariant":{"properties":{"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariant"},"EvaluatorVariantCreate":{"properties":{"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantCreate"},"EvaluatorVariantCreateRequest":{"properties":{"evaluator_variant":{"$ref":"#/components/schemas/EvaluatorVariantCreate","description":"Variant payload. Requires the parent `evaluator_id`."}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantCreateRequest","description":"Body for creating a new variant on an existing evaluator."},"EvaluatorVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariantEdit"},"EvaluatorVariantEditRequest":{"properties":{"evaluator_variant":{"$ref":"#/components/schemas/EvaluatorVariantEdit","description":"Variant edit payload. Requires the variant `id`."}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantEditRequest","description":"Body for editing a variant's metadata."},"EvaluatorVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorVariantFlags"},"EvaluatorVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantFork"},"EvaluatorVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a variant is returned, 0 otherwise.","default":0},"evaluator_variant":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariant"},{"type":"null"}],"description":"The evaluator variant, or null when none matched."}},"type":"object","title":"EvaluatorVariantResponse","description":"Envelope for a single evaluator variant."},"EvaluatorVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in `evaluator_variants`.","default":0},"evaluator_variants":{"items":{"$ref":"#/components/schemas/EvaluatorVariant"},"type":"array","title":"Evaluator Variants","description":"Matching evaluator variants."}},"type":"object","title":"EvaluatorVariantsResponse","description":"Envelope for a list of evaluator variants."},"EvaluatorsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"$ref":"#/components/schemas/Evaluator"},"type":"array","title":"Evaluators","description":"Matching evaluator artifacts."}},"type":"object","title":"EvaluatorsResponse","description":"Envelope for a list of evaluators."},"Event":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"request_type":{"$ref":"#/components/schemas/RequestType"},"event_type":{"$ref":"#/components/schemas/EventType"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Code"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["event_id","request_id","request_type","event_type","timestamp"],"title":"Event"},"EventQuery":{"properties":{"request_type":{"anyOf":[{"$ref":"#/components/schemas/RequestType"},{"type":"null"}]},"request_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id"},"event_type":{"anyOf":[{"$ref":"#/components/schemas/EventType"},{"type":"null"}]},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"EventQuery"},"EventQueryRequest":{"properties":{"event":{"anyOf":[{"$ref":"#/components/schemas/EventQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EventQueryRequest"},"EventType":{"type":"string","enum":["unknown","webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"EventType"},"EventsQueryResponse":{"properties":{"count":{"type":"integer","title":"Count"},"events":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Events"}},"type":"object","required":["count","events"],"title":"EventsQueryResponse"},"ExistenceOperator":{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},"Filtering-Input":{"properties":{"operator":{"$ref":"#/components/schemas/LogicalOperator","default":"and"},"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/Filtering-Input"}]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},"Filtering-Output":{"properties":{"operator":{"$ref":"#/components/schemas/LogicalOperator","default":"and"},"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/Filtering-Output"}]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},"Focus":{"type":"string","enum":["trace","span"],"title":"Focus"},"Folder":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family this folder organizes. Only `applications` is defined today, and it also covers workflows, evaluators, and testsets (they share the artifact table)."},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path","description":"Dot-separated materialized path built from the folder's slug and its ancestors' slugs. Read-only; derived by the server."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Id of the parent folder, or `null` for a root folder."}},"type":"object","title":"Folder"},"FolderCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family the folder organizes. Defaults to `applications` when omitted."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Id of the parent folder. Omit or set to `null` to create a root folder."}},"type":"object","title":"FolderCreate"},"FolderCreateRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderCreate","description":"Folder to create. `slug` is required; `parent_id` nests the new folder under an existing one."}},"type":"object","required":["folder"],"title":"FolderCreateRequest"},"FolderEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family. Must match the current folder's kind; defaults to `applications`."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"New parent folder id. Include the key with a `null` value to move the folder to the root; omit the key to keep the existing parent."}},"type":"object","title":"FolderEdit"},"FolderEditRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderEdit","description":"Folder edit payload. `id` must match the path parameter. Only fields present in the payload are changed."}},"type":"object","required":["folder"],"title":"FolderEditRequest"},"FolderIdResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a folder was deleted, `0` if no folder matched.","default":0},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Id of the deleted folder. Omitted when nothing was deleted."}},"type":"object","title":"FolderIdResponse"},"FolderKind":{"type":"string","enum":["applications"],"title":"FolderKind"},"FolderQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Match a single folder id."},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids","description":"Match any of the given folder ids."},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"Match a folder by slug, regardless of its position in the tree."},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs","description":"Match folders whose slug is in the given list."},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Match folders of a single resource family."},"kinds":{"anyOf":[{"type":"boolean"},{"items":{"$ref":"#/components/schemas/FolderKind"},"type":"array"},{"type":"null"}],"title":"Kinds","description":"Filter by presence of a kind. `false` returns folders with no kind, `true` returns folders where `kind` is set, and an array restricts to the given kinds."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Match folders whose parent is this id. Send `null` to return only root folders."},"parent_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Parent Ids","description":"Match folders whose parent is any of the given ids."},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path","description":"Exact match on the materialized `path` (e.g. `support.prod`)."},"paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Paths","description":"Exact match on any of the given paths."},"prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefix","description":"Subtree lookup: returns the folder at this path and every descendant."},"prefixes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Prefixes","description":"Subtree lookup across multiple prefixes, OR-ed together."}},"type":"object","title":"FolderQuery"},"FolderQueryRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderQuery","description":"Filter object. Any combination of `id`/`ids`, `slug`/`slugs`, `kind`/`kinds`, `parent_id`/`parent_ids`, `path`/`paths`, and `prefix`/`prefixes` narrows the result."}},"type":"object","required":["folder"],"title":"FolderQueryRequest"},"FolderResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of folders returned (`0` or `1`).","default":0},"folder":{"anyOf":[{"$ref":"#/components/schemas/Folder"},{"type":"null"}],"description":"The folder, when found. Omitted when `count` is `0`."}},"type":"object","title":"FolderResponse"},"FoldersResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of folders in `folders`.","default":0},"folders":{"items":{"$ref":"#/components/schemas/Folder"},"type":"array","title":"Folders","description":"Matching folders for the query. Ordering is not guaranteed."}},"type":"object","title":"FoldersResponse"},"Format":{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},"Formatting":{"properties":{"focus":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}]},"format":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},"FullJson-Input":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/FullJson-Input"},"type":"array"},{"type":"null"}]},"FullJson-Output":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/FullJson-Output"},"type":"array"},{"type":"null"}]},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"InviteRequest":{"properties":{"email":{"type":"string","title":"Email"},"roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Roles"}},"type":"object","required":["email"],"title":"InviteRequest"},"InviteToken":{"properties":{"token":{"type":"string","title":"Token"},"email":{"type":"string","title":"Email"}},"type":"object","required":["token","email"],"title":"InviteToken"},"Invocation":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"Invocation"},"InvocationCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"InvocationCreate"},"InvocationCreateRequest":{"properties":{"invocation":{"$ref":"#/components/schemas/InvocationCreate"}},"type":"object","required":["invocation"],"title":"InvocationCreateRequest"},"InvocationEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"InvocationEdit"},"InvocationEditRequest":{"properties":{"invocation":{"$ref":"#/components/schemas/InvocationEdit"}},"type":"object","required":["invocation"],"title":"InvocationEditRequest"},"InvocationLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocation_link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}]}},"type":"object","title":"InvocationLinkResponse"},"InvocationQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"InvocationQuery"},"InvocationQueryRequest":{"properties":{"invocation":{"anyOf":[{"$ref":"#/components/schemas/InvocationQuery"},{"type":"null"}]},"invocation_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Invocation Links"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"InvocationQueryRequest"},"InvocationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocation":{"anyOf":[{"$ref":"#/components/schemas/Invocation"},{"type":"null"}]}},"type":"object","title":"InvocationResponse"},"InvocationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocations":{"items":{"$ref":"#/components/schemas/Invocation"},"type":"array","title":"Invocations","default":[]}},"type":"object","title":"InvocationsResponse"},"JsonSchemas-Input":{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},"JsonSchemas-Output":{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},"LabelJson-Input":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"}]},"LabelJson-Output":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"}]},"LegacyLifecycleDTO":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},"ListAPIKeysResponse":{"properties":{"prefix":{"type":"string","title":"Prefix"},"created_at":{"type":"string","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiration Date"}},"type":"object","required":["prefix","created_at"],"title":"ListAPIKeysResponse"},"ListOperator":{"type":"string","enum":["in","not_in"],"title":"ListOperator"},"ListOptions":{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},"LogicalOperator":{"type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"MetricSpec":{"properties":{"type":{"$ref":"#/components/schemas/MetricType","default":"none"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"MetricType":{"type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"MetricsBucket":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"NumericOperator":{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},"OTelEvent-Input":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"OTelEvent-Output":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"OTelHash-Input":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"OTelHash-Output":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"OTelLink-Input":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"OTelLink-Output":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"OTelLinksResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of spans that were accepted and published to the ingest stream. Compare against the number of spans you sent to detect partial failures.","default":0},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links","description":"List of `(trace_id, span_id)` pairs for the accepted spans, in submission order."}},"type":"object","title":"OTelLinksResponse","description":"Response from span ingestion.\n\n`count` reflects how many spans were successfully parsed and published\nto the ingest stream. If you submitted N spans and see `count < N`,\nsome spans failed server-side validation and were not persisted (check\nserver logs for details). See [Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202) for\nthe full semantics of the `202 Accepted` response."},"OTelReference-Input":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"OTelReference-Output":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"OTelSpanKind":{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},"OTelStatusCode":{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},"OTelTracingRequest":{"properties":{"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Input"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of spans. Use this when you already have a flat list and parent/child relationships are expressed via each span's `parent_id`."},"traces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/SpansTree-Input"},"type":"object"},{"type":"null"}],"title":"Traces","description":"Nested tree of spans keyed by `trace_id` → span name, with children under each node's `spans` field. This matches the shape returned by `POST /tracing/spans/query` with `focus=\"trace\"`."}},"type":"object","title":"OTelTracingRequest","description":"Ingest or query payload for OpenTelemetry-style spans.\n\nExactly one of `spans` or `traces` should be provided. Use `spans`\nfor a flat list (parent/child linked via `parent_id`); use `traces`\nfor a nested tree (keyed by `trace_id` then by span name, children\nhanging off each node's `spans` field). The two shapes are\ninterchangeable and the query endpoint returns the `traces` shape by\ndefault.\n\nSee [Tracing](/reference/api-guide/tracing) for the full attribute\nnamespace and the async ingest contract."},"OTelTracingResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching traces or spans in the window.","default":0},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Output"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of spans, populated when the query was run with `focus=\"span\"`."},"traces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/SpansTree-Output"},"type":"object"},{"type":"null"}],"title":"Traces","description":"Nested tree of spans keyed by `trace_id` → span name, populated when the query was run with `focus=\"trace\"` (default)."}},"type":"object","title":"OTelTracingResponse","description":"Response from span/trace queries.\n\nExactly one of `spans` or `traces` is populated, controlled by the\n`focus` field in the request (`\"span\"` for flat lists, `\"trace\"` for\nnested trees). The shapes here match what the ingest endpoint accepts,\nso you can round-trip data between environments."},"OldAnalyticsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"$ref":"#/components/schemas/Bucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates with fixed fields (`total`, `errors`) holding `count`, `duration`, `costs`, and `tokens`.","default":[]}},"type":"object","title":"OldAnalyticsResponse","description":"Legacy analytics response with a fixed metric schema."},"OrganizationDetails":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"},"default_workspace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Default Workspace"}},"type":"object","required":["id","owner_id"],"title":"OrganizationDetails"},"OrganizationDomainCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"OrganizationDomainCreate","description":"Request model for creating a domain."},"OrganizationDomainResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"additionalProperties":true,"type":"object","title":"Flags"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"}},"type":"object","required":["id","slug","name","description","flags","token","created_at","updated_at","organization_id"],"title":"OrganizationDomainResponse","description":"Response model for a domain."},"OrganizationDomainVerify":{"properties":{"domain_id":{"type":"string","title":"Domain Id"}},"type":"object","required":["domain_id"],"title":"OrganizationDomainVerify","description":"Request model for verifying a domain."},"OrganizationProviderCreate":{"properties":{"slug":{"type":"string","pattern":"^[a-z-]+$","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"}},"type":"object","required":["slug","settings"],"title":"OrganizationProviderCreate","description":"Request model for creating an SSO provider."},"OrganizationProviderResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"additionalProperties":true,"type":"object","title":"Flags"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"}},"type":"object","required":["id","slug","name","description","flags","settings","created_at","updated_at","organization_id"],"title":"OrganizationProviderResponse","description":"Response model for an SSO provider."},"OrganizationProviderUpdate":{"properties":{"slug":{"anyOf":[{"type":"string","pattern":"^[a-z-]+$"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settings"}},"type":"object","title":"OrganizationProviderUpdate","description":"Request model for updating an SSO provider."},"OrganizationUpdate":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"OrganizationUpdate"},"Permission":{"type":"string","enum":["read_system","view_applications","edit_application","create_app_variant","delete_app_variant","modify_variant_configurations","delete_application_variant","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_app_environment_deployment","edit_app_environment_deployment","create_app_environment_deployment","view_testset","edit_testset","create_testset","delete_testset","view_evaluation","run_evaluations","edit_evaluation","create_evaluation","delete_evaluation","deploy_application","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools"],"title":"Permission"},"ProjectsResponse":{"properties":{"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"workspace_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Name"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"project_name":{"type":"string","title":"Project Name"},"is_default_project":{"type":"boolean","title":"Is Default Project","default":false},"user_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Role"},"is_demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Demo"}},"type":"object","required":["project_id","project_name"],"title":"ProjectsResponse"},"QueriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queries":{"items":{"$ref":"#/components/schemas/Query"},"type":"array","title":"Queries","default":[]}},"type":"object","title":"QueriesResponse"},"Query":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Query"},"QueryCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryCreate"},"QueryCreateRequest":{"properties":{"query":{"$ref":"#/components/schemas/QueryCreate"}},"type":"object","required":["query"],"title":"QueryCreateRequest"},"QueryEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryEdit"},"QueryEditRequest":{"properties":{"query":{"$ref":"#/components/schemas/QueryEdit"}},"type":"object","required":["query"],"title":"QueryEditRequest"},"QueryFlags":{"properties":{},"type":"object","title":"QueryFlags"},"QueryQueryFlags":{"properties":{},"type":"object","title":"QueryQueryFlags"},"QueryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query":{"anyOf":[{"$ref":"#/components/schemas/Query"},{"type":"null"}]}},"type":"object","title":"QueryResponse"},"QueryRevision":{"properties":{"query_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"query_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"QueryRevision"},"QueryRevisionCommit":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"QueryRevisionCommit"},"QueryRevisionCommitRequest":{"properties":{"query_revision_commit":{"$ref":"#/components/schemas/QueryRevisionCommit"}},"type":"object","required":["query_revision_commit"],"title":"QueryRevisionCommitRequest"},"QueryRevisionCreate":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryRevisionCreate"},"QueryRevisionCreateRequest":{"properties":{"query_revision":{"$ref":"#/components/schemas/QueryRevisionCreate"}},"type":"object","required":["query_revision"],"title":"QueryRevisionCreateRequest"},"QueryRevisionData-Input":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Input"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},"QueryRevisionData-Output":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Output"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Output"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},"QueryRevisionEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryRevisionEdit"},"QueryRevisionEditRequest":{"properties":{"query_revision":{"$ref":"#/components/schemas/QueryRevisionEdit"}},"type":"object","required":["query_revision"],"title":"QueryRevisionEditRequest"},"QueryRevisionQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"QueryRevisionQuery"},"QueryRevisionQueryRequest":{"properties":{"query_revision":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"query_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Variant Refs"},"query_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Revision Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryRevisionQueryRequest"},"QueryRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_revision":{"anyOf":[{"$ref":"#/components/schemas/QueryRevision"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"QueryRevisionResponse"},"QueryRevisionRetrieveRequest":{"properties":{"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this query."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `query_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"include_trace_ids":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Trace Ids"},"include_traces":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Traces"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryRevisionRetrieveRequest"},"QueryRevisionsLog":{"properties":{"query_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"QueryRevisionsLog"},"QueryRevisionsLogRequest":{"properties":{"query_revisions":{"$ref":"#/components/schemas/QueryRevisionsLog"}},"type":"object","required":["query_revisions"],"title":"QueryRevisionsLogRequest"},"QueryRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_revisions":{"items":{"$ref":"#/components/schemas/QueryRevision"},"type":"array","title":"Query Revisions","default":[]}},"type":"object","title":"QueryRevisionsResponse"},"QueryVariant":{"properties":{"query_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryVariant"},"QueryVariantCreate":{"properties":{"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryVariantCreate"},"QueryVariantCreateRequest":{"properties":{"query_variant":{"$ref":"#/components/schemas/QueryVariantCreate"}},"type":"object","required":["query_variant"],"title":"QueryVariantCreateRequest"},"QueryVariantEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryVariantEdit"},"QueryVariantEditRequest":{"properties":{"query_variant":{"$ref":"#/components/schemas/QueryVariantEdit"}},"type":"object","required":["query_variant"],"title":"QueryVariantEditRequest"},"QueryVariantQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"QueryVariantQuery"},"QueryVariantQueryRequest":{"properties":{"query_variant":{"anyOf":[{"$ref":"#/components/schemas/QueryVariantQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"query_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Variant Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryVariantQueryRequest"},"QueryVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_variant":{"anyOf":[{"$ref":"#/components/schemas/QueryVariant"},{"type":"null"}]}},"type":"object","title":"QueryVariantResponse"},"QueryVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_variants":{"items":{"$ref":"#/components/schemas/QueryVariant"},"type":"array","title":"Query Variants","default":[]}},"type":"object","title":"QueryVariantsResponse"},"Reference":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"ReferenceRequestModel-Input":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"commit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Message"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ReferenceRequestModel"},"ReferenceRequestModel-Output":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"commit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Message"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ReferenceRequestModel"},"RequestType":{"type":"string","enum":["unknown","router","worker"],"title":"RequestType"},"ResendInviteRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ResendInviteRequest"},"ResolutionInfo":{"properties":{"references_used":{"items":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},"RetrievalInfo":{"properties":{"references":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},"RevisionFork":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"RevisionFork"},"SSOProviderDTO":{"properties":{"provider":{"$ref":"#/components/schemas/SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},"SSOProviderInfo":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"third_party_id":{"type":"string","title":"Third Party Id"}},"type":"object","required":["id","slug","third_party_id"],"title":"SSOProviderInfo"},"SSOProviderSettingsDTO":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"},"SSOProviders":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/SSOProviderInfo"},"type":"array","title":"Providers"}},"type":"object","required":["providers"],"title":"SSOProviders"},"SecretDTO":{"properties":{"kind":{"$ref":"#/components/schemas/SecretKind"},"data":{"anyOf":[{"$ref":"#/components/schemas/StandardProviderDTO"},{"$ref":"#/components/schemas/CustomProviderDTO"},{"$ref":"#/components/schemas/SSOProviderDTO"},{"$ref":"#/components/schemas/WebhookProviderDTO"}],"title":"Data"}},"type":"object","required":["kind","data"],"title":"SecretDTO"},"SecretKind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider"],"title":"SecretKind"},"SecretResponseDTO":{"properties":{"kind":{"$ref":"#/components/schemas/SecretKind"},"data":{"anyOf":[{"$ref":"#/components/schemas/StandardProviderDTO"},{"$ref":"#/components/schemas/CustomProviderDTO"},{"$ref":"#/components/schemas/SSOProviderDTO"},{"$ref":"#/components/schemas/WebhookProviderDTO"}],"title":"Data"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"$ref":"#/components/schemas/Header"},"lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"},"SessionIdentitiesUpdate":{"properties":{"session_identities":{"items":{"type":"string"},"type":"array","title":"Session Identities"}},"type":"object","required":["session_identities"],"title":"SessionIdentitiesUpdate"},"SessionIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of session IDs in this page.","default":0},"session_ids":{"items":{"type":"string"},"type":"array","title":"Session Ids","description":"Distinct values of `ag.session.id` in this page.","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page. Pass verbatim as `windowing.next`."}},"type":"object","title":"SessionIdsResponse"},"SessionsQueryRequest":{"properties":{"realtime":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Realtime","description":"When `true`, paginate by `last_active` (reflects ongoing activity but can shift between pages). When `false` or unset, paginate by the stable `first_active` cursor."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range. Pass the returned `windowing.next` on subsequent calls to continue iteration."}},"type":"object","title":"SessionsQueryRequest","description":"Request body for `POST /tracing/sessions/query`."},"SimpleApplication":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},"SimpleApplicationCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationCreate"},"SimpleApplicationCreateRequest":{"properties":{"application":{"$ref":"#/components/schemas/SimpleApplicationCreate","description":"Application fields plus `data` for the first revision. `data.uri` selects the template (for example `agenta:builtin:completion:v0`); `data.parameters` carries the prompt and model config."}},"type":"object","required":["application"],"title":"SimpleApplicationCreateRequest","description":"Request body for `POST /simple/applications/`.\n\nCreates the application artifact, a default variant, and a first committed\nrevision whose `data` comes from the request. Use this for the common case\nof \"spin up a new application from a template\".\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints)."},"SimpleApplicationData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},"SimpleApplicationData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},"SimpleApplicationEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationEdit"},"SimpleApplicationEditRequest":{"properties":{"application":{"$ref":"#/components/schemas/SimpleApplicationEdit","description":"Fields to change. `id` must match the path. Supplying `data` commits a new revision with that configuration; supplying `flags`/`tags`/`meta` commits a revision with the updated header but the existing `data`."}},"type":"object","required":["application"],"title":"SimpleApplicationEditRequest","description":"Request body for `PUT /simple/applications/{application_id}`.\n\nCommits a new revision on the application's variant whenever fields other\nthan `id` are present. If only `id` is sent, the current state is returned\nwithout committing."},"SimpleApplicationFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleApplicationFlags"},"SimpleApplicationQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleApplicationQuery"},"SimpleApplicationQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleApplicationQueryFlags"},"SimpleApplicationQueryRequest":{"properties":{"application":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Supports `slug`, `slugs`, `flags`, and `meta`. `flags` filter both artifact flags (`is_application`, etc.) and revision flags (`is_chat`, `has_url`, etc.)."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict to specific applications by `id` or `slug`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived applications. Defaults to `false`.","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"SimpleApplicationQueryRequest","description":"Request body for `POST /simple/applications/query`.\n\nReturns one row per application with the currently resolved variant,\nrevision, and `data` merged in — the shape most clients want when listing\napplications for a dashboard or invocation picker."},"SimpleApplicationResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."},"SimpleApplicationsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"$ref":"#/components/schemas/SimpleApplication"},"type":"array","title":"Applications","description":"Applications with their current variant, revision, and `data` merged in."}},"type":"object","title":"SimpleApplicationsResponse","description":"Paginated list of simple-application rows."},"SimpleEnvironment":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEnvironment"},"SimpleEnvironmentCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentCreate"},"SimpleEnvironmentCreateRequest":{"properties":{"environment":{"$ref":"#/components/schemas/SimpleEnvironmentCreate"}},"type":"object","required":["environment"],"title":"SimpleEnvironmentCreateRequest"},"SimpleEnvironmentEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentEdit"},"SimpleEnvironmentEditRequest":{"properties":{"environment":{"$ref":"#/components/schemas/SimpleEnvironmentEdit"}},"type":"object","required":["environment"],"title":"SimpleEnvironmentEditRequest"},"SimpleEnvironmentQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEnvironmentQuery"},"SimpleEnvironmentQueryRequest":{"properties":{"environment":{"anyOf":[{"$ref":"#/components/schemas/SimpleEnvironmentQuery"},{"type":"null"}]},"environment_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Environment Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentQueryRequest"},"SimpleEnvironmentResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment":{"anyOf":[{"$ref":"#/components/schemas/SimpleEnvironment"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentResponse"},"SimpleEnvironmentsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environments":{"items":{"$ref":"#/components/schemas/SimpleEnvironment"},"type":"array","title":"Environments","default":[]}},"type":"object","title":"SimpleEnvironmentsResponse"},"SimpleEvaluation":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},"SimpleEvaluationCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationCreate"},"SimpleEvaluationCreateRequest":{"properties":{"evaluation":{"$ref":"#/components/schemas/SimpleEvaluationCreate"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationCreateRequest"},"SimpleEvaluationData":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"}},"type":"object","title":"SimpleEvaluationData"},"SimpleEvaluationEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationEdit"},"SimpleEvaluationEditRequest":{"properties":{"evaluation":{"$ref":"#/components/schemas/SimpleEvaluationEdit"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationEditRequest"},"SimpleEvaluationIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluation Id"}},"type":"object","title":"SimpleEvaluationIdResponse"},"SimpleEvaluationQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"SimpleEvaluationQuery"},"SimpleEvaluationQueryRequest":{"properties":{"evaluation":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationQueryRequest"},"SimpleEvaluationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"},"SimpleEvaluationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluations":{"items":{"$ref":"#/components/schemas/SimpleEvaluation"},"type":"array","title":"Evaluations","default":[]}},"type":"object","title":"SimpleEvaluationsResponse"},"SimpleEvaluator":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},"SimpleEvaluatorCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorCreate"},"SimpleEvaluatorCreateRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/SimpleEvaluatorCreate","description":"Simple evaluator payload (slug, name, flags, and `data` with `uri` + `parameters`)."}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorCreateRequest","description":"Body for creating an evaluator via the simple surface.\n\nCollapses artifact, variant, and first revision into one call. The\nresponse returns the same flat shape that `/simple/evaluators/query`\nexposes."},"SimpleEvaluatorData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},"SimpleEvaluatorData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},"SimpleEvaluatorEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorEdit"},"SimpleEvaluatorEditRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/SimpleEvaluatorEdit","description":"Simple evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled."}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorEditRequest","description":"Body for editing an evaluator via the simple surface."},"SimpleEvaluatorFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},"SimpleEvaluatorQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEvaluatorQuery"},"SimpleEvaluatorQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleEvaluatorQueryFlags"},"SimpleEvaluatorQueryRequest":{"properties":{"evaluator":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (slug, slugs, flags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to these evaluators."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators.","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleEvaluatorQueryRequest","description":"Body for filtering evaluators via the simple surface."},"SimpleEvaluatorResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."},"SimpleEvaluatorsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"$ref":"#/components/schemas/SimpleEvaluator"},"type":"array","title":"Evaluators","description":"Matching flat evaluator records."}},"type":"object","title":"SimpleEvaluatorsResponse","description":"Envelope for a list of simple evaluators."},"SimpleQueriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queries":{"items":{"$ref":"#/components/schemas/SimpleQuery"},"type":"array","title":"Queries","default":[]}},"type":"object","title":"SimpleQueriesResponse"},"SimpleQuery":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleQuery"},"SimpleQueryCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleQueryCreate"},"SimpleQueryCreateRequest":{"properties":{"query":{"$ref":"#/components/schemas/SimpleQueryCreate"}},"type":"object","required":["query"],"title":"SimpleQueryCreateRequest"},"SimpleQueryEdit":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleQueryEdit"},"SimpleQueryEditRequest":{"properties":{"query":{"$ref":"#/components/schemas/SimpleQueryEdit"}},"type":"object","required":["query"],"title":"SimpleQueryEditRequest"},"SimpleQueryQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"SimpleQueryQuery"},"SimpleQueryQueryRequest":{"properties":{"query":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueryQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueryQueryRequest"},"SimpleQueryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query":{"anyOf":[{"$ref":"#/components/schemas/SimpleQuery"},{"type":"null"}]}},"type":"object","title":"SimpleQueryResponse"},"SimpleQueue":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},"SimpleQueueCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueData"},{"type":"null"}]}},"type":"object","title":"SimpleQueueCreate"},"SimpleQueueCreateRequest":{"properties":{"queue":{"$ref":"#/components/schemas/SimpleQueueCreate"}},"type":"object","required":["queue"],"title":"SimpleQueueCreateRequest"},"SimpleQueueData":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"settings":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},"SimpleQueueIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"type":"object","title":"SimpleQueueIdResponse"},"SimpleQueueKind":{"type":"string","enum":["traces","testcases"],"title":"SimpleQueueKind"},"SimpleQueueQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueKind"},{"type":"null"}]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"queue_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queue Ids"}},"type":"object","title":"SimpleQueueQuery"},"SimpleQueueQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueQueryRequest"},"SimpleQueueResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"},"SimpleQueueScenariosQuery":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"}},"type":"object","title":"SimpleQueueScenariosQuery"},"SimpleQueueScenariosQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueScenariosQuery"},{"type":"null"}]},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosQueryRequest"},"SimpleQueueScenariosResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosResponse"},"SimpleQueueSettings":{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},"SimpleQueueTestcasesCreateRequest":{"properties":{"testcase_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Testcase Ids"}},"type":"object","required":["testcase_ids"],"title":"SimpleQueueTestcasesCreateRequest"},"SimpleQueueTracesCreateRequest":{"properties":{"trace_ids":{"items":{"type":"string"},"type":"array","title":"Trace Ids"}},"type":"object","required":["trace_ids"],"title":"SimpleQueueTracesCreateRequest"},"SimpleQueuesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"$ref":"#/components/schemas/SimpleQueue"},"type":"array","title":"Queues","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueuesResponse"},"SimpleTestset":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Output"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"}},"type":"object","title":"SimpleTestset"},"SimpleTestsetCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleTestsetCreate"},"SimpleTestsetCreateRequest":{"properties":{"testset":{"$ref":"#/components/schemas/SimpleTestsetCreate","description":"Simple testset to create. `data.testcases` is committed as the first revision on a single variant in one call."}},"type":"object","required":["testset"],"title":"SimpleTestsetCreateRequest"},"SimpleTestsetEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleTestsetEdit"},"SimpleTestsetEditRequest":{"properties":{"testset":{"$ref":"#/components/schemas/SimpleTestsetEdit","description":"Simple testset fields to update. If `data.testcases` is provided, a new revision is committed with those testcases."}},"type":"object","required":["testset"],"title":"SimpleTestsetEditRequest"},"SimpleTestsetQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"SimpleTestsetQuery"},"SimpleTestsetQueryRequest":{"properties":{"testset":{"anyOf":[{"$ref":"#/components/schemas/SimpleTestsetQuery"},{"type":"null"}],"description":"Attribute filter on the testset (flags, tags, meta)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Restrict the query to specific testsets."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted testsets."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"SimpleTestsetQueryRequest"},"SimpleTestsetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testset was returned, 0 otherwise.","default":0},"testset":{"anyOf":[{"$ref":"#/components/schemas/SimpleTestset"},{"type":"null"}],"description":"The testset with its latest revision testcases merged into `data.testcases`, and the revision ID on `revision_id`."}},"type":"object","title":"SimpleTestsetResponse"},"SimpleTestsetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of simple testsets returned.","default":0},"testsets":{"items":{"$ref":"#/components/schemas/SimpleTestset"},"type":"array","title":"Testsets","description":"Simple testsets, each with its latest revision testcases merged in."}},"type":"object","title":"SimpleTestsetsResponse"},"SimpleTrace":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"SimpleTrace"},"SimpleTraceChannel":{"type":"string","enum":["otlp","web","sdk","api"],"title":"SimpleTraceChannel"},"SimpleTraceCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"SimpleTraceCreate"},"SimpleTraceCreateRequest":{"properties":{"trace":{"$ref":"#/components/schemas/SimpleTraceCreate","description":"The trace to create. Must include `data` (the payload being recorded) and typically `origin`, `kind`, and `channel` to describe where it came from. Optional `references` link the trace to Agenta entities (app, variant, revision, evaluator, testset, etc.)."}},"type":"object","required":["trace"],"title":"SimpleTraceCreateRequest","description":"Request body for creating a single-span \"simple\" trace."},"SimpleTraceEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"SimpleTraceEdit"},"SimpleTraceEditRequest":{"properties":{"trace":{"$ref":"#/components/schemas/SimpleTraceEdit","description":"The fields to update. `data` is required. `tags`, `meta`, `references`, and `links` overwrite their current values when present."}},"type":"object","required":["trace"],"title":"SimpleTraceEditRequest","description":"Request body for editing an existing \"simple\" trace."},"SimpleTraceKind":{"type":"string","enum":["adhoc","eval","play"],"title":"SimpleTraceKind"},"SimpleTraceLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a trace was removed, `0` otherwise.","default":0},"link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}],"description":"The `(trace_id, span_id)` pair that was removed."}},"type":"object","title":"SimpleTraceLinkResponse","description":"Response from `DELETE /simple/traces/{trace_id}`."},"SimpleTraceOrigin":{"type":"string","enum":["custom","human","auto"],"title":"SimpleTraceOrigin"},"SimpleTraceQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"SimpleTraceQuery"},"SimpleTraceQueryRequest":{"properties":{"trace":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceQuery"},{"type":"null"}],"description":"Filter fields on the trace itself — `origin`, `kind`, `channel`, `tags`, `meta`, `references`, and inbound `links`. Filtering by `trace.links.invocation` is the common pattern for finding annotations on a given span."},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links","description":"Batch GET by the trace's own `(trace_id, span_id)`. Each entry matches the trace whose own identity equals the pair. Distinct from `trace.links`, which filters on inbound links."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."}},"type":"object","title":"SimpleTraceQueryRequest","description":"Request body for `POST /simple/traces/query`."},"SimpleTraceReferences":{"properties":{"query":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"query_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"query_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testcase":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"selector":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"SimpleTraceReferences"},"SimpleTraceResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if the trace was returned, `0` otherwise.","default":0},"trace":{"anyOf":[{"$ref":"#/components/schemas/SimpleTrace"},{"type":"null"}],"description":"The created or fetched trace, including server-assigned `trace_id` and `span_id`."}},"type":"object","title":"SimpleTraceResponse","description":"Response from a single-trace create/fetch/edit."},"SimpleTracesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of matching traces in this page.","default":0},"traces":{"items":{"$ref":"#/components/schemas/SimpleTrace"},"type":"array","title":"Traces","description":"The matching traces in the high-level `SimpleTrace` shape.","default":[]}},"type":"object","title":"SimpleTracesResponse","description":"Response from `POST /simple/traces/query`."},"SimpleWorkflow":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},"SimpleWorkflowCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowCreate"},"SimpleWorkflowCreateRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/SimpleWorkflowCreate","description":"Simple-workflow create payload. Creates the artifact, a default variant, and an initial revision in one call."}},"type":"object","required":["workflow"],"title":"SimpleWorkflowCreateRequest"},"SimpleWorkflowData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},"SimpleWorkflowData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},"SimpleWorkflowEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowEdit"},"SimpleWorkflowEditRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/SimpleWorkflowEdit","description":"Simple-workflow edit payload. Updates artifact-level fields and commits a new revision when `data` changes."}},"type":"object","required":["workflow"],"title":"SimpleWorkflowEditRequest"},"SimpleWorkflowFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"SimpleWorkflowFlags"},"SimpleWorkflowQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleWorkflowQuery"},"SimpleWorkflowQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"}},"type":"object","title":"SimpleWorkflowQueryFlags"},"SimpleWorkflowQueryRequest":{"properties":{"workflow":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowQuery"},{"type":"null"}],"description":"Attribute filter on simple workflows (slug, slugs, flags, tags, meta)."},"workflow_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Workflow Refs","description":"Restrict results to workflows matching these references."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include archived workflows."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleWorkflowQueryRequest"},"SimpleWorkflowResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"},"SimpleWorkflowsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in the response.","default":0},"workflows":{"items":{"$ref":"#/components/schemas/SimpleWorkflow"},"type":"array","title":"Workflows","description":"Workflow artifacts each merged with their resolved variant and revision."}},"type":"object","title":"SimpleWorkflowsResponse"},"Span-Input":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Input"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Input"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Input"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"Span"},"Span-Output":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Output"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Output"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Output"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"Span"},"SpanResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a span was returned, `0` otherwise.","default":0},"span":{"anyOf":[{"$ref":"#/components/schemas/Span-Output"},{"type":"null"}],"description":"The matching span, or `null` if not found."}},"type":"object","title":"SpanResponse"},"SpanType":{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},"SpansNode-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Input"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Input"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Input"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"SpansNode-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Output"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Output"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Output"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"SpansQueryRequest":{"properties":{"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}],"description":"Span-level conditions."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."},"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve filtering/windowing from a saved query."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from the latest revision of a specific query variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from a specific query revision. Returns `409` when the revision's stored `formatting.focus` is `trace`."}},"type":"object","title":"SpansQueryRequest","description":"Request body for `POST /spans/query`."},"SpansResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching spans in the window.","default":0},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Output"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of matching spans."}},"type":"object","title":"SpansResponse"},"SpansTree-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"}},"type":"object","title":"SpansTree"},"SpansTree-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"}},"type":"object","title":"SpansTree"},"StandardProviderDTO":{"properties":{"kind":{"$ref":"#/components/schemas/StandardProviderKind"},"provider":{"$ref":"#/components/schemas/StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},"StandardProviderKind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"StandardProviderSettingsDTO":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"},"Status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"StringOperator":{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},"Testcase-Input":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"Testcase-Output":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"TestcaseResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testcase was returned, 0 otherwise.","default":0},"testcase":{"anyOf":[{"$ref":"#/components/schemas/Testcase-Output"},{"type":"null"}],"description":"The testcase blob. `data` carries the user-defined columns; `testcase_dedup_id` (inside `data`) is the caller-supplied dedup key when present."}},"type":"object","title":"TestcaseResponse"},"TestcasesQueryRequest":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids","description":"Explicit list of testcase IDs to fetch. Combine with `testset_id` or testset references to scope the lookup."},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id","description":"Return all testcases stored in this testset. The testset owns its testcases as a content-addressed bag; a revision references a subset of these."},"testset_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset reference used to resolve the latest revision on the default variant. The revision's ordered testcase IDs are used for the lookup and pagination."},"testset_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset variant reference used to resolve the latest revision on that variant."},"testset_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific testset revision reference. The revision's ordered testcase IDs drive the lookup and cursor pagination."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. When a revision reference is used, the cursor walks the revision's deterministic testcase ID list."}},"type":"object","title":"TestcasesQueryRequest"},"TestcasesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of testcases returned on this page.","default":0},"testcases":{"items":{"$ref":"#/components/schemas/Testcase-Output"},"type":"array","title":"Testcases","description":"Testcase blobs matching the query, in revision-order when scoped by a revision reference."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page, if more results exist."}},"type":"object","title":"TestcasesResponse"},"Testset":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Testset"},"TestsetCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetCreate"},"TestsetCreateRequest":{"properties":{"testset":{"$ref":"#/components/schemas/TestsetCreate","description":"Testset artifact to create. The call only creates the artifact row; testcases are added by committing a revision (see /testsets/revisions/commit) or by using the /simple/testsets/ surface."}},"type":"object","required":["testset"],"title":"TestsetCreateRequest"},"TestsetEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetEdit"},"TestsetEditRequest":{"properties":{"testset":{"$ref":"#/components/schemas/TestsetEdit","description":"Testset artifact fields to update. The `id` in the body must match the `testset_id` in the path."}},"type":"object","required":["testset"],"title":"TestsetEditRequest"},"TestsetFlags":{"properties":{},"type":"object","title":"TestsetFlags","description":"Placeholder for testset-level flags.\n\nThis model is intentionally empty but kept as a dedicated type so that:\n- existing references to `flags: Optional[TestsetFlags]` remain valid, and\n- structured flags can be added here in the future without breaking the\n surrounding DTOs."},"TestsetQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"TestsetQuery"},"TestsetQueryRequest":{"properties":{"testset":{"anyOf":[{"$ref":"#/components/schemas/TestsetQuery"},{"type":"null"}],"description":"Attribute filter (name, description, slug, flags, tags, meta, folder)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Restrict the query to specific testsets by reference (id or slug)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted testsets."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetQueryRequest"},"TestsetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testset was returned, 0 otherwise.","default":0},"testset":{"anyOf":[{"$ref":"#/components/schemas/Testset"},{"type":"null"}],"description":"The testset artifact. Does not include testcases."}},"type":"object","title":"TestsetResponse"},"TestsetRevision":{"properties":{"testset_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"TestsetRevision"},"TestsetRevisionCommit":{"properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDelta"},{"type":"null"}]}},"type":"object","title":"TestsetRevisionCommit"},"TestsetRevisionCommitRequest":{"properties":{"testset_revision_commit":{"$ref":"#/components/schemas/TestsetRevisionCommit","description":"New revision to commit. Pass either `data` (full replacement of the testcase list) or `delta` (add/remove/replace operations against the base revision) — not both."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision_commit"],"title":"TestsetRevisionCommitRequest"},"TestsetRevisionCreate":{"properties":{"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetRevisionCreate"},"TestsetRevisionCreateRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionCreate","description":"Revision to create on an existing variant. Typically used to seed an empty revision; use /testsets/revisions/commit to set testcases."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response. Defaults to true when the response would carry revision data."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionCreateRequest"},"TestsetRevisionData-Input":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},"TestsetRevisionData-Output":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Output"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},"TestsetRevisionDelta":{"properties":{"rows":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDeltaRows"},{"type":"null"}]},"columns":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDeltaColumns"},{"type":"null"}]}},"type":"object","title":"TestsetRevisionDelta","description":"Operations to apply to a testset revision."},"TestsetRevisionDeltaColumns":{"properties":{"add":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaColumns","description":"Column-level operations applied to ALL testcases in the revision."},"TestsetRevisionDeltaRows":{"properties":{"add":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaRows","description":"Row-level operations applied to testcases in the revision."},"TestsetRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetRevisionEdit"},"TestsetRevisionEditRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionEdit","description":"Revision fields to update. The `id` in the body must match the `testset_revision_id` in the path. Only metadata fields are editable; content is committed as a new revision."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionEditRequest"},"TestsetRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"TestsetRevisionQuery"},"TestsetRevisionQueryRequest":{"properties":{"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionQuery"},{"type":"null"}],"description":"Attribute filter on the revision (name, description, slug, author, date, message)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Scope revisions to these testsets."},"testset_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Variant Refs","description":"Scope revisions to these variants."},"testset_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Revision Refs","description":"Restrict to specific revisions by reference (id, slug, or version)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted revisions."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision. Defaults to true."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetRevisionQueryRequest"},"TestsetRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a revision was returned, 0 otherwise.","default":0},"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevision"},{"type":"null"}],"description":"The testset revision. `data.testcase_ids` is the ordered list of testcase IDs; `data.testcases` is populated when `include_testcases` is true."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"TestsetRevisionResponse"},"TestsetRevisionRetrieveRequest":{"properties":{"testset_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this testset."},"testset_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"testset_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `testset_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"include_testcase_ids":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcase Ids","description":"Include the ordered list of testcase IDs. Defaults to true (opt-out)."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects. Defaults to true (opt-out). Note: this opt-out default is the opposite of `/queries/revisions/retrieve`, where trace materialization is opt-in."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Windowing applied to the testcases list when materialized."}},"type":"object","title":"TestsetRevisionRetrieveRequest"},"TestsetRevisionsLog":{"properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"TestsetRevisionsLog"},"TestsetRevisionsLogRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionsLog","description":"Scope for the log: one of `testset_id`, `testset_variant_id`, or `testset_revision_id`. Optional `depth` limits how far back to walk."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionsLogRequest"},"TestsetRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions returned.","default":0},"testset_revisions":{"items":{"$ref":"#/components/schemas/TestsetRevision"},"type":"array","title":"Testset Revisions","description":"Testset revisions matching the query, in the requested order."}},"type":"object","title":"TestsetRevisionsResponse"},"TestsetVariant":{"properties":{"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetVariant"},"TestsetVariantCreate":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetVariantCreate"},"TestsetVariantCreateRequest":{"properties":{"testset_variant":{"$ref":"#/components/schemas/TestsetVariantCreate","description":"Variant to create on an existing testset. Pass `testset_id` to identify the parent artifact."}},"type":"object","required":["testset_variant"],"title":"TestsetVariantCreateRequest"},"TestsetVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetVariantEdit"},"TestsetVariantEditRequest":{"properties":{"testset_variant":{"$ref":"#/components/schemas/TestsetVariantEdit","description":"Variant fields to update. The `id` in the body must match the `testset_variant_id` in the path."}},"type":"object","required":["testset_variant"],"title":"TestsetVariantEditRequest"},"TestsetVariantQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"TestsetVariantQuery"},"TestsetVariantQueryRequest":{"properties":{"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/TestsetVariantQuery"},{"type":"null"}],"description":"Attribute filter on the variant (name, description, slug, flags, tags, meta)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Scope to variants whose parent testset matches one of these references."},"testset_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Variant Refs","description":"Restrict the query to specific variants by reference (id or slug)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted variants."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetVariantQueryRequest"},"TestsetVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a variant was returned, 0 otherwise.","default":0},"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/TestsetVariant"},{"type":"null"}],"description":"The testset variant (branch)."}},"type":"object","title":"TestsetVariantResponse"},"TestsetVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants returned.","default":0},"testset_variants":{"items":{"$ref":"#/components/schemas/TestsetVariant"},"type":"array","title":"Testset Variants","description":"Testset variants matching the query."}},"type":"object","title":"TestsetVariantsResponse"},"TestsetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of testsets returned on this page.","default":0},"testsets":{"items":{"$ref":"#/components/schemas/Testset"},"type":"array","title":"Testsets","description":"Testset artifacts matching the query, without testcases."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page, if more results exist."}},"type":"object","title":"TestsetsResponse"},"TextOptions":{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},"ToolAuthScheme":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"ToolCall":{"properties":{"data":{"$ref":"#/components/schemas/ToolCallData"}},"type":"object","required":["data"],"title":"ToolCall","description":"Request envelope — wraps the raw OpenAI tool call."},"ToolCallData":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolCallFunction"}},"type":"object","required":["id","function"],"title":"ToolCallData","description":"OpenAI tool_calls array item — passed verbatim from the LLM."},"ToolCallFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolCallFunction","description":"Mirrors OpenAI function call: {name, arguments}."},"ToolCallResponse":{"properties":{"call":{"$ref":"#/components/schemas/ToolResult"}},"type":"object","required":["call"],"title":"ToolCallResponse"},"ToolCatalogAction":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"ToolCatalogActionDetails":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"},"ToolCatalogActionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"action":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogAction"},{"$ref":"#/components/schemas/ToolCatalogActionDetails"},{"type":"null"}],"title":"Action"}},"type":"object","title":"ToolCatalogActionResponse"},"ToolCatalogActionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogAction"},{"$ref":"#/components/schemas/ToolCatalogActionDetails"}]},"type":"array","title":"Actions","default":[]}},"type":"object","title":"ToolCatalogActionsResponse"},"ToolCatalogIntegration":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},"ToolCatalogIntegrationDetails":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"},"ToolCatalogIntegrationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogIntegration"},{"$ref":"#/components/schemas/ToolCatalogIntegrationDetails"},{"type":"null"}],"title":"Integration"}},"type":"object","title":"ToolCatalogIntegrationResponse"},"ToolCatalogIntegrationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogIntegration"},{"$ref":"#/components/schemas/ToolCatalogIntegrationDetails"}]},"type":"array","title":"Integrations","default":[]}},"type":"object","title":"ToolCatalogIntegrationsResponse"},"ToolCatalogProvider":{"properties":{"key":{"$ref":"#/components/schemas/ToolProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"}},"type":"object","required":["key","name"],"title":"ToolCatalogProvider"},"ToolCatalogProviderDetails":{"properties":{"key":{"$ref":"#/components/schemas/ToolProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"},"integrations":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolCatalogIntegration"},"type":"array"},{"type":"null"}],"title":"Integrations"}},"type":"object","required":["key","name"],"title":"ToolCatalogProviderDetails"},"ToolCatalogProviderResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"provider":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogProvider"},{"$ref":"#/components/schemas/ToolCatalogProviderDetails"},{"type":"null"}],"title":"Provider"}},"type":"object","title":"ToolCatalogProviderResponse"},"ToolCatalogProvidersResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"providers":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogProvider"},{"$ref":"#/components/schemas/ToolCatalogProviderDetails"}]},"type":"array","title":"Providers","default":[]}},"type":"object","title":"ToolCatalogProvidersResponse"},"ToolConnection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"$ref":"#/components/schemas/ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"$ref":"#/components/schemas/ToolConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnection"},"ToolConnectionCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"$ref":"#/components/schemas/ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"$ref":"#/components/schemas/ToolConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnectionCreate"},"ToolConnectionCreateData":{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"$ref":"#/components/schemas/ToolAuthScheme"},{"type":"null"}]}},"type":"object","title":"ToolConnectionCreateData"},"ToolConnectionCreateRequest":{"properties":{"connection":{"$ref":"#/components/schemas/ToolConnectionCreate"}},"type":"object","required":["connection"],"title":"ToolConnectionCreateRequest"},"ToolConnectionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"$ref":"#/components/schemas/ToolConnection"},{"type":"null"}]}},"type":"object","title":"ToolConnectionResponse"},"ToolConnectionStatus":{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"ToolConnectionStatus"},"ToolConnectionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connections":{"items":{"$ref":"#/components/schemas/ToolConnection"},"type":"array","title":"Connections","default":[]}},"type":"object","title":"ToolConnectionsResponse"},"ToolProviderKind":{"type":"string","enum":["composio","agenta"],"title":"ToolProviderKind"},"ToolResult":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/ToolResultData"},{"type":"null"}]}},"type":"object","title":"ToolResult","description":"Response envelope with Agenta identity, status, and the OpenAI tool message."},"ToolResultData":{"properties":{"role":{"type":"string","title":"Role","default":"tool"},"tool_call_id":{"type":"string","title":"Tool Call Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["tool_call_id","content"],"title":"ToolResultData","description":"OpenAI tool message — passed verbatim back to the LLM."},"Trace-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"Trace-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"TraceIdResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a `trace_id` was returned, `0` otherwise.","default":0},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id","description":"32-char hex UUID identifying the trace that was created or edited."}},"type":"object","title":"TraceIdResponse"},"TraceIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of distinct trace IDs in this response.","default":0},"trace_ids":{"items":{"type":"string"},"type":"array","title":"Trace Ids","description":"32-char hex UUIDs of the traces that were ingested. Compare against the number you submitted to detect partial failures.","default":[]}},"type":"object","title":"TraceIdsResponse"},"TraceRequest":{"properties":{"trace":{"anyOf":[{"$ref":"#/components/schemas/Trace-Input"},{"type":"null"}],"description":"A single trace record (trace_id plus nested spans). The `trace_id` must match the path parameter on edit endpoints."}},"type":"object","title":"TraceRequest","description":"Ingest or edit payload for a single canonical `Trace`."},"TraceResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a trace was returned, `0` otherwise.","default":0},"trace":{"anyOf":[{"$ref":"#/components/schemas/Trace-Output"},{"type":"null"}],"description":"The trace in the canonical `Trace` shape (`trace_id` + nested `spans` tree)."}},"type":"object","title":"TraceResponse"},"TraceType":{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},"TracesQueryRequest":{"properties":{"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}],"description":"Span-level conditions. A trace matches when any of its spans matches."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range (see [Query Pattern](/reference/api-guide/query-pattern#windowing))."},"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve filtering/windowing from a saved query by `id`/`slug`. Only one of the three `query_*_ref` fields is needed."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from the latest revision of a specific query variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from a specific query revision. Returns `409` when the revision's stored `formatting.focus` is `span`."}},"type":"object","title":"TracesQueryRequest","description":"Request body for `POST /traces/query`."},"TracesRequest":{"properties":{"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Input"},"type":"array"},{"type":"null"}],"title":"Traces","description":"List of trace records. Each record is a `trace_id` plus the nested `spans` tree. Equivalent to the map-shaped payload accepted by `POST /tracing/spans/ingest`."}},"type":"object","title":"TracesRequest","description":"Ingest payload in the canonical `Traces` list shape.\n\nUsed by `POST /traces/ingest`. Each entry is one trace with its\n`trace_id` and a nested `spans` tree."},"TracesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching traces in the window.","default":0},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Output"},"type":"array"},{"type":"null"}],"title":"Traces","description":"List of traces in the canonical `Traces` shape. For the map-shaped payload keyed by `trace_id`, call `POST /tracing/spans/query` with `focus=\"trace\"`."}},"type":"object","title":"TracesResponse"},"TracingQuery":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Output"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"UpdateProjectRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"make_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Make Default"}},"type":"object","title":"UpdateProjectRequest"},"UpdateSecretDTO":{"properties":{"header":{"anyOf":[{"$ref":"#/components/schemas/Header"},{"type":"null"}]},"secret":{"anyOf":[{"$ref":"#/components/schemas/SecretDTO"},{"type":"null"}]}},"type":"object","title":"UpdateSecretDTO"},"UpdateWorkspace":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"UpdateWorkspace"},"UserIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of user IDs in this page.","default":0},"user_ids":{"items":{"type":"string"},"type":"array","title":"User Ids","description":"Distinct values of `ag.user.id` in this page.","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page. Pass verbatim as `windowing.next`."}},"type":"object","title":"UserIdsResponse"},"UserRole":{"properties":{"email":{"type":"string","title":"Email"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"organization_id":{"type":"string","title":"Organization Id"}},"type":"object","required":["email","organization_id"],"title":"UserRole"},"UserUpdate":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","title":"UserUpdate"},"UsersQueryRequest":{"properties":{"realtime":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Realtime","description":"When `true`, paginate by `last_active`. When `false` or unset, paginate by the stable `first_active` cursor."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."}},"type":"object","title":"UsersQueryRequest","description":"Request body for `POST /tracing/users/query`."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VariantFork":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"VariantFork"},"WebhookDeliveriesResponse":{"properties":{"count":{"type":"integer","title":"Count"},"deliveries":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array","title":"Deliveries","default":[]}},"type":"object","required":["count"],"title":"WebhookDeliveriesResponse"},"WebhookDelivery":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"$ref":"#/components/schemas/Status"},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryData"},{"type":"null"}]},"subscription_id":{"type":"string","format":"uuid","title":"Subscription Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"}},"type":"object","required":["status","subscription_id","event_id"],"title":"WebhookDelivery"},"WebhookDeliveryCreate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"$ref":"#/components/schemas/Status"},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryData"},{"type":"null"}]},"subscription_id":{"type":"string","format":"uuid","title":"Subscription Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"}},"type":"object","required":["status","subscription_id","event_id"],"title":"WebhookDeliveryCreate"},"WebhookDeliveryCreateRequest":{"properties":{"delivery":{"$ref":"#/components/schemas/WebhookDeliveryCreate"}},"type":"object","required":["delivery"],"title":"WebhookDeliveryCreateRequest"},"WebhookDeliveryData":{"properties":{"event_type":{"anyOf":[{"$ref":"#/components/schemas/WebhookEventType"},{"type":"null"}]},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"},"response":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryResponseInfo"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["url"],"title":"WebhookDeliveryData"},"WebhookDeliveryQuery":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"WebhookDeliveryQuery"},"WebhookDeliveryQueryRequest":{"properties":{"delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryQuery"},{"type":"null"}]},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"WebhookDeliveryQueryRequest"},"WebhookDeliveryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDelivery"},{"type":"null"}]}},"type":"object","title":"WebhookDeliveryResponse"},"WebhookDeliveryResponseInfo":{"properties":{"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","title":"WebhookDeliveryResponseInfo"},"WebhookEventType":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"WebhookProviderDTO":{"properties":{"provider":{"$ref":"#/components/schemas/WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},"WebhookProviderSettingsDTO":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"},"WebhookSubscription":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},"WebhookSubscriptionCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionCreate"},"WebhookSubscriptionCreateRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/WebhookSubscriptionCreate"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionCreateRequest"},"WebhookSubscriptionData":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"WebhookSubscriptionEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"},"WebhookSubscriptionEditRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/WebhookSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionEditRequest"},"WebhookSubscriptionQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"WebhookSubscriptionQuery"},"WebhookSubscriptionQueryRequest":{"properties":{"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscriptionQuery"},{"type":"null"}]},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionQueryRequest"},"WebhookSubscriptionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"},"WebhookSubscriptionTestRequest":{"properties":{"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscriptionEdit"},{"$ref":"#/components/schemas/WebhookSubscriptionCreate"},{"type":"null"}],"title":"Subscription"}},"type":"object","title":"WebhookSubscriptionTestRequest"},"WebhookSubscriptionsResponse":{"properties":{"count":{"type":"integer","title":"Count"},"subscriptions":{"items":{"$ref":"#/components/schemas/WebhookSubscription"},"type":"array","title":"Subscriptions","default":[]}},"type":"object","required":["count"],"title":"WebhookSubscriptionsResponse"},"Windowing":{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},"Workflow":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Workflow"},"WorkflowArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowArtifactFlags"},"WorkflowCatalogFlags":{"properties":{"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowCatalogFlags"},"WorkflowCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},"WorkflowCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the preset is returned, `0` when not found.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogPreset"},{"type":"null"}],"description":"Named parameter set defined against a template."}},"type":"object","title":"WorkflowCatalogPresetResponse"},"WorkflowCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"$ref":"#/components/schemas/WorkflowCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets defined against a template."}},"type":"object","title":"WorkflowCatalogPresetsResponse"},"WorkflowCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},"WorkflowCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the template is returned, `0` when not found.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogTemplate"},{"type":"null"}],"description":"Workflow blueprint (key, name, description, flags, default data)."}},"type":"object","title":"WorkflowCatalogTemplateResponse"},"WorkflowCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"$ref":"#/components/schemas/WorkflowCatalogTemplate"},"type":"array","title":"Templates","description":"Workflow blueprints shipped with the product."}},"type":"object","title":"WorkflowCatalogTemplatesResponse"},"WorkflowCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"WorkflowCatalogType"},"WorkflowCatalogTypeResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a type definition is returned, `0` when not found.","default":0},"type":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogType"},{"type":"null"}],"description":"JSON Schema fragment referenced by workflow input/output schemas via `x-ag-type-ref`."}},"type":"object","title":"WorkflowCatalogTypeResponse"},"WorkflowCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of type definitions available.","default":0},"types":{"items":{"$ref":"#/components/schemas/WorkflowCatalogType"},"type":"array","title":"Types","description":"Shared JSON Schema fragments shipped with the product."}},"type":"object","title":"WorkflowCatalogTypesResponse"},"WorkflowCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowCreate"},"WorkflowCreateRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowCreate","description":"Workflow artifact to create. Must include a project-unique `slug`; `name`, `description`, `flags`, `tags`, and `meta` are optional."}},"type":"object","required":["workflow"],"title":"WorkflowCreateRequest"},"WorkflowEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowEdit"},"WorkflowEditRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowEdit","description":"Workflow fields to update. `id` is required and must match the path parameter; only supplied fields are modified."}},"type":"object","required":["workflow"],"title":"WorkflowEditRequest"},"WorkflowFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},"WorkflowFork":{"properties":{"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFork"},{"type":"null"}]},"revision":{"anyOf":[{"$ref":"#/components/schemas/RevisionFork"},{"type":"null"}]},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFork"},{"type":"null"}]},"variant":{"anyOf":[{"$ref":"#/components/schemas/VariantFork"},{"type":"null"}]},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowFork"},"WorkflowForkRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowFork","description":"Fork payload. Identify the source by `workflow_id` and `workflow_variant_id` (or equivalent slugs), supply a new `workflow_variant.slug` for the forked branch."}},"type":"object","required":["workflow"],"title":"WorkflowForkRequest"},"WorkflowResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"$ref":"#/components/schemas/Workflow"},{"type":"null"}],"description":"The workflow artifact."}},"type":"object","title":"WorkflowResponse"},"WorkflowRevision-Input":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"WorkflowRevision-Output":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"WorkflowRevisionCommit":{"properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"WorkflowRevisionCommit"},"WorkflowRevisionCommitRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionCommit","description":"Revision to append to a variant's history. Requires `workflow_variant_id` and optional `message`; `data` carries the new configuration."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCommitRequest"},"WorkflowRevisionCreate":{"properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowRevisionCreate"},"WorkflowRevisionCreateRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionCreate","description":"Revision to create on an existing variant. The revision is immutable once persisted; to change the payload, commit a new revision."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCreateRequest"},"WorkflowRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},"WorkflowRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},"WorkflowRevisionDeployRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact to deploy. One of the workflow refs is required."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant to deploy. Resolves to the latest revision of this variant."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific workflow revision to deploy."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment artifact. One of the environment refs is required."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Reference key to set on the environment revision. Defaults to `.revision` when omitted."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Commit message recorded on the resulting environment revision."}},"type":"object","title":"WorkflowRevisionDeployRequest"},"WorkflowRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowRevisionEdit"},"WorkflowRevisionEditRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionEdit","description":"Revision fields to update (lifecycle metadata only). Data and configuration are immutable — commit a new revision to change them."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionEditRequest"},"WorkflowRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false}},"type":"object","title":"WorkflowRevisionFlags"},"WorkflowRevisionFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"WorkflowRevisionFork"},"WorkflowRevisionResolveRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact; resolves against its latest revision."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant; resolves against its latest revision."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific workflow revision to resolve."},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Input"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursive depth for nested `@ag.references`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve in one call.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle unresolved references: `EXCEPTION` or `IGNORE`.","default":"exception"}},"type":"object","title":"WorkflowRevisionResolveRequest"},"WorkflowRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Output"},{"type":"null"}],"description":"The workflow revision with `@ag.references` replaced by their resolved payloads."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Metadata describing which references were resolved, depth reached, and errors."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"WorkflowRevisionResolveResponse"},"WorkflowRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Output"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"},"WorkflowRevisionRetrieveRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the workflow's default variant."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `workflow_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment artifact backing the deployment to resolve from."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant backing the deployment to resolve from."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific environment revision to resolve from."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Key into the environment revision's reference map. Required when retrieving via environment refs."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When true, resolve `@ag.references` tokens embedded in the revision configuration before returning it."}},"type":"object","title":"WorkflowRevisionRetrieveRequest","description":"Request body for `POST /workflows/revisions/retrieve`.\n\nResolves to a single revision by one or more reference types. Every\nreference supplied must agree with the resolved revision; contradictions\nreturn HTTP 400. For environment-backed lookup, `key` may be omitted when\n`workflow_ref` is provided, in which case it defaults to\n`.revision`."},"WorkflowRevisionsLog":{"properties":{"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowRevisionsLog"},"WorkflowRevisionsLogRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowRevisionsLog","description":"Log query. Supply `workflow_id`, `workflow_variant_id`, or `workflow_revision_id` to scope the log, and an optional `depth`."}},"type":"object","required":["workflow"],"title":"WorkflowRevisionsLogRequest"},"WorkflowRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"$ref":"#/components/schemas/WorkflowRevision-Output"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"},"WorkflowVariant":{"properties":{"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariant"},"WorkflowVariantCreate":{"properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantCreate"},"WorkflowVariantCreateRequest":{"properties":{"workflow_variant":{"$ref":"#/components/schemas/WorkflowVariantCreate","description":"Variant to create under an existing workflow. Requires `workflow_id` (the artifact) and a project-unique `slug`."}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantCreateRequest"},"WorkflowVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariantEdit"},"WorkflowVariantEditRequest":{"properties":{"workflow_variant":{"$ref":"#/components/schemas/WorkflowVariantEdit","description":"Variant fields to update. `id` is required and must match the path parameter."}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantEditRequest"},"WorkflowVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},"WorkflowVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},"WorkflowVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a variant is returned, `0` when none matched.","default":0},"workflow_variant":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariant"},{"type":"null"}],"description":"The workflow variant."}},"type":"object","title":"WorkflowVariantResponse"},"WorkflowVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in this page.","default":0},"workflow_variants":{"items":{"$ref":"#/components/schemas/WorkflowVariant"},"type":"array","title":"Workflow Variants","description":"Workflow variants matching the query."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowVariantsResponse"},"WorkflowsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in this page.","default":0},"workflows":{"items":{"$ref":"#/components/schemas/Workflow"},"type":"array","title":"Workflows","description":"Workflow artifacts matching the query."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor; pass `windowing.next` back to fetch the following page."}},"type":"object","title":"WorkflowsResponse"},"Workspace":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","required":["name","type"],"title":"Workspace"},"WorkspaceMemberResponse":{"properties":{"user":{"additionalProperties":true,"type":"object","title":"User"},"roles":{"items":{"$ref":"#/components/schemas/WorkspacePermission"},"type":"array","title":"Roles"}},"type":"object","required":["user","roles"],"title":"WorkspaceMemberResponse"},"WorkspacePermission":{"properties":{"role_name":{"type":"string","title":"Role Name"},"role_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Description"},"permissions":{"anyOf":[{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"type":"object","required":["role_name"],"title":"WorkspacePermission"},"WorkspaceResponse":{"properties":{"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"organization":{"type":"string","title":"Organization"},"members":{"anyOf":[{"items":{"$ref":"#/components/schemas/WorkspaceMemberResponse"},"type":"array"},{"type":"null"}],"title":"Members"}},"type":"object","required":["id","type","organization"],"title":"WorkspaceResponse"},"ee__src__models__api__organization_models__Organization":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"},"oss__src__models__api__organization_models__Organization":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","name":"Authorization","in":"header"}}},"tags":[{"name":"Status","description":"API server liveness and readiness status."},{"name":"Organizations","description":"Manage organizations, workspaces, SSO domains, and identity providers."},{"name":"Workspaces","description":"Manage workspaces within an organization and their members."},{"name":"Projects","description":"Manage projects within a workspace."},{"name":"Users","description":"User profile and account management — view profile, update username, reset password."},{"name":"Keys","description":"Create and revoke API keys used to authenticate programmatic requests."},{"name":"Workflows","description":"Workflow definitions — the runnable pipelines that back an application."},{"name":"Applications","description":"LLM applications — create, update, list, and delete apps."},{"name":"Evaluators","description":"Evaluator definitions — the metrics and judges used in evaluation runs."},{"name":"Testsets","description":"Test datasets — collections of input/output pairs used in evaluations."},{"name":"Testcases","description":"Individual test cases within a testset."},{"name":"Queries","description":"Saved query definitions used to filter and retrieve trace data."},{"name":"Traces","description":"Ingest and query traces, spans, and metrics from running applications."},{"name":"Invocations","description":"Run an application against a payload and capture the resulting trace."},{"name":"Annotations","description":"Attach evaluator-style feedback to existing traces and spans."},{"name":"Evaluations","description":"Evaluation runs — execute evaluators against variants and testsets."},{"name":"Environments","description":"Deployment environments (e.g. production, staging) and their active variants."},{"name":"Secrets","description":"Manage provider credentials and secret values stored in the vault."},{"name":"Tools","description":"External tool connections and OAuth integrations available to applications."},{"name":"Folders","description":"Organize applications and other resources into folder hierarchies."},{"name":"Webhooks","description":"Register and manage webhooks that fire on platform events."},{"name":"OpenTelemetry","description":"OTLP-compatible endpoints for ingesting traces directly from OpenTelemetry-instrumented services."},{"name":"Access","description":"Authentication discovery, organization access checks, and SSO callback endpoints."},{"name":"Billing","description":"Subscription, plan, and usage endpoints for workspace billing."},{"name":"Admin","description":"Internal administration endpoints — restricted to platform operators."},{"name":"Legacy","description":"Stable legacy endpoints retained for existing integrations — not deprecated, but new integrations should prefer the canonical surface."},{"name":"Deprecated","description":"Deprecated endpoints kept for backwards compatibility — avoid in new integrations."}],"security":[{"APIKeyHeader":[]}],"servers":[{"url":"/api"},{"url":"https://eu.cloud.agenta.ai/api"}]} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://agenta.ai/","email":"team@agenta.ai"},"version":"0.1.0"},"paths":{"/access/plans":{"get":{"tags":["Access"],"summary":"Fetch Plans","description":"Return the effective plan catalog: slug -> entitlement controls.\n\nThe shape mirrors what `AGENTA_ACCESS_PLANS` accepts, but fully parsed\nand validated. The frontend reads `flags`, `counters`, `gauges`, and\n`throttles` from here rather than slug-matching against constants.","operationId":"fetch_access_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Response Fetch Access Plans"}}}}}}},"/billing/stripe/events/":{"post":{"tags":["Billing"],"summary":"Handle Events","operationId":"handle_events","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/stripe/portals/":{"post":{"tags":["Billing"],"summary":"Create Portal User Route","operationId":"create_portal","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/stripe/checkouts/":{"post":{"tags":["Billing"],"summary":"Create Checkout User Route","operationId":"create_checkout","parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string","title":"Plan"}},{"name":"success_url","in":"query","required":true,"schema":{"type":"string","title":"Success Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/plans":{"get":{"tags":["Billing"],"summary":"Fetch Plan User Route","operationId":"fetch_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/plans/switch":{"post":{"tags":["Billing"],"summary":"Switch Plans User Route","operationId":"switch_plans","parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/subscription":{"get":{"tags":["Billing"],"summary":"Fetch Subscription User Route","operationId":"fetch_subscription","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/subscription/cancel":{"post":{"tags":["Billing"],"summary":"Cancel Subscription User Route","operationId":"cancel_plan","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/usage":{"get":{"tags":["Billing"],"summary":"Fetch Usage User Route","operationId":"fetch_usage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/catalog":{"get":{"tags":["Billing"],"summary":"Fetch Catalog","description":"Return the effective billing catalog with pricing merged in.\n\nEach entry carries `title`, `description`, `plan`, `type`, `features`,\nand (when configured) a `price` block sourced from the matching\n`AGENTA_BILLING_PRICING` entry. Pre-joining avoids a client-side\ncatalog × pricing merge by slug.","operationId":"fetch_billing_catalog","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Fetch Billing Catalog"}}}}}}},"/billing/pricing":{"get":{"tags":["Billing"],"summary":"Fetch Pricing","description":"Return the effective pricing map: plan slug -> normalized pricing.\n\nIncludes backend-resolved free/trial fallback markers so clients do\nnot need to duplicate billing default rules.","operationId":"fetch_billing_pricing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Response Fetch Billing Pricing"}}}}}}},"/events/query":{"post":{"tags":["Events"],"summary":"Query Events","operationId":"query_events_rpc","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/":{"get":{"tags":["Organizations"],"summary":"List Domains","description":"List all domains for the organization.","operationId":"list_organization_domains","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationDomainResponse"},"type":"array","title":"Response List Organization Domains"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Domain","description":"Create a new domain for verification.\n\nThis endpoint initiates the domain verification process by:\n1. Creating a domain record\n2. Generating a unique verification token\n3. Returning DNS configuration instructions\n\nThe user must add a DNS TXT record to verify ownership.","operationId":"create_organization_domain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/verify":{"post":{"tags":["Organizations"],"summary":"Verify Domain","description":"Verify domain ownership via DNS TXT record.\n\nThis endpoint checks for the presence of the verification TXT record\nand marks the domain as verified if found.","operationId":"verify_organization_domain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainVerify"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}/refresh":{"post":{"tags":["Organizations"],"summary":"Refresh Domain Token","description":"Refresh the verification token for an unverified domain.\n\nGenerates a new token and resets the 48-hour expiry window.\nThis is useful when the original token has expired.","operationId":"refresh_organization_domain_token","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}/reset":{"post":{"tags":["Organizations"],"summary":"Reset Domain","description":"Reset a verified domain to unverified state for re-verification.\n\nGenerates a new token and marks the domain as unverified.\nThis allows re-verification of already verified domains.","operationId":"reset_organization_domain","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/domains/{domain_id}":{"delete":{"tags":["Organizations"],"summary":"Delete Domain","description":"Delete a domain.","operationId":"delete_organization_domain","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/":{"get":{"tags":["Organizations"],"summary":"List Providers","description":"List all SSO providers for the organization.","operationId":"list_organization_providers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationProviderResponse"},"type":"array","title":"Response List Organization Providers"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Provider","description":"Create a new SSO provider configuration.\n\nSupported provider types:\n- oidc: OpenID Connect\n- saml: SAML 2.0 (coming soon)","operationId":"create_organization_provider","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/{provider_id}":{"patch":{"tags":["Organizations"],"summary":"Update Provider","description":"Update an SSO provider configuration.","operationId":"update_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Organizations"],"summary":"Delete Provider","description":"Delete an SSO provider configuration.","operationId":"delete_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/providers/{provider_id}/test":{"post":{"tags":["Organizations"],"summary":"Test Provider","description":"Test SSO provider connection.\n\nThis endpoint tests the OIDC provider configuration by fetching the\ndiscovery document and validating required endpoints exist.\nIf successful, marks the provider as valid (is_valid=true).\nIf failed, marks as invalid and deactivates (is_valid=false, is_active=false).","operationId":"test_organization_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/secrets/":{"get":{"tags":["Secrets"],"summary":"List Secrets","operationId":"list_secrets","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SecretResponseDTO"},"type":"array","title":"Response List Secrets"}}}}}},"post":{"tags":["Secrets"],"summary":"Create Secret","operationId":"create_secret","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretDTO"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/secrets/{secret_id_or_slug}":{"get":{"tags":["Secrets"],"summary":"Read Secret","operationId":"read_secret","parameters":[{"name":"secret_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Secret Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/secrets/{secret_id}":{"put":{"tags":["Secrets"],"summary":"Update Secret","operationId":"update_secret","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretDTO"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponseDTO"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"delete_secret","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/":{"post":{"tags":["Webhooks"],"summary":"Create Subscription","operationId":"create_webhook_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/test":{"post":{"tags":["Webhooks"],"summary":"Test Subscription","operationId":"test_webhook_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/{subscription_id}":{"get":{"tags":["Webhooks"],"summary":"Fetch Subscription","operationId":"fetch_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Webhooks"],"summary":"Edit Subscription","operationId":"edit_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete Subscription","operationId":"delete_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/query":{"post":{"tags":["Webhooks"],"summary":"Query Subscriptions","operationId":"query_webhook_subscriptions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/{subscription_id}/start":{"post":{"tags":["Webhooks"],"summary":"Start Subscription","operationId":"start_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/subscriptions/{subscription_id}/stop":{"post":{"tags":["Webhooks"],"summary":"Stop Subscription","operationId":"stop_webhook_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries":{"post":{"tags":["Webhooks"],"summary":"Create Delivery","operationId":"create_webhook_delivery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries/{delivery_id}":{"get":{"tags":["Webhooks"],"summary":"Fetch Delivery","operationId":"fetch_webhook_delivery","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries/query":{"post":{"tags":["Webhooks"],"summary":"Query Deliveries","operationId":"query_webhook_deliveries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/otlp/v1/traces":{"get":{"tags":["OpenTelemetry"],"summary":"Status check for OTLP","description":"Return the OTLP endpoint liveness status.\n\nLightweight readiness probe. Returns `{\"status\": \"ready\"}` when\nthe router is mounted. Intended for health checks from OTel\ncollectors before they start exporting traces.","operationId":"otlp_status","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectStatusResponse"}}}}}},"post":{"tags":["OpenTelemetry"],"summary":"Ingest traces via OTLP","description":"Ingest traces via the OTLP/HTTP protobuf protocol.\n\nThis endpoint accepts a serialized\n`ExportTraceServiceRequest` protobuf. Point any OTLP/HTTP\ncollector or SDK at `POST /otlp/v1/traces` and spans will flow\ninto the same ingest stream as the Agenta-native endpoints.\n\nUse this when you already have OTel instrumentation emitting\nOTLP. For new integrations that don't need raw OTLP, prefer\n`POST /tracing/spans/ingest` — it takes JSON, accepts Agenta's\nnested shape directly, and surfaces parse failures immediately.\n\n## Content-Type and size limit\n\nBinary protobuf only (`Content-Type: application/x-protobuf`).\nJSON OTLP is not accepted. Requests larger than the configured\nbatch limit (default 4 MB, see `OTLP_MAX_BATCH_BYTES`) return\n`413 Request Entity Too Large`.\n\n## Response\n\nSuccessful ingest returns `200 OK` with a serialized\n`ExportTraceServiceResponse` protobuf. Parse failures on the\nrequest body return `400`; malformed spans return `500`; quota\nexhaustion returns `403`. Like the native ingest paths, spans\nare queued on a Redis stream and persisted asynchronously — see\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).","operationId":"otlp_ingest","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectStatusResponse"}}}}}}},"/auth/discover":{"post":{"tags":["Access"],"summary":"Discover","description":"Discover authentication methods available for a given email.\n\nThis endpoint does NOT reveal:\n- Organization names\n- User existence (optionally - currently does for UX)\n- Detailed policy information\n\nReturns minimal information needed for authentication flow.","operationId":"discover_access","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/access":{"get":{"tags":["Access"],"summary":"Check Organization Access","description":"Check if the current session satisfies the organization's auth policy.\n\nReturns 200 when access is allowed, 403 with AUTH_UPGRADE_REQUIRED when not.","operationId":"check_organization_access","parameters":[{"name":"organization_id","in":"query","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/session/identities":{"patch":{"tags":["Access"],"summary":"Update Session Identities","operationId":"update_session_identities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdentitiesUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/sso/callback/{organization_slug}/{provider_slug}":{"get":{"tags":["Access"],"summary":"Sso Callback Redirect","description":"Custom SSO callback endpoint that redirects to SuperTokens.\n\nThis endpoint:\n1. Accepts clean URL path: /auth/sso/callback/{organization_slug}/{provider_slug}\n2. Validates the organization and provider exist\n3. Builds SuperTokens thirdPartyId: sso:{organization_slug}:{provider_slug}\n4. Redirects to SuperTokens callback: /auth/callback/{thirdPartyId}\n\nSuperTokens then handles:\n1. Exchange code for tokens (using our dynamic provider config)\n2. Get user info\n3. Call our sign_in_up override (creates user_identity, adds user_identities to session)\n4. Redirect to frontend with session cookie","operationId":"sso_callback_redirect","parameters":[{"name":"organization_slug","in":"path","required":true,"schema":{"type":"string","title":"Organization Slug"}},{"name":"provider_slug","in":"path","required":true,"schema":{"type":"string","title":"Provider Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/spans/ingest":{"post":{"tags":["Deprecated"],"summary":"Ingest Spans","description":"Ingest spans into the tracing backend.\n\nUse this endpoint to write full OpenTelemetry-style spans — including\nmulti-span hierarchies (parent → child → grandchild), attributes,\nreferences, events and links. For simple single-span annotations or\nevaluator outputs, prefer `POST /preview/tracing/traces/`\n(`create_simple_trace`) — it's a higher-level helper on top of this\nendpoint.\n\n## Request body\n\nProvide exactly one of:\n\n- `spans`: a flat list of spans. Parent/child relationships are\n expressed via `parent_id` on each span.\n- `traces`: a nested tree keyed by `trace_id` then by span name,\n where each node may contain a `spans` dict of its children. The\n query endpoint (`POST /tracing/spans/query`) returns this shape.\n\nEach span requires `trace_id`, `span_id`, `start_time`, `end_time`.\n`trace_id` must be a 32-char hex UUID, `span_id` a 16-char hex.\nAttributes follow the Agenta convention under the `ag` namespace\n(`ag.type`, `ag.data`, `ag.metrics`, `ag.references`) and may be\nsubmitted either as a flat dotted map (OTel wire format) or as a\nnested object — both are accepted.\n\n## Response\n\nReturns `202 Accepted` with the links (`trace_id` + `span_id`) for\nthe spans that were parsed into the ingest stream. See\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202)\nfor what `count < N submitted` means.\n\n## Example\n\n```json\n{\n \"spans\": [\n {\n \"trace_id\": \"f5a2efb40895881e938e2ebc070beca8\",\n \"span_id\": \"15f3df0731995245\",\n \"span_name\": \"completion_v0\",\n \"span_type\": \"workflow\",\n \"span_kind\": \"SPAN_KIND_SERVER\",\n \"start_time\": \"2026-04-16T18:18:18.491929Z\",\n \"end_time\": \"2026-04-16T18:18:20.415372Z\",\n \"attributes\": {\n \"ag.type.trace\": \"invocation\",\n \"ag.type.span\": \"workflow\",\n \"ag.data.inputs.country\": \"France\",\n \"ag.data.outputs\": \"Paris\"\n }\n }\n ]\n}\n```","operationId":"ingest_spans","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/spans/query":{"post":{"tags":["Deprecated"],"summary":"Query Spans","description":"Query spans and traces in the tracing backend.\n\nUse `focus` in the request body to control the response shape:\n\n- `\"trace\"` (default): returns a nested `traces` tree keyed by\n `trace_id` then by span name. Children hang off their parent's\n `spans` field. Best for rendering a trace waterfall.\n- `\"span\"`: returns a flat `spans` list. Best for paginating or\n filtering across all spans regardless of hierarchy.\n\nUse `oldest` / `newest` (unix seconds) to window the query and\n`limit` to cap the number of traces/spans returned.\n\nThe response preserves the Agenta `ag.*` attribute namespace and\nincludes computed metrics (`ag.metrics.duration`, `ag.metrics.tokens`,\n`ag.metrics.costs`) on each span. The `traces` tree returned here is\nthe same shape that `POST /tracing/spans/ingest` accepts as its\n`traces` field.","operationId":"query_spans_rpc","deprecated":true,"parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/analytics/query":{"post":{"tags":["Deprecated"],"summary":"Fetch Analytics","description":"Aggregate span metrics into time buckets.\n\nRuns filtering and windowing identical to `POST /tracing/spans/query`,\nthen bucketizes the matched spans by time and computes one or more\nmetric summaries per bucket. Use this to build charts of latency,\ncost, token usage, or custom numeric and categorical attributes.\n\n## Request body\n\n- `filtering` — same shape as the query endpoint, scoped to the spans\n that contribute to the analytics.\n- `windowing` — `oldest`/`newest` for the time range and `interval`\n for bucket width (in seconds).\n- `specs` — a list of `MetricSpec` entries describing which\n attributes to summarize and how. Each spec declares a `type`\n (`numeric/continuous`, `numeric/discrete`, `binary`,\n `categorical/single`, `categorical/multiple`, `string`, `json`,\n or `*` for auto) and a dotted `path` into the span (for example\n `attributes.ag.metrics.costs.cumulative.total`).\n\n## Response\n\nBuckets are returned in chronological order. Each bucket carries a\n`metrics` dict keyed by spec path. See [Tracing — the ag.*\nnamespace](/reference/api-guide/tracing#the-ag-attribute-namespace)\nfor the cumulative/incremental metric layout on each span.","operationId":"query_analytics","deprecated":true,"parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}},{"name":"specs","in":"query","required":false,"schema":{"title":"Specs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/traces/":{"post":{"tags":["Deprecated"],"summary":"Create Trace","description":"Create a trace from one or more spans.\n\nThis is the single-trace counterpart to `POST /tracing/spans/ingest`.\nAccepts the same `OTelTracingRequest` body (either `spans` flat list\nor `traces` nested tree) but requires all spans to share a single\n`trace_id`.\n\nReturns `202 Accepted` with the links for the spans that entered\nthe ingest stream. See [Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).\n\nMost callers should prefer `POST /tracing/spans/ingest` (no\nsingle-trace restriction) or `POST /simple/traces/` (helper for a\none-span payload).","operationId":"create_trace_tracing","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/traces/{trace_id}":{"get":{"tags":["Deprecated"],"summary":"Fetch Trace","description":"Fetch a single trace by `trace_id`.\n\nReturns the trace as a `traces` map keyed by `trace_id` → span\nname. The response is empty when the trace is not in the current\nproject. `trace_id` must be a 32-char hex UUID; any other format\nreturns `400`.\n\nFor flat-list retrieval across many traces, use\n`POST /tracing/spans/query` with `focus=\"span\"`.","operationId":"fetch_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Deprecated"],"summary":"Edit Trace","description":"Replace the spans of an existing trace.\n\nThe path `trace_id` must match the `trace_id` in the payload.\nMismatches return `400`. The payload must contain exactly one\ntrace; submitting spans from more than one trace returns `400`.\n\nEdit is implemented as a re-ingest: the new spans are written\nthrough the same stream as `POST /tracing/spans/ingest`, and the\n`202 Accepted` response reports how many spans entered the stream.\nThe worker reconciles the trace asynchronously.","operationId":"edit_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelTracingRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Deprecated"],"summary":"Delete Trace","description":"Delete a trace and all its spans.\n\nRemoves every span that shares this `trace_id` within the project.\nReturns `202 Accepted` with the links for the spans that were\nmarked for deletion. `trace_id` must be a 32-char hex UUID.\n\nDeletion is not reversible. For soft-removal semantics on a\nsingle-trace simple annotation, prefer\n`DELETE /simple/traces/{trace_id}`.","operationId":"delete_trace_tracing","deprecated":true,"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tracing/sessions/query":{"post":{"tags":["Deprecated"],"summary":"List Sessions","description":"List distinct session IDs from span attributes.\n\nReturns the distinct values of `ag.session.id` across spans in the\ncurrent project, in a windowed, cursor-paginated form. Use this to\ndrive a session-picker UI before drilling into the spans of each\nsession.\n\nThe `realtime` flag controls the cursor field:\n\n- `false` or unset — paginate by a stable `first_active` cursor\n (safe to iterate under heavy write load).\n- `true` — paginate by `last_active`, reflecting ongoing activity\n but less stable between pages.\n\nThe response includes a `windowing` cursor; pass it as `windowing.next`\non the next call to continue.","operationId":"query_sessions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/users/query":{"post":{"tags":["Deprecated"],"summary":"List Users","description":"List distinct user IDs from span attributes.\n\nReturns the distinct values of `ag.user.id` across spans in the\ncurrent project. Same pagination and `realtime` semantics as\n`POST /tracing/sessions/query`; pass the returned `windowing.next`\ncursor on subsequent calls.","operationId":"query_users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tracing/spans/analytics":{"post":{"tags":["Legacy"],"summary":"Fetch Legacy Analytics","description":"Aggregate span metrics using the fixed legacy schema.\n\nReturns time-bucketed aggregates with a fixed set of fields\n(`count`, `duration`, `costs`, `tokens`) split into `total` and\n`errors`. The shape predates `specs`-driven analytics and is kept\nfor the existing observability dashboards that consume it.\n\nNew integrations should prefer `POST /tracing/analytics/query`,\nwhich accepts `specs` and can summarize arbitrary span attributes,\nnot just the four fixed metrics.","operationId":"fetch_legacy_analytics","parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OldAnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/":{"get":{"tags":["Traces"],"summary":"Fetch Traces","description":"Fetch multiple traces by known IDs.\n\nPoint lookup endpoint. Accepts either repeated query params\n(`?trace_id=a&trace_id=b`) or a comma-separated single param\n(`?trace_ids=a,b`). Results are deduplicated. Returns `400` when\nno IDs are supplied. Use `POST /traces/query` for filter-based\nretrieval.","operationId":"fetch_traces","parameters":[{"name":"trace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Trace Id"}},{"name":"trace_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Traces"],"summary":"Create Trace","description":"Create a single trace from the canonical `Trace` shape.\n\nAccepts one trace (`trace_id` plus a nested `spans` tree) and\nreturns the resulting `trace_id`. The payload is internally\nnormalized into the same ingest pipeline as\n`POST /tracing/spans/ingest`.\n\nReturns `202 Accepted`. The async write contract applies — see\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202).\n\nUse this when you want to operate on whole traces in the\nlist-shaped `Trace` payload. For flat-list ingestion or multiple\ntraces in one call, use `POST /traces/ingest` (plural).","operationId":"create_trace","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/query":{"post":{"tags":["Traces"],"summary":"Query Traces","description":"Query traces as a list of canonical `Trace` records.\n\nThin wrapper over the shared span-query backend that forces\n`focus = \"trace\"` and returns the list-shaped `Traces` payload\n(one entry per trace, each with its nested `spans` tree). Use this\nto build a table of runs, where each row is a trace.\n\n## Request body\n\n- `filtering` — span-level conditions, same dialect as\n `POST /spans/query`. A trace matches when any of its spans\n matches.\n- `windowing` — cursor pagination and time range.\n- `query_ref`, `query_variant_ref`, `query_revision_ref` — resolve\n filters and windowing from a saved query revision. If the\n revision's stored `formatting.focus` is `span`, this endpoint\n returns `409` — call `POST /spans/query` instead.\n\n## Response\n\nReturns `{count, traces: [...]}`. For the per-trace map shape\nkeyed by `trace_id`, call `POST /tracing/spans/query` with\n`focus=\"trace\"`.","operationId":"query_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/{trace_id}":{"get":{"tags":["Traces"],"summary":"Fetch Trace","description":"Fetch a single trace by `trace_id` in the canonical `Trace` shape.\n\nReturns `{count: 1, trace}` when found and `{count: 0}` otherwise.\n`trace_id` must be a 32-char hex UUID; any other format returns\n`400`. The reserved path segments `query` and `ingest` return\n`405` to disambiguate from the sibling query/ingest endpoints.","operationId":"fetch_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Traces"],"summary":"Edit Trace","description":"Replace a trace's spans using the canonical `Trace` shape.\n\nPath `trace_id` must match the `trace_id` inside the payload's\n`trace.trace_id`. Mismatches return `400`. The payload must\ndescribe exactly one trace.\n\nEdit re-ingests the spans through the same stream as\n`POST /tracing/spans/ingest`. Returns `202 Accepted` once the\nspans are queued. The worker reconciles the trace asynchronously.","operationId":"edit_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Traces"],"summary":"Delete Trace","operationId":"delete_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/ingest":{"post":{"tags":["Deprecated"],"summary":"Ingest Traces","description":"Ingest a batch of traces in the canonical `Traces` list shape.\n\nAccepts a list of trace records (each `trace_id` plus nested\n`spans`). Internally normalized into the same pipeline as\n`POST /tracing/spans/ingest`. Use this when you already hold\ndata in the `Traces` list shape — for example, replaying traces\nfrom another environment.\n\nReturns `202 Accepted` with the list of accepted `trace_ids`. See\n[Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202)\nfor what `count` means here.","operationId":"ingest_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracesRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/spans/":{"get":{"tags":["Traces"],"summary":"Fetch Spans","description":"Fetch spans by known IDs.\n\nPoint lookup endpoint. At least one of `trace_id` or `span_id`\nmust be present. Both accept either repeated query params\n(`?trace_id=a&trace_id=b`) or a comma-separated single param\n(`?trace_ids=a,b`); results are deduplicated.\n\nReturns `400` when neither IDs nor trace IDs are supplied.\nFor filter-based retrieval, use `POST /spans/query`.","operationId":"fetch_spans","parameters":[{"name":"trace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Trace Id"}},{"name":"trace_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Ids"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Span Id"}},{"name":"span_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/query":{"post":{"tags":["Traces"],"summary":"Query Spans","description":"Query spans as a flat list.\n\nThin wrapper over the shared span-query backend that forces\n`focus = \"span\"`. Use this when you want a paged list of spans\nregardless of trace hierarchy — for example, to surface all LLM\ncalls across traces or to stream spans into an external system.\n\n## Request body\n\n- `filtering` — span-level conditions (fields on `Span` and\n `attributes` paths).\n- `windowing` — cursor pagination and time range (see\n [Query Pattern](/reference/api-guide/query-pattern#windowing)).\n- `query_ref`, `query_variant_ref`, `query_revision_ref` — resolve\n filtering and windowing from a saved query revision. If the\n revision's stored `formatting.focus` is `trace`, this endpoint\n returns `409` — call `POST /traces/query` for that revision.\n\n## Response\n\nReturns `{count, spans}`. For the nested per-trace shape, call\n`POST /traces/query` or `POST /tracing/spans/query` with\n`focus=\"trace\"` instead.","operationId":"query_spans","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/analytics/query":{"post":{"tags":["Traces"],"summary":"Query Analytics","operationId":"query_spans_analytics","parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}],"title":"Focus"}},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}],"title":"Format"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Oldest"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Newest"}},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"}},{"name":"rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},{"name":"filter","in":"query","required":false,"schema":{"title":"Filter"}},{"name":"specs","in":"query","required":false,"schema":{"title":"Specs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/sessions/query":{"post":{"tags":["Traces"],"summary":"Query Sessions","operationId":"query_spans_sessions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/users/query":{"post":{"tags":["Traces"],"summary":"Query Users","operationId":"query_spans_users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spans/{trace_id}/{span_id}":{"get":{"tags":["Traces"],"summary":"Fetch Span","description":"Fetch a single span by `trace_id` + `span_id`.\n\nReturns `{count: 1, span}` when found and `{count: 0}` otherwise.\nBoth IDs are required path parameters. Use this to drill in on one\nspan from a trace waterfall without pulling the full tree.","operationId":"fetch_span","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"path","required":true,"schema":{"type":"string","title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/":{"post":{"tags":["Traces"],"summary":"Create Trace","description":"Create a single-span \"simple\" trace.\n\nThis endpoint is a higher-level helper for the common case of\nrecording one self-contained event — an evaluator output, a human\nannotation, a feedback entry, a manually-logged inference. It\ncreates one span under a fresh `trace_id` and returns the resulting\nhandle.\n\n## When to use this vs. `/tracing/spans/ingest`\n\n- **Use this endpoint** when you have a single payload to record\n with no internal hierarchy: evaluation results, human feedback,\n manual annotations, or a standalone completion. It takes care of\n `trace_id`/`span_id` generation, attribute namespacing, and link\n wiring for you.\n- **Use `POST /tracing/spans/ingest`** when you need multi-span\n traces (e.g. an agent run with nested tool calls and LLM spans),\n precise control over IDs, timings, or parent/child relationships,\n or when forwarding traces from another OTel-compatible source.\n\n## Request body\n\nSend a `trace` object with:\n\n- `origin` — who produced the trace (`human`, `auto`, `custom`).\n- `kind` — intent (`adhoc`, `eval`, `play`).\n- `channel` — transport that produced it (`sdk`, `api`, `web`, `otlp`).\n- `data` — required dict carrying the actual payload (inputs,\n outputs, or evaluator results).\n- `tags`, `meta` — optional free-form dicts for filtering and\n metadata.\n- `references` — optional links to Agenta entities (application,\n variant, revision, evaluator, testset, etc.).\n- `links` — optional OTel-style links to other traces/spans.\n\nUse `PATCH /preview/tracing/traces/{trace_id}` to update fields\nlater, `GET` to fetch, and `DELETE` to remove. See\n[Tracing — References and links](/reference/api-guide/tracing#references-and-entity-linking)\nfor when to use `references` vs. `links`.","operationId":"create_simple_trace","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceCreateRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/{trace_id}":{"get":{"tags":["Traces"],"summary":"Fetch Trace","description":"Fetch a single \"simple\" trace by `trace_id`.\n\nReturns the high-level `SimpleTrace` view (origin, kind, channel,\ndata, references, links) rather than the raw OTel span shape. Use\nthis for evaluation results, feedback entries, and annotations\ncreated via `POST /simple/traces/`. For the span-level view of the\nsame trace, call `GET /tracing/traces/{trace_id}`.","operationId":"fetch_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Traces"],"summary":"Edit Trace","description":"Update an existing \"simple\" trace.\n\nSupplied fields overwrite the existing trace. Fields not present\nin the request body are left unchanged. `data` is required (the\npayload being recorded); `tags`, `meta`, `references`, and\n`links` are optional.\n\nThis endpoint is intended for annotations and feedback entries,\nwhere the `data.outputs` is the part that typically gets revised.\nFor span-level edits, use `PUT /tracing/traces/{trace_id}`.","operationId":"edit_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Traces"],"summary":"Delete Trace","description":"Delete a \"simple\" trace.\n\nRemoves the single-span trace created via\n`POST /simple/traces/`. Returns the `(trace_id, span_id)` pair\nthat was removed, for logging or downstream cleanup. Use\n`DELETE /tracing/traces/{trace_id}` when operating on a\nmulti-span trace.","operationId":"delete_simple_trace","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/traces/query":{"post":{"tags":["Traces"],"summary":"Query Traces","description":"Query \"simple\" traces.\n\nFilter annotations and feedback by `origin`, `kind`, `channel`,\n`tags`, `meta`, `references`, and `links`. The shape of the\nrequest body is described in the\n[Simple Endpoints](/reference/api-guide/simple-endpoints#query-traces)\nguide, including the distinction between filtering via\n`trace.links` (inbound links on the trace) and the top-level\n`links` (batch GET by the trace's own IDs).\n\nUse this endpoint when building feedback or annotation UIs.\nFor span-level queries across all trace types, use\n`POST /tracing/spans/query`.","operationId":"query_simple_traces","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTraceQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTracesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/":{"post":{"tags":["Invocations"],"summary":"Create Invocation","operationId":"create_invocation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/{trace_id}":{"get":{"tags":["Invocations"],"summary":"Fetch Invocation","operationId":"fetch_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Invocations"],"summary":"Edit Invocation","operationId":"edit_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Invocations"],"summary":"Delete Invocation","operationId":"delete_invocation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invocations/query":{"post":{"tags":["Invocations"],"summary":"Query Invocations","operationId":"query_invocations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvocationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/":{"post":{"tags":["Annotations"],"summary":"Create Annotation","operationId":"create_annotation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/{trace_id}":{"get":{"tags":["Annotations"],"summary":"Fetch Annotation","operationId":"fetch_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Annotations"],"summary":"Edit Annotation","operationId":"edit_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Annotations"],"summary":"Delete Annotation","operationId":"delete_annotation","parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id"}},{"name":"span_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/annotations/query":{"post":{"tags":["Annotations"],"summary":"Query Annotations","operationId":"query_annotations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/":{"get":{"tags":["Testcases"],"summary":"Fetch Testcases","operationId":"fetch_testcases","parameters":[{"name":"testcase_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Testcase Id"}},{"name":"testcase_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testcase Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/{testcase_id}":{"get":{"tags":["Testcases"],"summary":"Fetch Testcase","operationId":"fetch_testcase","parameters":[{"name":"testcase_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testcase Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testcases/query":{"post":{"tags":["Testcases"],"summary":"Query Testcases","operationId":"query_testcases","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestcasesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/":{"post":{"tags":["Testsets"],"summary":"Create Testset","description":"Create an empty testset artifact.\n\nOnly creates the artifact row (name, slug, metadata). No variant or\nrevision is created; add testcases by committing a revision with\n`/testsets/revisions/commit`, or use `/simple/testsets/` to create\na testset with seed rows in a single call.","operationId":"create_testset","parameters":[{"name":"testset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset","description":"Fetch a testset artifact by ID.\n\nReturns the artifact row only; testcases are stored on revisions and\nmust be fetched via `/testsets/revisions/retrieve` or\n`/testcases/query`.","operationId":"fetch_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset","description":"Update metadata on a testset artifact.\n\nOnly artifact-level fields (name, description, slug, flags, tags,\nmeta, folder) are editable here. Testcase changes are committed as\nnew revisions via `/testsets/revisions/commit`.","operationId":"edit_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset","description":"Soft-delete a testset artifact.\n\nSets `deleted_at` on the testset. Archived testsets are excluded\nfrom `/testsets/query` unless `include_archived` is true. Use\n`/testsets/{testset_id}/unarchive` to restore.","operationId":"archive_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/{testset_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset","description":"Restore a previously archived testset artifact.\n\nClears `deleted_at` on the testset so it shows up in queries again.","operationId":"unarchive_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/query":{"post":{"tags":["Testsets"],"summary":"Query Testsets","description":"List and filter testset artifacts.\n\nFollows the shared query pattern: attribute filters on the testset\nbody, optional `testset_refs` to restrict by id/slug, cursor-based\npagination via `windowing`. Only artifact rows are returned — no\ntestcases. See the Query Pattern guide for the full body shape.","operationId":"query_testsets","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/":{"post":{"tags":["Testsets"],"summary":"Create Testset Variant","description":"Create a variant (history branch) on a testset.\n\nMost testsets only need one variant. Create additional variants to\nmaintain parallel revision histories (for example, a staging branch\nseparate from the main one).","operationId":"create_testset_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset Variant","description":"Fetch a variant by ID.\n\nReturns the variant row (branch metadata). Use\n`/testsets/revisions/retrieve` to get the latest revision on this\nvariant.","operationId":"fetch_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset Variant","description":"Update metadata on a testset variant.\n\nVariants hold only branch-level metadata (name, description, slug,\nflags, tags, meta). Testcase content belongs to revisions.","operationId":"edit_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset Variant","description":"Soft-delete a testset variant.\n\nArchiving a variant excludes it from `/testsets/variants/query`\nunless `include_archived` is true. Its revisions stay in place and\ncan still be retrieved by ID.","operationId":"archive_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/{testset_variant_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset Variant","description":"Restore a previously archived testset variant.","operationId":"unarchive_testset_variant","parameters":[{"name":"testset_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/query":{"post":{"tags":["Testsets"],"summary":"Query Testset Variants","description":"List and filter testset variants.\n\nUse `testset_refs` to scope to one or more parent testsets. Use\n`testset_variant_refs` to restrict by specific variant id/slug.","operationId":"query_testset_variants","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/variants/fork":{"post":{"tags":["Testsets"],"summary":"Fork Testset Variant","description":"Fork an existing testset variant into a new variant.\n\nThe new variant starts from the source variant's head revision (or a\npinned revision if `testset_revision_ref` is provided). Provide `slug`\nand `name` in the fork body to identify the new variant.","operationId":"fork_testset_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantForkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/":{"post":{"tags":["Testsets"],"summary":"Create Testset Revision","description":"Create and commit the initial revision for a testset variant.\n\nMost callers instead use `/testsets/revisions/commit`, which writes\nthe testcases and the revision together. This endpoint commits an\ninitial revision with the `initial` guard, preventing duplicate\ninitial revisions for the same variant.","operationId":"create_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Testset Revision","operationId":"fetch_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}},{"name":"include_testcases","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Include full testcase objects. Default (null/true): include testcases. False: return only testcase IDs.","title":"Include Testcases"},"description":"Include full testcase objects. Default (null/true): include testcases. False: return only testcase IDs."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Testset Revision","operationId":"edit_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Testset Revision","operationId":"archive_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Testset Revision","operationId":"unarchive_testset_revision","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/download":{"post":{"tags":["Testsets"],"summary":"Fetch Testset Revision To File","operationId":"fetch_testset_revision_to_file","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}},{"name":"file_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["csv","json"],"type":"string"},{"type":"null"}],"description":"File type to download. Supported: 'csv' or 'json'. Default: 'csv'.","default":"csv","title":"File Type"},"description":"File type to download. Supported: 'csv' or 'json'. Default: 'csv'."},{"name":"file_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional custom filename for the download.","title":"File Name"},"description":"Optional custom filename for the download."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/{testset_revision_id}/upload":{"post":{"tags":["Testsets"],"summary":"Create Testset Revision From File","operationId":"create_testset_revision_from_file","parameters":[{"name":"testset_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Revision Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_testset_revision_from_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/query":{"post":{"tags":["Testsets"],"summary":"Query Testset Revisions","operationId":"query_testset_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/commit":{"post":{"tags":["Testsets"],"summary":"Commit Testset Revision","operationId":"commit_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/retrieve":{"post":{"tags":["Testsets"],"summary":"Retrieve Testset Revision","operationId":"retrieve_testset_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testsets/revisions/log":{"post":{"tags":["Testsets"],"summary":"Log Testset Revisions","operationId":"log_testset_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestsetRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/":{"post":{"tags":["Testsets"],"summary":"Create Simple Testset","operationId":"create_simple_testset","parameters":[{"name":"testset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}":{"get":{"tags":["Testsets"],"summary":"Fetch Simple Testset","operationId":"fetch_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Testsets"],"summary":"Edit Simple Testset","operationId":"edit_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/archive":{"post":{"tags":["Testsets"],"summary":"Archive Simple Testset","operationId":"archive_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/unarchive":{"post":{"tags":["Testsets"],"summary":"Unarchive Simple Testset","operationId":"unarchive_simple_testset","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/upload":{"post":{"tags":["Testsets"],"summary":"Edit Simple Testset From File","operationId":"edit_simple_testset_from_file","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_edit_simple_testset_from_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/{testset_id}/download":{"post":{"tags":["Testsets"],"summary":"Fetch Simple Testset To File","operationId":"fetch_simple_testset_to_file","parameters":[{"name":"testset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Testset Id"}},{"name":"file_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["csv","json"],"type":"string"},{"type":"null"}],"title":"File Type"}},{"name":"file_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/query":{"post":{"tags":["Testsets"],"summary":"Query Simple Testsets","operationId":"query_simple_testsets","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/testsets/upload":{"post":{"tags":["Testsets"],"summary":"Create Simple Testset From File","operationId":"create_simple_testset_from_file","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_simple_testset_from_file"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleTestsetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/":{"post":{"tags":["Queries"],"summary":"Create Query","operationId":"create_query","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query","operationId":"fetch_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query","operationId":"edit_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query","operationId":"archive_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/{query_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query","operationId":"unarchive_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/query":{"post":{"tags":["Queries"],"summary":"Query Queries","operationId":"query_queries","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}},{"name":"query_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Query Ids"}},{"name":"query_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"}},{"name":"query_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Query Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/":{"post":{"tags":["Queries"],"summary":"Create Query Variant","operationId":"create_query_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query Variant","operationId":"fetch_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query Variant","operationId":"edit_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query Variant","operationId":"archive_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/{query_variant_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query Variant","operationId":"unarchive_query_variant","parameters":[{"name":"query_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/query":{"post":{"tags":["Queries"],"summary":"Query Query Variants","operationId":"query_query_variants","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/variants/fork":{"post":{"tags":["Queries"],"summary":"Fork Query Variant","description":"Fork an existing query variant into a new variant.\n\nThe new variant starts from the source variant's head revision (or a\npinned revision if `query_revision_ref` is provided). Provide `slug`\nand `name` in the fork body to identify the new variant.","operationId":"fork_query_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantForkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/retrieve":{"post":{"tags":["Queries"],"summary":"Retrieve Query Revision","operationId":"retrieve_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/":{"post":{"tags":["Queries"],"summary":"Create Query Revision","operationId":"create_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}":{"get":{"tags":["Queries"],"summary":"Fetch Query Revision","operationId":"fetch_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Query Revision","operationId":"edit_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Query Revision","operationId":"archive_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/{query_revision_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Query Revision","operationId":"unarchive_query_revision","parameters":[{"name":"query_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/query":{"post":{"tags":["Queries"],"summary":"Query Query Revisions","operationId":"query_query_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/commit":{"post":{"tags":["Queries"],"summary":"Commit Query Revision","operationId":"commit_query_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queries/revisions/log":{"post":{"tags":["Queries"],"summary":"Log Query Revisions","operationId":"log_query_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/":{"post":{"tags":["Queries"],"summary":"Create Simple Query","operationId":"create_simple_query","parameters":[{"name":"query_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}":{"get":{"tags":["Queries"],"summary":"Fetch Simple Query","operationId":"fetch_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Queries"],"summary":"Edit Simple Query","operationId":"edit_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}/archive":{"post":{"tags":["Queries"],"summary":"Archive Simple Query","operationId":"archive_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/{query_id}/unarchive":{"post":{"tags":["Queries"],"summary":"Unarchive Simple Query","operationId":"unarchive_simple_query","parameters":[{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Query Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queries/query":{"post":{"tags":["Queries"],"summary":"Query Simple Queries","operationId":"query_simple_queries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueryQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/":{"post":{"tags":["Folders"],"summary":"Create Folder","description":"Create a folder.\n\nThe folder name must match `[\\w -]+` (letters, digits, underscore,\nspace, hyphen); other characters return `400`. The resulting path\n(the slug joined to the parent's path with a dot) must be unique\nwithin the project, otherwise the call returns `409`. Passing a\n`parent_id` that does not exist returns `404`. Paths are capped at\n10 levels of nesting and slugs at 64 characters.","operationId":"create_folder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/{folder_id}":{"get":{"tags":["Folders"],"summary":"Fetch Folder","description":"Fetch one folder by id.\n\nReturns a single `folder` envelope. If the folder does not exist in\nthe caller's project, `count` is `0` and `folder` is omitted.","operationId":"fetch_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Folders"],"summary":"Edit Folder","description":"Rename or move a folder.\n\nUse this endpoint to change a folder's `slug`, `name`, or\n`parent_id`. The `id` in the request body must match the path\nparameter or the call returns `400`. Name and path-uniqueness rules\nfrom create apply: invalid names return `400`, a path collision\nreturns `409`, and a missing `parent_id` returns `404`.","operationId":"edit_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Folders"],"summary":"Delete Folder","description":"Delete a folder and every descendant.\n\nRemoves the folder identified by `folder_id` together with every\nfolder beneath it, in a single transaction. Deletion is\nunconditional; there is no archive or unarchive step. Resources\nthat were assigned to any of the removed folders continue to\nexist and are no longer reachable through the deleted folder.","operationId":"delete_folder","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/folders/query":{"post":{"tags":["Folders"],"summary":"Query Folders","description":"Filter folders inside the caller's project.\n\nFollows the general response envelope described in the\n[Query Pattern](/reference/api-guide/query-pattern) guide, but\ndoes not accept `windowing` or `include_archived` — folders are\nhard-deleted and the response always returns the full filtered\nset. Filters include `id`/`ids`, `slug`/`slugs`, `kind`/`kinds`,\n`parent_id`/`parent_ids` (use `parent_id: null` for root folders),\n`path`/`paths`, and `prefix`/`prefixes` for subtree lookup.","operationId":"query_folders","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FoldersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/streams/":{"get":{"tags":["Sessions","Sessions"],"summary":"Fetch Session Stream","operationId":"fetch_session_stream","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStreamResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Sessions","Sessions"],"summary":"Set Session Stream","operationId":"set_session_stream","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStreamCommandRequestModel"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStreamCommandResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Sessions","Sessions"],"summary":"Delete Session Stream","operationId":"delete_session_stream","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Session Stream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/streams/query":{"post":{"tags":["Sessions","Sessions"],"summary":"Query Session Streams","operationId":"query_session_streams","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStreamQueryRequestModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStreamsResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/streams/detach":{"post":{"tags":["Sessions","Sessions"],"summary":"Detach Session Stream","operationId":"detach_session_stream","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionDetachRequestModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Detach Session Stream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/streams/heartbeat":{"post":{"tags":["Sessions","Sessions"],"summary":"Heartbeat Session Stream","operationId":"heartbeat_session_stream","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionHeartbeatRequestModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionHeartbeatResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/types/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Types","description":"List shared catalog types.\n\nCatalog types are reusable JSON-Schema building blocks referenced from\ntemplate schemas (for example `message`, `prompt-template`). Types are\nread-only and version with the product.\nSee the [Applications guide](/reference/api-guide/applications#catalog).","operationId":"list_application_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTypesResponse"}}}}}}},"/applications/catalog/templates/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Templates","description":"List application templates available in the catalog.\n\nTemplates describe the handler (`uri`) and JSON schemas used to create\na new application. Pass `include_archived=true` to include retired\ntemplates (useful when editing applications created from an old\ntemplate). Templates are global and read-only.","operationId":"list_application_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}":{"get":{"tags":["Applications"],"summary":"Fetch Application Catalog Template","description":"Fetch one application template by key.\n\nUse this to inspect the exact `uri`, `data`, and JSON Schemas for a\ntemplate before creating an application from it. `template_key` comes\nfrom the `key` field of a template returned by the list endpoint\n(for example `completion`, `chat`, `hook`).","operationId":"fetch_application_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}/presets/":{"get":{"tags":["Applications"],"summary":"List Application Catalog Presets","description":"List presets scoped to a template.\n\nPresets are named parameter sets (for example a curated prompt +\nmodel combination) that scaffold the first revision when creating an\napplication from a template. Pass `include_archived=true` to include\nretired presets.","operationId":"list_application_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Applications"],"summary":"Fetch Application Catalog Preset","description":"Fetch one preset by key within a template.\n\nReturns the preset's `data` so clients can use it as the payload for a\nfirst revision when creating an application from a template.","operationId":"fetch_application_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/":{"post":{"tags":["Applications"],"summary":"Create Application","description":"Create an application artifact only.\n\nReturns an empty application without any variants or revisions.\nMost callers should use `POST /simple/applications/` instead — it\ncreates the artifact, a default variant, and a first committed\nrevision in one request.\nSee the [Applications guide](/reference/api-guide/applications).","operationId":"create_application","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application","description":"Fetch one application artifact by ID.\n\nReturns artifact-level fields only. To get the current variant,\nrevision, and `data` in a single call, use\n`GET /simple/applications/{application_id}`.","operationId":"fetch_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application","description":"Edit artifact-level fields on an application.\n\nEditable fields: `description`, `flags`, `tags`, `meta`. Editing `name`\nis currently disabled and returns `400`. Prompt or model-parameter\nchanges go through `POST /applications/revisions/commit`, not this\nendpoint.","operationId":"edit_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application","description":"Soft-delete an application.\n\nArchiving sets `deleted_at` on the application and hides it from\nqueries that don't set `include_archived: true`. Its variants and\nrevisions become unreachable from listing but their IDs remain\nresolvable so historical traces stay intact.\nSee [Versioning](/reference/api-guide/versioning#archive-and-unarchive).","operationId":"archive_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/{application_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application","description":"Restore a previously archived application.\n\nClears `deleted_at` and makes the application visible to standard\nqueries again. Safe to call on an already-active application; it is a\nno-op in that case.","operationId":"unarchive_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/query":{"post":{"tags":["Applications"],"summary":"Query Applications","description":"Query application artifacts.\n\nReturns only artifact-level fields; the variant, revision, and `data`\npayload are not included. For one row per application with those\nmerged in, use `POST /simple/applications/query`.\nSee [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_applications","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/":{"post":{"tags":["Applications"],"summary":"Create Application Variant","description":"Create a new variant on an existing application.\n\nA variant is an independent branch of the application's history. The\nnew variant starts empty — call `POST /applications/revisions/commit`\nto add its first revision. Use `POST /applications/variants/fork` when\nyou want the new variant to inherit an existing revision history.","operationId":"create_application_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application Variant","description":"Fetch one variant by ID.\n\nReturns variant-level fields. To get the variant's tip revision and\nits `data`, call `POST /applications/revisions/retrieve` with\n`application_variant_ref`.","operationId":"fetch_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application Variant","description":"Edit a variant's header fields (`name`, `description`, `tags`, `meta`).\n\nConfiguration changes go through a new commit via\n`POST /applications/revisions/commit`. This endpoint only touches\nvariant-level metadata.","operationId":"edit_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application Variant","description":"Soft-delete a variant.\n\nThe variant and its revisions are hidden from queries unless\n`include_archived: true` is sent. Revision IDs remain resolvable so\nhistorical traces are preserved.","operationId":"archive_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/{application_variant_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application Variant","description":"Restore a previously archived variant.","operationId":"unarchive_application_variant","parameters":[{"name":"application_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/query":{"post":{"tags":["Applications"],"summary":"Query Application Variants","description":"Query variants across one or more applications.\n\nFilters are parsed from both query-string parameters and the request\nbody; body values take precedence. Use `application_refs` to scope to\nspecific applications, `application_variant_refs` to narrow to\nspecific variants.\nSee [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_application_variants","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}},{"name":"application_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Application Ids"}},{"name":"application_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"}},{"name":"application_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Application Slugs"}},{"name":"application_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"}},{"name":"application_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Application Variant Ids"}},{"name":"application_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"}},{"name":"application_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Application Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/variants/fork":{"post":{"tags":["Applications"],"summary":"Fork Application Variant","description":"Fork an existing variant into a new variant on the same application.\n\nUse this to experiment without touching the source variant's history.\nThe fork copies the source variant's revisions up to the specified\nrevision (or tip) into the new variant, then commits the supplied\n`revision` object on top. Both `variant` and `revision` sub-objects\nin the request must be present; the server returns `count: 0` when\neither is missing. Returns `400 Bad Request` if the fork target is\ninvalid (for example, the source variant or revision cannot be\nlocated in this application's lineage).","operationId":"fork_application_variant","parameters":[{"name":"application_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantForkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/retrieve":{"post":{"tags":["Applications"],"summary":"Retrieve Application Revision","description":"Retrieve one application revision by reference.\n\nAccepts application / variant / revision references for direct lookup,\nor an environment reference (with optional `key`) to resolve the\ncurrently-deployed revision in that environment. Returns the revision\nincluding its `data` payload (URL, parameters, schemas), which clients\nuse to invoke the application.\nSet `resolve: true` to inline embedded references inside `data`.","operationId":"retrieve_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/deploy":{"post":{"tags":["Applications"],"summary":"Deploy Application Revision","description":"Deploy an application revision to an environment.\n\nWrites a reference from the environment revision to the application\nrevision under `key` (default: `{application_slug}.revision`). Clients\nthat subsequently call `/applications/revisions/retrieve` with the\nsame `environment_ref` and `key` resolve to this revision.\nSee the [Applications guide](/reference/api-guide/applications#deployment).","operationId":"deploy_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/":{"post":{"tags":["Applications"],"summary":"Create Application Revision","description":"Create and commit the initial revision for an application variant.\n\nAdvanced use only. For normal development loops prefer\n`POST /applications/revisions/commit`, which commits the new revision\nas the variant's tip and assigns a version number.","operationId":"create_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}":{"get":{"tags":["Applications"],"summary":"Fetch Application Revision","description":"Fetch one revision by its ID.\n\nReturns the revision including its `data` payload. For lookup by\nvariant slug or environment, use `POST /applications/revisions/retrieve`.","operationId":"fetch_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Application Revision","description":"Edit a revision's header fields only.\n\nRevisions are immutable snapshots; `data`, `author`, `date`, and\n`message` cannot be changed. This endpoint updates header fields such\nas `description` and `tags`. To change configuration, commit a new\nrevision with `POST /applications/revisions/commit`.","operationId":"edit_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Application Revision","description":"Soft-delete a revision.\n\nArchived revisions are hidden from `/query` and `/log` responses\nunless `include_archived: true` is set. The ID remains resolvable for\ntraces and deployed environment references.","operationId":"archive_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/{application_revision_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Application Revision","description":"Restore a previously archived revision.","operationId":"unarchive_application_revision","parameters":[{"name":"application_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/query":{"post":{"tags":["Applications"],"summary":"Query Application Revisions","description":"Query revisions across one or more applications or variants.\n\nUse `application_refs` / `application_variant_refs` to scope the\nquery, or filter on commit metadata (`author`, `date`, `message`) via\nthe `application_revision` object. For the ordered history of a\nsingle variant, `POST /applications/revisions/log` is more direct.","operationId":"query_application_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/commit":{"post":{"tags":["Applications"],"summary":"Commit Application Revision","description":"Commit a new revision on a variant.\n\nThe new revision becomes the variant's tip and is assigned the next\n`version` number. Revisions are immutable once committed; to change\nconfiguration, commit a new revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision).","operationId":"commit_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/log":{"post":{"tags":["Applications"],"summary":"Log Application Revisions","description":"Return the ordered revision log for a variant.\n\nPass `application_variant_id` to list the full history of that\nvariant; optionally pass `application_revision_id` + `depth` to walk\nback a bounded number of commits from a specific revision. Entries\nare returned newest-first and include the full revision record.","operationId":"log_application_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/applications/revisions/resolve":{"post":{"tags":["Applications"],"summary":"Resolve Application Revision","description":"Fetch a revision with embedded references inlined.\n\nWhen a revision's `data` carries references to other entities\n(snippets, linked revisions), this endpoint resolves them in place and\nreturns the fully-inlined configuration along with `resolution_info`\ndescribing what was substituted. Use it when clients need a\nself-contained configuration for invocation or export.","operationId":"resolve_application_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/":{"post":{"tags":["Applications"],"summary":"Create Simple Application","description":"Create an application end-to-end.\n\nCreates the application artifact, a default variant, and a first\ncommitted revision whose `data` comes from the request. This is the\nrecommended entry point for \"spin up a new application from a\ntemplate\". For more control over variant and revision creation, use\nthe structured endpoints under `/applications/`.\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints).","operationId":"create_simple_application","parameters":[{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/query":{"post":{"tags":["Applications"],"summary":"Query Simple Applications","description":"Query applications with variant, revision, and `data` merged per row.\n\nThis is the shape most clients want for dashboards or invocation\npickers: each row carries `variant_id`, `revision_id`, and `data`\n(URL, parameters, schemas) alongside the artifact fields. For the\nstructured query that returns artifacts only, use\n`POST /applications/query`.","operationId":"query_simple_applications","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}":{"get":{"tags":["Applications"],"summary":"Fetch Simple Application","description":"Fetch one application with its current variant, revision, and `data` merged.\n\nThe returned `data` includes the invocation `url`, the `parameters`\nthe revision was committed with, and the JSON `schemas` for inputs,\noutputs, and parameters.","operationId":"fetch_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Edit Simple Application","description":"Edit an application and commit a new revision if configuration changed.\n\nFields other than `id` in the request body are treated as changes and\nproduce a new committed revision. Supplying `data` changes the\nconfiguration; supplying only header fields (`flags`, `tags`, `meta`)\nstill produces a new revision with the updated header but the\nexisting `data`. Editing the application `name` is currently\ndisabled and returns `400`.","operationId":"edit_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}/archive":{"post":{"tags":["Applications"],"summary":"Archive Simple Application","description":"Archive an application through the simple endpoint layer.\n\nEquivalent to `POST /applications/{application_id}/archive`; returns\nthe archived application in the simple shape (with its last known\nvariant, revision, and `data`).","operationId":"archive_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/applications/{application_id}/unarchive":{"post":{"tags":["Applications"],"summary":"Unarchive Simple Application","description":"Unarchive an application through the simple endpoint layer.\n\nEquivalent to `POST /applications/{application_id}/unarchive`, with\nthe response shape of `/simple/applications/`.","operationId":"unarchive_simple_application","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/types/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Types","description":"List the shared JSON Schema fragments available to workflow schemas.\n\nWorkflow input/output schemas reference these via `x-ag-type-ref` (for\nexample, `message` or `prompt`). Use this endpoint to discover what\ntype keys exist before building a schema.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTypesResponse"}}}}}}},"/workflows/catalog/types/{ag_type}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Type","description":"Return the JSON Schema for a single shared type key.\n\nReturns 404 when the `ag_type` is not part of the shipped catalog.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_type","parameters":[{"name":"ag_type","in":"path","required":true,"schema":{"type":"string","title":"Ag Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTypeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/harnesses/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Harnesses","description":"List the agent harness records shipped with the product.\n\nEach record carries the harness `capabilities` (providers, deployments, connection\nmodes, model selection, models). A workflow's harness field references one via\n`x-ag-harness-ref`, resolved against `/catalog/harnesses/{ag_harness}`.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_harnesses","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogHarnessesResponse"}}}}}}},"/workflows/catalog/harnesses/{ag_harness}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Harness","description":"Return a single harness record (with its `capabilities`).\n\nReturns 404 when the `ag_harness` is not part of the shipped catalog.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_harness","parameters":[{"name":"ag_harness","in":"path","required":true,"schema":{"type":"string","title":"Ag Harness"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogHarnessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Templates","description":"List workflow blueprints shipped with the product.\n\nFilter by domain with `is_application`, `is_evaluator`, or\n`is_snippet`. Archived templates are hidden unless `include_archived`\nis true. Templates are global and read-only.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"is_application","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"}},{"name":"is_evaluator","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"}},{"name":"is_snippet","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Template","description":"Return a single workflow template by its key.\n\nReturns `count=0` when the template is not found. Templates are global\nmetadata and are not scoped to a project.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}/presets/":{"get":{"tags":["Workflows"],"summary":"List Workflow Catalog Presets","description":"List presets defined against a template.\n\nPresets are named parameter sets that can be committed as the first\nrevision of a new variant. Returns an empty list when a template has\nno canned presets.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"list_workflow_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Catalog Preset","description":"Return a single preset for a template by key.\n\nReturns `count=0` when the preset is not defined.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/":{"post":{"tags":["Workflows"],"summary":"Create Workflow","description":"Create a workflow artifact.\n\nCreates the top-level container only; commit a revision on a variant\nbefore the workflow can be retrieved or invoked. Use when you need the\nlower-level primitive — pick `/applications/` for serving logic or\n`/evaluators/` for scoring logic.\n\nSee: [Workflows](/reference/api-guide/workflows),\n[Versioning](/reference/api-guide/versioning).","operationId":"create_workflow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow","description":"Fetch a workflow artifact by ID.\n\nReturns the artifact only — variants and revisions are not included.\nUse `/workflows/variants/query` and `/workflows/revisions/query` for\nthe child entities.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow","description":"Update artifact-level fields on a workflow.\n\nThe `id` in the body must match the path parameter. Only supplied\nfields are modified. Configuration (parameters, URL, schemas) lives on\nrevisions — commit a new revision to change those.\n\nSee: [Workflows](/reference/api-guide/workflows),\n[Versioning](/reference/api-guide/versioning).","operationId":"edit_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow","description":"Archive a workflow artifact (soft delete).\n\nSets `deleted_at` on the workflow and its variants. Archived\nworkflows are hidden from queries unless `include_archived=true`.\nRevision IDs remain resolvable so historical traces stay intact.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"archive_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/{workflow_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow","description":"Restore a previously archived workflow.\n\nClears `deleted_at` on the workflow. Archived variants and revisions\nare restored with the workflow.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"unarchive_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/query":{"post":{"tags":["Workflows"],"summary":"Query Workflows","description":"Query workflow artifacts with filters and pagination.\n\nAccepts the same filters as query parameters or in the request body;\nbody fields win when both are supplied. Results are ordered by\ncreation time; pass `windowing.next` back for the following page.\n\nSee: [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_workflows","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/":{"post":{"tags":["Workflows"],"summary":"Create Workflow Variant","description":"Create a new variant under an existing workflow.\n\nVariants are branches of an artifact's history; each maintains its own\nrevision log. Variant slugs are unique within the project — reuse of a\nslug already in use returns a 409 conflict.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"create_workflow_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Variant","description":"Fetch a workflow variant by ID.\n\nReturns the variant metadata only — use\n`/workflows/revisions/retrieve` or `/workflows/revisions/log` for the\nvariant's revisions.\n\nSee: [Workflows](/reference/api-guide/workflows).","operationId":"fetch_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow Variant","description":"Update metadata on a workflow variant.\n\nThe `id` in the body must match the path parameter. Revisions on the\nvariant are not affected — commit a new revision to change data.\n\nSee: [Versioning](/reference/api-guide/versioning).","operationId":"edit_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow Variant","description":"Archive a workflow variant.\n\nSoft-deletes the variant and its revisions. Archived variants are\nhidden from queries unless `include_archived=true`. See\n[Versioning](/reference/api-guide/versioning).","operationId":"archive_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/{workflow_variant_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow Variant","description":"Restore a previously archived workflow variant.\n\nClears `deleted_at` on the variant and its revisions. See\n[Versioning](/reference/api-guide/versioning).","operationId":"unarchive_workflow_variant","parameters":[{"name":"workflow_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/query":{"post":{"tags":["Workflows"],"summary":"Query Workflow Variants","description":"Query workflow variants with filters and pagination.\n\nScope the query by `workflow_refs` (parent artifact) or\n`workflow_variant_refs` (specific variants). Accepts the same fields\nas query parameters or in the request body.\n\nSee: [Query Pattern](/reference/api-guide/query-pattern).","operationId":"query_workflow_variants","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}},{"name":"workflow_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Variant Ids"}},{"name":"workflow_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"}},{"name":"workflow_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/variants/fork":{"post":{"tags":["Workflows"],"summary":"Fork Workflow Variant","operationId":"fork_workflow_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantForkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/retrieve":{"post":{"tags":["Workflows"],"summary":"Retrieve Workflow Revision","operationId":"retrieve_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/deploy":{"post":{"tags":["Workflows"],"summary":"Deploy Workflow Revision","operationId":"deploy_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/":{"post":{"tags":["Workflows"],"summary":"Create Workflow Revision","operationId":"create_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Workflow Revision","operationId":"fetch_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Workflow Revision","operationId":"edit_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Workflow Revision","operationId":"archive_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/{workflow_revision_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Workflow Revision","operationId":"unarchive_workflow_revision","parameters":[{"name":"workflow_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/query":{"post":{"tags":["Workflows"],"summary":"Query Workflow Revisions","operationId":"query_workflow_revisions","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}},{"name":"workflow_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Ids"}},{"name":"workflow_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"}},{"name":"workflow_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Slugs"}},{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}},{"name":"workflow_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Variant Ids"}},{"name":"workflow_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"}},{"name":"workflow_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Variant Slugs"}},{"name":"workflow_revision_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"}},{"name":"workflow_revision_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Workflow Revision Ids"}},{"name":"workflow_revision_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Revision Slug"}},{"name":"workflow_revision_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Revision Slugs"}},{"name":"workflow_revision_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Revision Version"}},{"name":"workflow_revision_versions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Workflow Revision Versions"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/commit":{"post":{"tags":["Workflows"],"summary":"Commit Workflow Revision","operationId":"commit_workflow_revision","parameters":[{"name":"workflow_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionCommitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/log":{"post":{"tags":["Workflows"],"summary":"Log Workflow Revisions","operationId":"log_workflow_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workflows/revisions/resolve":{"post":{"tags":["Workflows"],"summary":"Resolve Workflow Revision Endpoint","description":"Resolve embedded references in a workflow revision configuration.\n\nThis endpoint:\n1. Fetches the workflow revision\n2. Resolves all @ag.references tokens in the configuration\n3. Returns the revision with resolved configuration + metadata","operationId":"resolve_workflow_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/":{"post":{"tags":["Workflows"],"summary":"Create Simple Workflow","operationId":"create_simple_workflow","parameters":[{"name":"workflow_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}":{"get":{"tags":["Workflows"],"summary":"Fetch Simple Workflow","operationId":"fetch_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Edit Simple Workflow","operationId":"edit_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}/archive":{"post":{"tags":["Workflows"],"summary":"Archive Simple Workflow","operationId":"archive_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/{workflow_id}/unarchive":{"post":{"tags":["Workflows"],"summary":"Unarchive Simple Workflow","operationId":"unarchive_simple_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/workflows/query":{"post":{"tags":["Workflows"],"summary":"Query Simple Workflows","operationId":"query_simple_workflows","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleWorkflowsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/types/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Types","description":"List the JSON schema types the evaluator catalog understands.\n\nTypes are static metadata shipped with the product. Use this when\nrendering a catalog UI or validating that a template's schema is\nsupported. See the Evaluators guide for how the catalog relates\nto user-owned evaluator artifacts.","operationId":"list_evaluator_catalog_types","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTypesResponse"}}}}}}},"/evaluators/catalog/templates/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Templates","description":"List evaluator templates from the catalog.\n\nTemplates are blueprints that describe an evaluator's handler\nURI, JSON schemas, and default configuration. Pass\n`include_archived=true` to include deprecated templates. Use the\nreturned `key` with `/catalog/templates/{template_key}/presets/`\nto list its presets.","operationId":"list_evaluator_catalog_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Catalog Template","description":"Fetch one evaluator template by key.\n\nReturns an empty envelope (`count: 0`) when no template matches\nthe key. Template keys come from\n`GET /catalog/templates/`.","operationId":"fetch_evaluator_catalog_template","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogTemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}/presets/":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Catalog Presets","description":"List presets defined against one evaluator template.\n\nA preset is a named set of parameter values pre-filled against\nthe template. Use the returned `key` to fetch a specific preset\nvia `GET /catalog/templates/{template_key}/presets/{preset_key}`.","operationId":"list_evaluator_catalog_presets","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogPresetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/catalog/templates/{template_key}/presets/{preset_key}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Catalog Preset","description":"Fetch one evaluator preset by template and preset key.\n\nPresets are not separate entities; they are metadata. Use the\nreturned preset payload as the starting point when creating a\nnew evaluator from a template. See the Evaluators guide.","operationId":"fetch_evaluator_catalog_preset","parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}},{"name":"preset_key","in":"path","required":true,"schema":{"type":"string","title":"Preset Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCatalogPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator","description":"Create an evaluator artifact, its first variant, and its initial revision.\n\nUse this endpoint when you already know you want to manage the\nartifact / variant / revision layers independently. For a\none-shot \"create and forget\" call that returns a flat record,\nsee `POST /simple/evaluators/`. See the Versioning guide for\ncommit semantics.","operationId":"create_evaluator","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator","description":"Fetch an evaluator artifact by id.\n\nReturns the artifact-level record (slug, name, flags, lifecycle)\nwithout variant or revision data. Use the variant and revision\nendpoints to retrieve those layers.","operationId":"fetch_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator","description":"Edit an evaluator artifact's metadata.\n\nEdits are limited to metadata fields (description, tags, meta).\nRenaming is temporarily disabled and returns 400. To change\nevaluator behavior, commit a new revision on the variant — see\n`/evaluators/revisions/commit`.","operationId":"edit_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator","description":"Soft-delete an evaluator artifact.\n\nSets `deleted_at` on the evaluator and hides it from subsequent\n`/query` responses unless `include_archived=true`. Revision IDs\nremain resolvable so historical traces stay intact.","operationId":"archive_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/{evaluator_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator","description":"Restore a soft-deleted evaluator artifact.\n\nClears `deleted_at` on the evaluator so it re-appears in `/query`\nresponses.","operationId":"unarchive_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluators","description":"Query evaluator artifacts with filters and pagination.\n\nReturns artifact-level records only. The request body follows\nthe shared query pattern (filter + refs + windowing). Send `{}`\nto list all evaluators in the project. See the Query Pattern\nguide.","operationId":"query_evaluators","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator Variant","description":"Create a new variant on an existing evaluator.\n\nA variant is a named branch of the evaluator's history. New\nrevisions committed to this variant do not touch other variants.\nSee the Versioning guide.","operationId":"create_evaluator_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Variant","description":"Fetch an evaluator variant by id.\n\nReturns the variant record (slug, flags, lifecycle) without the\ncommitted revisions. Use `/evaluators/revisions/retrieve` to\nread the variant's current revision payload.","operationId":"fetch_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator Variant","description":"Edit a variant's metadata.\n\nEdits only touch variant-level metadata. To change evaluator\nbehavior commit a new revision via\n`/evaluators/revisions/commit`.","operationId":"edit_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator Variant","description":"Soft-delete an evaluator variant.\n\nSets `deleted_at` on the variant. Its revisions stay resolvable\nby id; they are hidden from `/query` unless the caller sets\n`include_archived=true`.","operationId":"archive_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/{evaluator_variant_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator Variant","description":"Restore a soft-deleted evaluator variant.","operationId":"unarchive_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluator Variants","description":"Query evaluator variants with filters, reference scoping, and pagination.\n\nAccepts parameters from both the query string and a JSON body;\nthe two are merged. Use `evaluator_refs` to scope to one or more\nevaluators, or `evaluator_variant_refs` for specific variants.","operationId":"query_evaluator_variants","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}},{"name":"evaluator_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Evaluator Ids"}},{"name":"evaluator_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"}},{"name":"evaluator_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Evaluator Slugs"}},{"name":"evaluator_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"}},{"name":"evaluator_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Evaluator Variant Ids"}},{"name":"evaluator_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"}},{"name":"evaluator_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Evaluator Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flags"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/variants/fork":{"post":{"tags":["Evaluators"],"summary":"Fork Evaluator Variant","description":"Fork an evaluator variant into a new variant.\n\nCreates a new branch whose initial revision is copied from the\nsource. Use this to experiment without touching the original.\nThe returned variant has a fresh id and slug but inherits\nlineage metadata from its source.","operationId":"fork_evaluator_variant","parameters":[{"name":"evaluator_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantForkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/retrieve":{"post":{"tags":["Evaluators"],"summary":"Retrieve Evaluator Revision","description":"Retrieve one evaluator revision, either directly or via an environment key.\n\nProvide one of:\nan evaluator / variant / revision reference (returns that\nrevision, or the latest revision on the variant or evaluator),\nor an environment reference plus `key` (returns the revision\ncurrently pinned to that key). Supplying both forms returns 400.\nPass `resolve=true` to expand embedded references on the\nreturned payload.","operationId":"retrieve_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/deploy":{"post":{"tags":["Evaluators"],"summary":"Deploy Evaluator Revision","description":"Pin an evaluator revision into an environment revision under a key.\n\nRequires an evaluator ref (`evaluator_ref`,\n`evaluator_variant_ref`, or `evaluator_revision_ref`) and an\nenvironment ref. When `key` is omitted it defaults to\n`.revision`. The deployment is recorded as a\nnew commit on the environment revision. See the Evaluators\nguide for the deployment model.","operationId":"deploy_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionDeployRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/":{"post":{"tags":["Evaluators"],"summary":"Create Evaluator Revision","description":"Create and commit the initial revision for an evaluator variant.\n\nPrefer `/evaluators/revisions/commit` for the standard commit\nflow. This endpoint commits an initial revision with the `initial`\nguard, preventing duplicate initial revisions for the same variant.","operationId":"create_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Evaluator Revision","description":"Fetch a specific evaluator revision by id.\n\nReturns the full revision including `data` (handler uri,\nschemas, and parameters). To pick the latest revision on a\nvariant without knowing its id, use\n`/evaluators/revisions/retrieve`.","operationId":"fetch_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Evaluator Revision","description":"Edit a revision's metadata.\n\nRevision `data` is immutable once committed. This endpoint is\nfor metadata fields only (description, tags, meta). To change\nevaluator behavior, commit a new revision instead.","operationId":"edit_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Evaluator Revision","description":"Soft-delete an evaluator revision.\n\nArchived revisions remain resolvable by id but are excluded from\nrevision logs and queries unless `include_archived=true`.","operationId":"archive_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/{evaluator_revision_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Evaluator Revision","description":"Restore a soft-deleted evaluator revision.","operationId":"unarchive_evaluator_revision","parameters":[{"name":"evaluator_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/query":{"post":{"tags":["Evaluators"],"summary":"Query Evaluator Revisions","description":"Query evaluator revisions with filters, reference scoping, and pagination.\n\nReturns revision payloads. Use `evaluator_refs`,\n`evaluator_variant_refs`, or `evaluator_revision_refs` to scope\nthe query.","operationId":"query_evaluator_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/commit":{"post":{"tags":["Evaluators"],"summary":"Commit Evaluator Revision","description":"Commit a new revision on an evaluator variant.\n\nThe commit body carries the target `evaluator_variant_id`, an\noptional `message`, and the revision `data` (handler uri,\nschemas, parameters). A committed revision is immutable.","operationId":"commit_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/log":{"post":{"tags":["Evaluators"],"summary":"Log Evaluator Revisions","description":"List the revision log of an evaluator variant.\n\nReturns revisions in commit order. Scope the log by supplying\nan evaluator, variant, or revision reference. Use the retrieve\nendpoint to fetch a specific revision's full payload.","operationId":"log_evaluator_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluators/revisions/resolve":{"post":{"tags":["Evaluators"],"summary":"Resolve Evaluator Revision","description":"Resolve embedded references on an evaluator revision's `data`.\n\nWalks embedded references (for example, references to other\nrevisions or to secrets) up to `max_depth` and `max_embeds`.\nThe response includes a `resolution_info` block with counts,\ndepth reached, and errors according to `error_policy`.","operationId":"resolve_evaluator_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/":{"post":{"tags":["Evaluators"],"summary":"Create Simple Evaluator","description":"Create an evaluator via the simple surface.\n\nCreates the artifact, its first variant, and its initial\nrevision in one call. Returns the flat evaluator record\n(latest revision merged into `data`). Use this when you do not\nneed to manage variants or revisions directly.","operationId":"create_simple_evaluator","parameters":[{"name":"evaluator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/templates":{"get":{"tags":["Evaluators"],"summary":"List Evaluator Templates","description":"List the legacy built-in evaluator templates.\n\nReturns static evaluator-type definitions shipped with the\nproduct. Prefer the `/evaluators/catalog/*` endpoints for new\nintegrations; this endpoint is kept for older clients. Pass\n`include_archived=true` to include deprecated templates.","operationId":"list_evaluator_templates","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatorTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}":{"get":{"tags":["Evaluators"],"summary":"Fetch Simple Evaluator","description":"Fetch one evaluator via the simple surface.\n\nReturns the flat evaluator record including its current variant\nand revision ids and the merged `data` payload.","operationId":"fetch_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Evaluators"],"summary":"Edit Simple Evaluator","description":"Edit an evaluator via the simple surface.\n\nTouches metadata and (when `data` is supplied) commits a new\nrevision on the evaluator's variant. Renaming is temporarily\ndisabled and returns 400.","operationId":"edit_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}/archive":{"post":{"tags":["Evaluators"],"summary":"Archive Simple Evaluator","description":"Soft-delete an evaluator via the simple surface.\n\nArchives the underlying artifact. Historical traces that\nreference specific revision ids remain resolvable.","operationId":"archive_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/{evaluator_id}/unarchive":{"post":{"tags":["Evaluators"],"summary":"Unarchive Simple Evaluator","description":"Restore a soft-deleted evaluator via the simple surface.","operationId":"unarchive_simple_evaluator","parameters":[{"name":"evaluator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluators/query":{"post":{"tags":["Evaluators"],"summary":"Query Simple Evaluators","description":"Query evaluators via the simple surface with filters and pagination.\n\nReturns flat evaluator records (one per artifact with its\nlatest variant and revision merged into `data`). Send `{}` to\nlist all evaluators in the project. See the Query Pattern\nguide.","operationId":"query_simple_evaluators","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluatorsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/":{"post":{"tags":["Environments"],"summary":"Create Environment","operationId":"create_environment","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment","operationId":"fetch_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment","operationId":"edit_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment","operationId":"archive_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/{environment_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment","operationId":"unarchive_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/query":{"post":{"tags":["Environments"],"summary":"Query Environments","operationId":"query_environments","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/":{"post":{"tags":["Environments"],"summary":"Create Environment Variant","operationId":"create_environment_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment Variant","operationId":"fetch_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment Variant","operationId":"edit_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment Variant","operationId":"archive_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/{environment_variant_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment Variant","operationId":"unarchive_environment_variant","parameters":[{"name":"environment_variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/query":{"post":{"tags":["Environments"],"summary":"Query Environment Variants","operationId":"query_environment_variants","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"environment_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"}},{"name":"environment_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Variant Ids"}},{"name":"environment_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"}},{"name":"environment_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Variant Slugs"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/variants/fork":{"post":{"tags":["Environments"],"summary":"Fork Environment Variant","description":"Fork an existing environment variant into a new variant.\n\nThe new variant starts from the source variant's head revision (or a\npinned revision if `environment_revision_ref` is provided). Provide\n`slug` and `name` in the fork body to identify the new variant.","operationId":"fork_environment_variant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantForkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/retrieve":{"post":{"tags":["Environments"],"summary":"Retrieve Environment Revision","operationId":"retrieve_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionRetrieveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/":{"post":{"tags":["Environments"],"summary":"Create Environment Revision","operationId":"create_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}":{"get":{"tags":["Environments"],"summary":"Fetch Environment Revision","operationId":"fetch_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Environment Revision","operationId":"edit_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Environment Revision","operationId":"archive_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/{environment_revision_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Environment Revision","operationId":"unarchive_environment_revision","parameters":[{"name":"environment_revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/query":{"post":{"tags":["Environments"],"summary":"Query Environment Revisions","operationId":"query_environment_revisions","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}},{"name":"environment_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Ids"}},{"name":"environment_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"}},{"name":"environment_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Slugs"}},{"name":"environment_variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"}},{"name":"environment_variant_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Variant Ids"}},{"name":"environment_variant_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"}},{"name":"environment_variant_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Variant Slugs"}},{"name":"environment_revision_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"}},{"name":"environment_revision_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Environment Revision Ids"}},{"name":"environment_revision_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Revision Slug"}},{"name":"environment_revision_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Revision Slugs"}},{"name":"environment_revision_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Revision Version"}},{"name":"environment_revision_versions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Environment Revision Versions"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},{"name":"meta","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta"}},{"name":"include_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"}},{"name":"newest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"}},{"name":"oldest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/commit":{"post":{"tags":["Environments"],"summary":"Commit Environment Revision","operationId":"commit_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/log":{"post":{"tags":["Environments"],"summary":"Log Environment Revisions","operationId":"log_environment_revisions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environments/revisions/resolve":{"post":{"tags":["Environments"],"summary":"Resolve Environment Revision Endpoint","description":"Resolve embedded references in an environment revision configuration.\n\nThis endpoint:\n1. Fetches the environment revision\n2. Resolves all @ag.references tokens in the configuration\n3. Returns the revision with resolved configuration + metadata","operationId":"resolve_environment_revision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRevisionResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/":{"post":{"tags":["Environments"],"summary":"Create Simple Environment","operationId":"create_simple_environment","parameters":[{"name":"environment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}":{"get":{"tags":["Environments"],"summary":"Fetch Simple Environment","operationId":"fetch_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Environments"],"summary":"Edit Simple Environment","operationId":"edit_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/archive":{"post":{"tags":["Environments"],"summary":"Archive Simple Environment","operationId":"archive_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/unarchive":{"post":{"tags":["Environments"],"summary":"Unarchive Simple Environment","operationId":"unarchive_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/query":{"post":{"tags":["Environments"],"summary":"Query Simple Environments","operationId":"query_simple_environments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/guard":{"post":{"tags":["Environments"],"summary":"Guard Simple Environment","operationId":"guard_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/environments/{environment_id}/unguard":{"post":{"tags":["Environments"],"summary":"Unguard Simple Environment","operationId":"unguard_simple_environment","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/variants/configs/fetch":{"post":{"tags":["Deprecated"],"summary":"Configs Fetch","operationId":"configs_fetch_variants_configs_fetch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_configs_fetch_variants_configs_fetch_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/tools/catalog/providers/":{"get":{"tags":["Tools"],"summary":"List Providers","operationId":"list_tool_providers","parameters":[{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogProvidersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}":{"get":{"tags":["Tools"],"summary":"Get Provider","operationId":"fetch_tool_provider","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/":{"get":{"tags":["Tools"],"summary":"List Integrations","operationId":"list_tool_integrations","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/categories/":{"get":{"tags":["Tools"],"summary":"List Categories","operationId":"list_tool_categories","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogCategoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}":{"get":{"tags":["Tools"],"summary":"Get Integration","operationId":"fetch_tool_integration","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}/actions/":{"get":{"tags":["Tools"],"summary":"List Actions","operationId":"list_tool_actions","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Categories"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogActionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/catalog/providers/{provider_key}/integrations/{integration_key}/actions/{action_key}":{"get":{"tags":["Tools"],"summary":"Get Action","operationId":"fetch_tool_action","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"action_key","in":"path","required":true,"schema":{"type":"string","title":"Action Key"}},{"name":"full_details","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Full Details"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCatalogActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/query":{"post":{"tags":["Tools"],"summary":"Query Connections","description":"Query connections with optional filtering.","operationId":"query_tool_connections","parameters":[{"name":"provider_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Key"}},{"name":"integration_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/":{"post":{"tags":["Tools"],"summary":"Create Connection","description":"Create a new tool connection.","operationId":"create_tool_connection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/callback":{"get":{"tags":["Tools"],"summary":"Callback Connection","description":"Handle OAuth callback from Composio.","operationId":"callback_tool_connection","parameters":[{"name":"connected_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"error_message","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}":{"get":{"tags":["Tools"],"summary":"Get Connection","description":"Get a connection by ID.","operationId":"fetch_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Tools"],"summary":"Delete Connection","description":"Delete a connection by ID.","operationId":"delete_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}/refresh":{"post":{"tags":["Tools"],"summary":"Refresh Connection","description":"Refresh a connection's credentials.","operationId":"refresh_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/connections/{connection_id}/revoke":{"post":{"tags":["Tools"],"summary":"Revoke Connection","description":"Mark a connection invalid locally (does not revoke at the provider).","operationId":"revoke_tool_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/resolve":{"post":{"tags":["Tools"],"summary":"Resolve Tools","description":"Resolve an agent's tool references into model-ready specs.\n\nValidates Composio connections up front and enriches each action from the\ncatalog, so a running agent (e.g. Pi) gets ``customTools`` whose ``execute``\nroutes back through ``POST /tools/call`` — provider keys stay server-side.","operationId":"resolve_tools","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/discover":{"post":{"tags":["Tools"],"summary":"Discover Capabilities","description":"Discover the tools that fit a set of use cases, translated to Agenta terms.\n\nWraps the provider's semantic search and reports each integration's connection\nstate for the calling project. Read-only; project scope comes from caller auth.\nSee ``docs/design/agent-workflows/projects/tool-discovery/design.md``.","operationId":"discover_tool_capabilities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesQuery"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools/call":{"post":{"tags":["Tools"],"summary":"Call Tool","description":"Call a tool action with a connection.","operationId":"call_tool","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCall"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCallResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/composio/events/":{"post":{"tags":["Triggers"],"summary":"Ingest Composio Event","description":"Receive a Composio provider event; verify, demux, ack-fast, enqueue.\n\nPublic (no Agenta auth) — mirrors the Stripe events receiver. Scope and\nattribution are recovered downstream from the resolved subscription row.","operationId":"ingest_composio_event","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerEventAck"}}}}}}},"/triggers/catalog/providers/":{"get":{"tags":["Triggers"],"summary":"List Providers","operationId":"list_trigger_providers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogProvidersResponse"}}}}}}},"/triggers/catalog/providers/{provider_key}":{"get":{"tags":["Triggers"],"summary":"Get Provider","operationId":"fetch_trigger_provider","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/catalog/providers/{provider_key}/integrations/":{"get":{"tags":["Triggers"],"summary":"List Integrations","operationId":"list_trigger_integrations","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/catalog/providers/{provider_key}/integrations/{integration_key}":{"get":{"tags":["Triggers"],"summary":"Get Integration","operationId":"fetch_trigger_integration","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/catalog/providers/{provider_key}/integrations/{integration_key}/events/":{"get":{"tags":["Triggers"],"summary":"List Events","operationId":"list_trigger_events","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogEventsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/catalog/providers/{provider_key}/integrations/{integration_key}/events/{event_key}":{"get":{"tags":["Triggers"],"summary":"Get Event","operationId":"fetch_trigger_event","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}},{"name":"integration_key","in":"path","required":true,"schema":{"type":"string","title":"Integration Key"}},{"name":"event_key","in":"path","required":true,"schema":{"type":"string","title":"Event Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCatalogEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/discover":{"post":{"tags":["Triggers"],"summary":"Discover Triggers","operationId":"discover_triggers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDiscoveryQuery"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerCapabilitiesResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/connections/query":{"post":{"tags":["Triggers"],"summary":"Query Connections","operationId":"query_trigger_connections","parameters":[{"name":"provider_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Key"}},{"name":"integration_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/connections/":{"post":{"tags":["Triggers"],"summary":"Create Connection","operationId":"create_trigger_connection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/connections/{connection_id}":{"get":{"tags":["Triggers"],"summary":"Get Connection","operationId":"fetch_trigger_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Triggers"],"summary":"Delete Connection","operationId":"delete_trigger_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/connections/{connection_id}/refresh":{"post":{"tags":["Triggers"],"summary":"Refresh Connection","operationId":"refresh_trigger_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/connections/{connection_id}/revoke":{"post":{"tags":["Triggers"],"summary":"Revoke Connection","operationId":"revoke_trigger_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/":{"get":{"tags":["Triggers"],"summary":"List Subscriptions","operationId":"list_trigger_subscriptions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionsResponse"}}}}}},"post":{"tags":["Triggers"],"summary":"Create Subscription","operationId":"create_trigger_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/query":{"post":{"tags":["Triggers"],"summary":"Query Subscriptions","operationId":"query_trigger_subscriptions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/test":{"post":{"tags":["Triggers"],"summary":"Test Subscription","operationId":"test_trigger_subscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/{subscription_id}/refresh":{"post":{"tags":["Triggers"],"summary":"Refresh Subscription","operationId":"refresh_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/{subscription_id}/revoke":{"post":{"tags":["Triggers"],"summary":"Revoke Subscription","operationId":"revoke_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/{subscription_id}/start":{"post":{"tags":["Triggers"],"summary":"Start Subscription","operationId":"start_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/{subscription_id}/stop":{"post":{"tags":["Triggers"],"summary":"Stop Subscription","operationId":"stop_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/subscriptions/{subscription_id}":{"get":{"tags":["Triggers"],"summary":"Fetch Subscription","operationId":"fetch_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Triggers"],"summary":"Edit Subscription","operationId":"edit_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Triggers"],"summary":"Delete Subscription","operationId":"delete_trigger_subscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subscription Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/schedules/":{"get":{"tags":["Triggers"],"summary":"List Schedules","operationId":"list_trigger_schedules","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSchedulesResponse"}}}}}},"post":{"tags":["Triggers"],"summary":"Create Schedule","operationId":"create_trigger_schedule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/schedules/query":{"post":{"tags":["Triggers"],"summary":"Query Schedules","operationId":"query_trigger_schedules","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSchedulesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/schedules/{schedule_id}":{"get":{"tags":["Triggers"],"summary":"Fetch Schedule","operationId":"fetch_trigger_schedule","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Triggers"],"summary":"Edit Schedule","operationId":"edit_trigger_schedule","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Triggers"],"summary":"Delete Schedule","operationId":"delete_trigger_schedule","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/schedules/{schedule_id}/start":{"post":{"tags":["Triggers"],"summary":"Start Schedule","operationId":"start_trigger_schedule","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/schedules/{schedule_id}/stop":{"post":{"tags":["Triggers"],"summary":"Stop Schedule","operationId":"stop_trigger_schedule","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/deliveries":{"get":{"tags":["Triggers"],"summary":"List Deliveries","operationId":"list_trigger_deliveries","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDeliveriesResponse"}}}}}}},"/triggers/deliveries/query":{"post":{"tags":["Triggers"],"summary":"Query Deliveries","operationId":"query_trigger_deliveries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDeliveryQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDeliveriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/triggers/deliveries/{delivery_id}":{"get":{"tags":["Triggers"],"summary":"Fetch Delivery","operationId":"fetch_trigger_delivery","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/":{"post":{"tags":["Sessions"],"summary":"Create Interaction","operationId":"create_interaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/query":{"post":{"tags":["Sessions"],"summary":"Query Interactions","operationId":"query_interactions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/transition":{"post":{"tags":["Sessions"],"summary":"Transition Interaction","operationId":"transition_interaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionTransitionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/cancel-stale":{"post":{"tags":["Sessions"],"summary":"Cancel Stale Interactions","operationId":"cancel_stale_interactions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionCancelStaleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Cancel Stale Interactions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/{interaction_id}":{"get":{"tags":["Sessions"],"summary":"Fetch Interaction","operationId":"fetch_interaction","parameters":[{"name":"interaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Interaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/interactions/{interaction_id}/respond":{"post":{"tags":["Sessions"],"summary":"Respond Interaction","operationId":"respond_interaction","parameters":[{"name":"interaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Interaction Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionRespondRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInteractionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/":{"post":{"tags":["Evaluations"],"summary":"Create Runs","operationId":"create_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Runs","operationId":"delete_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Runs","operationId":"edit_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/query":{"post":{"tags":["Evaluations"],"summary":"Query Runs","operationId":"query_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/close":{"post":{"tags":["Evaluations"],"summary":"Close Runs","operationId":"close_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/open":{"post":{"tags":["Evaluations"],"summary":"Open Runs","operationId":"open_runs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Run","operationId":"fetch_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Run","operationId":"edit_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Run","operationId":"delete_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/close":{"post":{"tags":["Evaluations"],"summary":"Close Run","operationId":"close_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/open":{"post":{"tags":["Evaluations"],"summary":"Open Run","operationId":"open_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/runs/{run_id}/queues/default":{"get":{"tags":["Evaluations"],"summary":"Fetch Default Queue","operationId":"fetch_default_queue","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/":{"post":{"tags":["Evaluations"],"summary":"Create Scenarios","operationId":"create_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Scenarios","operationId":"delete_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Scenarios","operationId":"edit_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Scenarios","operationId":"query_scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/scenarios/{scenario_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Scenario","operationId":"fetch_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Scenario","operationId":"edit_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Scenario","operationId":"delete_scenario","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenarioIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/":{"put":{"tags":["Evaluations"],"summary":"Set Results","operationId":"set_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Evaluations"],"summary":"Set Results","operationId":"set_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Results","operationId":"delete_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Set Results","operationId":"set_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/query":{"post":{"tags":["Evaluations"],"summary":"Query Results","operationId":"query_results","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/results/{result_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Result","operationId":"fetch_result","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Result","operationId":"delete_result","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/refresh":{"post":{"tags":["Evaluations"],"summary":"Refresh Metrics","operationId":"refresh_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsRefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/":{"put":{"tags":["Evaluations"],"summary":"Set Metrics","operationId":"set_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Evaluations"],"summary":"Set Metrics","operationId":"set_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Metrics","operationId":"delete_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Set Metrics","operationId":"set_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsSetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/query":{"post":{"tags":["Evaluations"],"summary":"Query Metrics","operationId":"query_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/metrics/{metrics_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Metric","operationId":"fetch_metric","parameters":[{"name":"metrics_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Metrics Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Metric","operationId":"delete_metric","parameters":[{"name":"metrics_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Metrics Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationMetricsIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/":{"post":{"tags":["Evaluations"],"summary":"Create Queues","operationId":"create_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Queues","operationId":"delete_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Queues","operationId":"edit_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesEditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/query":{"post":{"tags":["Evaluations"],"summary":"Query Queues","operationId":"query_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/{queue_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Queue","operationId":"fetch_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Queue","operationId":"edit_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Queue","operationId":"delete_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluations/queues/{queue_id}/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Queue Scenarios","operationId":"query_evaluation_queue_scenarios","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationQueueScenariosQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/":{"post":{"tags":["Evaluations"],"summary":"Create Evaluation","operationId":"create_simple_evaluation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/query":{"post":{"tags":["Evaluations"],"summary":"Query Evaluations","operationId":"query_simple_evaluations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Evaluation","operationId":"fetch_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Evaluations"],"summary":"Edit Evaluation","operationId":"edit_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Evaluation","operationId":"delete_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/start":{"post":{"tags":["Evaluations"],"summary":"Start Evaluation","operationId":"start_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/stop":{"post":{"tags":["Evaluations"],"summary":"Stop Evaluation","operationId":"stop_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/close":{"post":{"tags":["Evaluations"],"summary":"Close Evaluation","operationId":"close_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/open":{"post":{"tags":["Evaluations"],"summary":"Open Evaluation","operationId":"open_simple_evaluation","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleEvaluationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/populate":{"post":{"tags":["Evaluations"],"summary":"Populate Evaluation Slice","operationId":"populate_slice","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PopulateSliceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/process":{"post":{"tags":["Evaluations"],"summary":"Process Evaluation Slice","operationId":"process_slice","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessSliceRequest"}}}},"responses":{"202":{"description":"Accepted.","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/probe":{"post":{"tags":["Evaluations"],"summary":"Probe Evaluation Slice","operationId":"probe_slice","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProbeSliceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResultsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/prune":{"post":{"tags":["Evaluations"],"summary":"Prune Evaluation Slice","operationId":"prune_slice","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PruneSliceRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/refresh":{"post":{"tags":["Evaluations"],"summary":"Refresh Evaluation Slice","operationId":"refresh_slice","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshSliceRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/scenarios/add":{"post":{"tags":["Evaluations"],"summary":"Add Evaluation Scenarios","operationId":"add_scenarios","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddScenariosRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/scenarios/remove":{"post":{"tags":["Evaluations"],"summary":"Remove Evaluation Scenarios","operationId":"remove_scenarios","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveScenariosRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/steps/add":{"post":{"tags":["Evaluations"],"summary":"Add Evaluation Steps","operationId":"add_steps","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddStepsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/steps/remove":{"post":{"tags":["Evaluations"],"summary":"Remove Evaluation Steps","operationId":"remove_steps","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveStepsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/evaluations/{evaluation_id}/repeats/set":{"post":{"tags":["Evaluations"],"summary":"Set Evaluation Repeats","operationId":"set_repeats","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetRepeatsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/":{"post":{"tags":["Evaluations"],"summary":"Create Simple Queue","operationId":"create_simple_queue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Simple Queues","operationId":"delete_simple_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/query":{"post":{"tags":["Evaluations"],"summary":"Query Simple Queues","operationId":"query_simple_queues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueuesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}":{"get":{"tags":["Evaluations"],"summary":"Fetch Simple Queue","operationId":"fetch_simple_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Evaluations"],"summary":"Delete Simple Queue","operationId":"delete_simple_queue","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/scenarios/query":{"post":{"tags":["Evaluations"],"summary":"Query Simple Queue Scenarios","operationId":"query_simple_queue_scenarios","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueScenariosQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueScenariosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/traces/":{"post":{"tags":["Evaluations"],"summary":"Add Simple Queue Traces","operationId":"add_simple_queue_traces","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueTracesCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple/queues/{queue_id}/testcases/":{"post":{"tags":["Evaluations"],"summary":"Add Simple Queue Testcases","operationId":"add_simple_queue_testcases","parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueTestcasesCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleQueueIdResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/":{"post":{"tags":["Mounts"],"summary":"Create Mount","operationId":"create_mount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/query":{"post":{"tags":["Mounts"],"summary":"Query Mounts","operationId":"query_mounts","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/agents/sign":{"post":{"tags":["Mounts"],"summary":"Sign Agent Mount Credentials","operationId":"sign_agent_mount_credentials","parameters":[{"name":"artifact_id","in":"query","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/agents/query":{"post":{"tags":["Mounts"],"summary":"Query Agent Mount","operationId":"query_agent_mount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMountQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}":{"get":{"tags":["Mounts"],"summary":"Fetch Mount","operationId":"fetch_mount","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Mounts"],"summary":"Edit Mount","operationId":"edit_mount","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/sign":{"post":{"tags":["Mounts"],"summary":"Sign Mount Credentials","operationId":"sign_mount_credentials","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/files/export":{"post":{"tags":["Mounts"],"summary":"Export Mount Files","operationId":"export_mount_files","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountArchiveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/archive":{"post":{"tags":["Mounts"],"summary":"Archive Mount","operationId":"archive_mount","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/unarchive":{"post":{"tags":["Mounts"],"summary":"Unarchive Mount","operationId":"unarchive_mount","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/files/folder":{"post":{"tags":["Mounts"],"summary":"Create Folder","operationId":"create_mount_folder","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountFolderCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/files/upload":{"post":{"tags":["Mounts"],"summary":"Upload Mount File","operationId":"upload_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_mount_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountFileWrittenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/files/download":{"get":{"tags":["Mounts"],"summary":"Download Mount File","operationId":"download_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mounts/{mount_id}/files":{"get":{"tags":["Mounts"],"summary":"Get Mount Files","operationId":"get_mount_files","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},{"name":"read","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"enum":["recent","name","path"],"type":"string"},{"type":"null"}],"title":"Order"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Limit"}},{"name":"depth","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1,"minimum":1},{"type":"null"}],"title":"Depth"}},{"name":"with_counts","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Counts"}},{"name":"git_aware","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Git Aware"}},{"name":"include_gitignored","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Gitignored"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Mounts"],"summary":"Write Mount File","operationId":"write_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountFileWrittenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Mounts"],"summary":"Delete Mount File","operationId":"delete_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountFileDeletedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/mounts/":{"get":{"tags":["Sessions"],"summary":"Fetch Session Mounts","operationId":"fetch_session_mounts","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionMountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/mounts/query":{"post":{"tags":["Sessions"],"summary":"Query Session Mounts","operationId":"query_session_mounts","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionMountQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionMountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/mounts/sign":{"post":{"tags":["Sessions"],"summary":"Sign Session Mount Credentials","operationId":"sign_session_mount_credentials","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","description":"Which session-scoped mount to sign, e.g. 'cwd' (default) or a per-harness transcript dir mount (e.g. 'claude-projects', 'pi-sessions'). Each name is its own mount row / durable prefix.","default":"cwd","title":"Name"},"description":"Which session-scoped mount to sign, e.g. 'cwd' (default) or a per-harness transcript dir mount (e.g. 'claude-projects', 'pi-sessions'). Each name is its own mount row / durable prefix."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/mounts/{mount_id}/files/upload":{"post":{"tags":["Sessions"],"summary":"Upload Session Mount File","operationId":"upload_session_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_session_mount_file"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountFileWrittenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/mounts/{mount_id}/files/download":{"get":{"tags":["Sessions"],"summary":"Download Session Mount File","operationId":"download_session_mount_file","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mount Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/records/query":{"post":{"tags":["Sessions"],"summary":"Query Records","operationId":"query_records","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRecordQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRecordsQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/records/{record_id}":{"get":{"tags":["Sessions"],"summary":"Get Record Event","operationId":"get_record_event","parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/records/ingest":{"post":{"tags":["Sessions","Sessions"],"summary":"Ingest Record Event","operationId":"ingest_record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRecordIngestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Ingest Record"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/accounts/":{"post":{"tags":["Admin"],"summary":"Create accounts","operationId":"create_accounts_admin_accounts__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete accounts","operationId":"delete_accounts_admin_accounts__delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsDelete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/":{"post":{"tags":["Admin"],"summary":"Create simple accounts","operationId":"create_simple_accounts_admin_simple_accounts__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete simple accounts","operationId":"delete_simple_accounts_admin_simple_accounts__delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsDelete"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/":{"post":{"tags":["Admin"],"summary":"Create users","operationId":"create_user_admin_simple_accounts_users__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/{user_id}":{"delete":{"tags":["Admin"],"summary":"Delete user","operationId":"delete_user_admin_simple_accounts_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/identities/":{"post":{"tags":["Admin"],"summary":"Create user identities","operationId":"create_user_identity_admin_simple_accounts_users_identities__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersIdentitiesCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/users/{user_id}/identities/{identity_id}":{"delete":{"tags":["Admin"],"summary":"Delete user identity","operationId":"delete_user_identity_admin_simple_accounts_users__user_id__identities__identity_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"identity_id","in":"path","required":true,"schema":{"type":"string","title":"Identity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/":{"post":{"tags":["Admin"],"summary":"Create organizations","operationId":"create_organization_admin_simple_accounts_organizations__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/{organization_id}":{"delete":{"tags":["Admin"],"summary":"Delete organization","operationId":"delete_organization_admin_simple_accounts_organizations__organization_id__delete","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/memberships/":{"post":{"tags":["Admin"],"summary":"Create organization memberships","operationId":"create_organization_membership_admin_simple_accounts_organizations_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/organizations/{organization_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete organization membership","operationId":"delete_organization_membership_admin_simple_accounts_organizations__organization_id__memberships__membership_id__delete","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/":{"post":{"tags":["Admin"],"summary":"Create workspaces","operationId":"create_workspace_admin_simple_accounts_workspaces__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsWorkspacesCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/{workspace_id}":{"delete":{"tags":["Admin"],"summary":"Delete workspace","operationId":"delete_workspace_admin_simple_accounts_workspaces__workspace_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/memberships/":{"post":{"tags":["Admin"],"summary":"Create workspace memberships","operationId":"create_workspace_membership_admin_simple_accounts_workspaces_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsWorkspacesMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/workspaces/{workspace_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete workspace membership","operationId":"delete_workspace_membership_admin_simple_accounts_workspaces__workspace_id__memberships__membership_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/":{"post":{"tags":["Admin"],"summary":"Create projects","operationId":"create_project_admin_simple_accounts_projects__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsProjectsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/{project_id}":{"delete":{"tags":["Admin"],"summary":"Delete project","operationId":"delete_project_admin_simple_accounts_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/memberships/":{"post":{"tags":["Admin"],"summary":"Create project memberships","operationId":"create_project_membership_admin_simple_accounts_projects_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsProjectsMembershipsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/projects/{project_id}/memberships/{membership_id}":{"delete":{"tags":["Admin"],"summary":"Delete project membership","operationId":"delete_project_membership_admin_simple_accounts_projects__project_id__memberships__membership_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/api-keys/":{"post":{"tags":["Admin"],"summary":"Create API keys","operationId":"create_api_key_admin_simple_accounts_api_keys__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsApiKeysCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/api-keys/{api_key_id}":{"delete":{"tags":["Admin"],"summary":"Delete API key","operationId":"delete_api_key_admin_simple_accounts_api_keys__api_key_id__delete","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/reset-password":{"post":{"tags":["Admin"],"summary":"Reset user password","operationId":"reset_password_admin_simple_accounts_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsUsersResetPassword"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/simple/accounts/transfer-ownership":{"post":{"tags":["Admin"],"summary":"Transfer organization ownership","operationId":"transfer_ownership_admin_simple_accounts_transfer_ownership_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsTransferOwnership"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"200":{"description":"Partial transfer — some orgs could not be transferred.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSimpleAccountsOrganizationsTransferOwnershipResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/states/":{"get":{"tags":["Sessions"],"summary":"Get Session State","operationId":"get_state","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Sessions"],"summary":"Set Session State","operationId":"set_state","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Sessions"],"summary":"Set Session State","operationId":"set_state","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["Status"],"summary":"Health Check","operationId":"health_check","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/jwks.json":{"get":{"tags":["Status"],"summary":"Store Jwks","description":"Public JWKS the object store's OIDC IAM fetches to verify our web-identity tokens.","operationId":"store_jwks","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/access/permissions/check":{"get":{"tags":["Access"],"summary":"Check Permissions","operationId":"check_permissions","parameters":[{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"scope_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Type"}},{"name":"scope_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scope Id"}},{"name":"resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"}},{"name":"resource_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access/roles":{"get":{"tags":["Access"],"summary":"Fetch Roles","description":"Return the effective role catalog per scope (organization,\nworkspace, project). RBAC is an OSS feature, so this is served in both\neditions; the frontend reads the `workspace` scope for the members UI.","operationId":"fetch_access_roles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Response Fetch Access Roles"}}}}}}},"/projects":{"get":{"tags":["Projects"],"summary":"Get Projects","operationId":"get_projects","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectsResponse"},"type":"array","title":"Response Get Projects"}}}}}},"post":{"tags":["Projects"],"summary":"Create Project","operationId":"create_project","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}":{"get":{"tags":["Projects"],"summary":"Get Project","operationId":"get_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Projects"],"summary":"Delete Project","operationId":"delete_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Projects"],"summary":"Update Project","operationId":"update_project","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile":{"get":{"tags":["Users"],"summary":"User Profile","operationId":"fetch_user_profile","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"tags":["Users"],"summary":"Delete User Account","description":"Self-serve deletion of the caller's own account (EE only).\n\nRequires an interactive SuperTokens session. API keys and service tokens are\nrejected: this is an irreversible destructive action, so a leaked or embedded\nintegration key must not be enough to delete the owning account.","operationId":"delete_user_account","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/username":{"put":{"tags":["Users"],"summary":"Update User Username","operationId":"update_user_username","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/reset-password":{"post":{"tags":["Users"],"summary":"Reset User Password","operationId":"reset_user_password","parameters":[{"name":"user_id","in":"query","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/keys":{"get":{"tags":["Keys"],"summary":"List Api Keys","description":"List all API keys associated with the authenticated user.\n\nArgs:\n request (Request): The incoming request object.\n\nReturns:\n List[ListAPIKeysResponse]: A list of API Keys associated with the user.","operationId":"list_api_keys","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ListAPIKeysResponse"},"type":"array","title":"Response List Api Keys"}}}}}},"post":{"tags":["Keys"],"summary":"Create Api Key","description":"Creates an API key for a user.\n\nArgs:\n request (Request): The request object containing the user ID in the request state.\n\nReturns:\n str: The created API key.","operationId":"create_api_key","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Create Api Key"}}}}}}},"/keys/{key_prefix}":{"delete":{"tags":["Keys"],"summary":"Delete Api Key","description":"Delete an API key with the given key prefix for the authenticated user.\n\nArgs:\n key_prefix (str): The prefix of the API key to be deleted.\n request (Request): The incoming request object.\n\nReturns:\n dict: A dictionary containing a success message upon successful deletion.\n\nRaises:\n HTTPException: If the API key is not found or does not belong to the user.","operationId":"delete_api_key","parameters":[{"name":"key_prefix","in":"path","required":true,"schema":{"type":"string","title":"Key Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Api Key"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations":{"get":{"tags":["Organizations"],"summary":"List Organizations","description":"Returns a list of organizations associated with the user's session.\n\nReturns:\n list[Organization]: A list of organizations associated with the user's session.\n\nRaises:\n HTTPException: If there is an error retrieving the organizations from the database.","operationId":"list_organizations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Organization"},"type":"array","title":"Response List Organizations"}}}}}},"post":{"tags":["Organizations"],"summary":"Create Organization","description":"Create a new organization.","operationId":"create_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}":{"get":{"tags":["Organizations"],"summary":"Fetch Organization Details","description":"Return the details of the organization.","operationId":"fetch_organization_details","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDetails"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Organizations"],"summary":"Update Organization","operationId":"patch_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Organizations"],"summary":"Update Organization","operationId":"update_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Organizations"],"summary":"Delete Organization","description":"Delete an organization (owner only).","operationId":"delete_organization","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite":{"post":{"tags":["Organizations"],"summary":"Invite User To Organization","description":"Assigns a role to a user in an organization.\n\nArgs:\n organization_id (str): The ID of the organization.\n payload (InviteRequest): The payload containing the organization id, user email, and role to assign.\n workspace_id (str): The ID of the workspace.\n\nReturns:\n bool: True if the role was successfully assigned, False otherwise.\n\nRaises:\n HTTPException: If the user does not have permission to perform this action.\n HTTPException: If there is an error assigning the role to the user.","operationId":"invite_user_to_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InviteRequest"},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite/resend":{"post":{"tags":["Organizations"],"summary":"Resend User Invitation To Organization","description":"Resend an invitation to a user to an Organization.\n\nRaises:\n HTTPException: _description_; status_code: 500\n HTTPException: Invitation not found or has expired; status_code: 400\n HTTPException: You already belong to this organization; status_code: 400\n\nReturns:\n JSONResponse: Resent invitation to user; status_code: 200","operationId":"resend_invitation","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendInviteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}/invite/accept":{"post":{"tags":["Organizations"],"summary":"Accept Organization Invitation","description":"Accept an invitation to an organization.\n\nRaises:\n HTTPException: _description_; status_code: 500\n HTTPException: Invitation not found or has expired; status_code: 400\n HTTPException: You already belong to this organization; status_code: 400\n\nReturns:\n JSONResponse: Accepted invitation to workspace; status_code: 200","operationId":"accept_invitation","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteToken"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/transfer/{new_owner_id}":{"post":{"tags":["Organizations"],"summary":"Transfer Organization Ownership","description":"Transfer organization ownership to another member.","operationId":"transfer_organization_ownership","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"new_owner_id","in":"path","required":true,"schema":{"type":"string","title":"New Owner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces":{"post":{"tags":["Organizations"],"summary":"Create Workspace","description":"Create a new workspace in an organization (owner only).","operationId":"create_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWorkspace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/{organization_id}/workspaces/{workspace_id}":{"put":{"tags":["Organizations"],"summary":"Update Workspace","description":"Update a workspace's details (requires EDIT_WORKSPACE permission).","operationId":"update_workspace","parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWorkspace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces":{"get":{"tags":["Workspaces"],"summary":"Get Workspace","description":"Get workspace details.\n\nReturns details about the workspace associated with the user's session.\n\nReturns:\n Workspace: The details of the workspace.\n\nRaises:\n HTTPException: If the user does not have permission to perform this action.","operationId":"get_workspace","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Workspace"},"type":"array","title":"Response Get Workspace"}}}}}}},"/workspaces/roles":{"get":{"tags":["Workspaces"],"summary":"Get All Workspace Roles","description":"Get all workspace roles.\n\nReturns a list of all available workspace roles.\n\nReturns:\n List[WorkspaceRoleResponse]: A list of DefaultRole objects representing the available workspace roles.\n\nRaises:\n HTTPException: If an error occurs while retrieving the workspace roles.","operationId":"get_all_workspace_roles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Response Get All Workspace Roles"}}}}}}},"/workspaces/permissions":{"get":{"tags":["Workspaces"],"summary":"Get All Workspace Permissions","description":"Get all available workspace permissions.","operationId":"get_all_workspace_permissions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array","title":"Response Get All Workspace Permissions"}}}}}}},"/workspaces/{workspace_id}/roles":{"post":{"tags":["Workspaces"],"summary":"Assign Role To User","description":"Assign a role to a user in a workspace.\n\nArgs:\n payload (UserRole): The organization id, user email, and role to assign.\n workspace_id (str): The ID of the workspace.","operationId":"assign_role_to_user","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRole"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Workspaces"],"summary":"Unassign Role From User","description":"Remove a role assignment from a user in a workspace.\n\nArgs:\n email (str): The email of the user.\n organization_id (str): The ID of the organization.\n role (str): The role to remove.\n workspace_id (str): The ID of the workspace.","operationId":"unassign_role_from_user","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}},{"name":"organization_id","in":"query","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"role","in":"query","required":true,"schema":{"type":"string","title":"Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/users":{"delete":{"tags":["Workspaces"],"summary":"Remove User From Workspace","description":"Remove a user from a workspace.\n\nArgs:\n email (str): The email address of the user to be removed\n workspace_id (str): The ID of the workspace.","operationId":"remove_user_from_workspace","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}},{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AddScenariosRequest":{"properties":{"count":{"type":"integer","title":"Count"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","required":["count"],"title":"AddScenariosRequest"},"AddStepsRequest":{"properties":{"steps":{"items":{"$ref":"#/components/schemas/EvaluationRunDataStep-Input"},"type":"array","title":"Steps"}},"type":"object","required":["steps"],"title":"AddStepsRequest"},"AdminAccountCreateOptions":{"properties":{"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":false},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"create_identities":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Create Identities"},"create_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Create Api Keys"},"return_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Return Api Keys"},"seed_defaults":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Seed Defaults","default":true},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"AdminAccountCreateOptions"},"AdminAccountRead":{"properties":{"users":{"additionalProperties":{"$ref":"#/components/schemas/AdminUserRead"},"type":"object","title":"Users","default":{}},"user_identities":{"additionalProperties":{"$ref":"#/components/schemas/AdminUserIdentityRead"},"type":"object","title":"User Identities","default":{}},"organizations":{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationRead"},"type":"object","title":"Organizations","default":{}},"workspaces":{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceRead"},"type":"object","title":"Workspaces","default":{}},"projects":{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectRead"},"type":"object","title":"Projects","default":{}},"organization_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationMembershipRead"},"type":"object","title":"Organization Memberships","default":{}},"workspace_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceMembershipRead"},"type":"object","title":"Workspace Memberships","default":{}},"project_memberships":{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectMembershipRead"},"type":"object","title":"Project Memberships","default":{}},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionRead"},"type":"object"},{"type":"null"}],"title":"Subscriptions"},"api_keys":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminApiKeyResponse"},"type":"object"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminAccountRead","description":"Per-account projection in the full graph response (plural entity maps)."},"AdminAccountsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"users":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminUserCreate"},"type":"object"},{"type":"null"}],"title":"Users"},"user_identities":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"object"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationCreate"},"type":"object"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceCreate"},"type":"object"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectCreate"},"type":"object"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"},"type":"object"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminApiKeyCreate"},"type":"object"},{"type":"null"}],"title":"Api Keys"},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionCreate"},"type":"object"},{"type":"null"}],"title":"Subscriptions"}},"type":"object","title":"AdminAccountsCreate"},"AdminAccountsDelete":{"properties":{"target":{"$ref":"#/components/schemas/AdminAccountsDeleteTarget"},"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":true},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"confirm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirm"}},"type":"object","required":["target"],"title":"AdminAccountsDelete"},"AdminAccountsDeleteTarget":{"properties":{"user_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Ids"},"user_emails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Emails"},"organization_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Organization Ids"},"workspace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Workspace Ids"},"project_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Project Ids"}},"type":"object","title":"AdminAccountsDeleteTarget"},"AdminAccountsResponse":{"properties":{"accounts":{"items":{"$ref":"#/components/schemas/AdminAccountRead"},"type":"array","title":"Accounts","default":[]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminAccountsResponse"},"AdminApiKeyCreate":{"properties":{"project_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["project_ref","user_ref"],"title":"AdminApiKeyCreate"},"AdminApiKeyResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"prefix":{"type":"string","title":"Prefix"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"returned_once":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Returned Once"}},"type":"object","required":["prefix","project_id","user_id"],"title":"AdminApiKeyResponse"},"AdminDeleteResponse":{"properties":{"dry_run":{"type":"boolean","title":"Dry Run","default":false},"deleted":{"$ref":"#/components/schemas/AdminDeletedEntities","default":{}},"skipped":{"anyOf":[{"$ref":"#/components/schemas/AdminDeletedEntities"},{"type":"null"}]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminDeleteResponse"},"AdminDeletedEntities":{"properties":{"users":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Users"},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminDeletedEntity"},"type":"array"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminDeletedEntities"},"AdminDeletedEntity":{"properties":{"id":{"type":"string","title":"Id"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"}},"type":"object","required":["id"],"title":"AdminDeletedEntity"},"AdminOrganizationCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"owner_user_ref":{"anyOf":[{"$ref":"#/components/schemas/EntityRef"},{"type":"null"}]},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name"],"title":"AdminOrganizationCreate"},"AdminOrganizationMembershipCreate":{"properties":{"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["organization_ref","user_ref","role"],"title":"AdminOrganizationMembershipCreate"},"AdminOrganizationMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"organization_id":{"type":"string","title":"Organization Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","organization_id","user_id","role"],"title":"AdminOrganizationMembershipRead"},"AdminOrganizationRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"owner_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner User Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name"],"title":"AdminOrganizationRead"},"AdminProjectCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"workspace_ref":{"$ref":"#/components/schemas/EntityRef"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name","organization_ref","workspace_ref"],"title":"AdminProjectCreate"},"AdminProjectMembershipCreate":{"properties":{"project_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["project_ref","user_ref","role"],"title":"AdminProjectMembershipCreate"},"AdminProjectMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","project_id","user_id","role"],"title":"AdminProjectMembershipRead"},"AdminProjectRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name","organization_id","workspace_id"],"title":"AdminProjectRead"},"AdminSimpleAccountCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user":{"$ref":"#/components/schemas/AdminUserCreate"},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organization":{"anyOf":[{"$ref":"#/components/schemas/AdminOrganizationCreate"},{"type":"null"}]},"workspace":{"anyOf":[{"$ref":"#/components/schemas/AdminWorkspaceCreate"},{"type":"null"}]},"project":{"anyOf":[{"$ref":"#/components/schemas/AdminProjectCreate"},{"type":"null"}]},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"api_keys":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminApiKeyCreate"},"type":"array"},{"type":"null"}],"title":"Api Keys"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/AdminSubscriptionCreate"},{"type":"null"}]}},"type":"object","required":["user"],"title":"AdminSimpleAccountCreate","description":"One account entry in a batch simple-accounts create request."},"AdminSimpleAccountDeleteEntry":{"properties":{"user":{"$ref":"#/components/schemas/EntityRef"}},"type":"object","required":["user"],"title":"AdminSimpleAccountDeleteEntry","description":"One account entry in a batch simple-accounts delete request.\n\nIdentifies the account by its user (typically by id)."},"AdminSimpleAccountRead":{"properties":{"user":{"anyOf":[{"$ref":"#/components/schemas/AdminUserRead"},{"type":"null"}]},"user_identities":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminUserIdentityRead"},"type":"array"},{"type":"null"}],"title":"User Identities"},"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminOrganizationRead"},"type":"object"},{"type":"null"}],"title":"Organizations"},"workspaces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminWorkspaceRead"},"type":"object"},{"type":"null"}],"title":"Workspaces"},"projects":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminProjectRead"},"type":"object"},{"type":"null"}],"title":"Projects"},"organization_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminOrganizationMembershipRead"},"type":"array"},{"type":"null"}],"title":"Organization Memberships"},"workspace_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminWorkspaceMembershipRead"},"type":"array"},{"type":"null"}],"title":"Workspace Memberships"},"project_memberships":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminProjectMembershipRead"},"type":"array"},{"type":"null"}],"title":"Project Memberships"},"subscriptions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AdminSubscriptionRead"},"type":"object"},{"type":"null"}],"title":"Subscriptions"},"api_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Api Keys"}},"type":"object","title":"AdminSimpleAccountRead","description":"Per-account entry in the simple-accounts response.\n\n``user`` is a flat object (there is always exactly one per account).\n``organizations``, ``workspaces``, ``projects`` are named dicts (keys match\nthe ref keys used internally, e.g. \"org\", \"wrk\", \"prj\").\n``api_keys`` maps ref names to raw key values (plain strings, not DTOs)."},"AdminSimpleAccountsApiKeysCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"api_key":{"$ref":"#/components/schemas/AdminApiKeyCreate"}},"type":"object","required":["api_key"],"title":"AdminSimpleAccountsApiKeysCreate"},"AdminSimpleAccountsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountCreate"},"type":"object","title":"Accounts"}},"type":"object","required":["accounts"],"title":"AdminSimpleAccountsCreate"},"AdminSimpleAccountsDelete":{"properties":{"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountDeleteEntry"},"type":"object","title":"Accounts"},"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dry Run","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"confirm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirm"}},"type":"object","required":["accounts"],"title":"AdminSimpleAccountsDelete"},"AdminSimpleAccountsOrganizationsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"organization":{"$ref":"#/components/schemas/AdminOrganizationCreate"},"owner":{"anyOf":[{"$ref":"#/components/schemas/AdminUserCreate"},{"type":"null"}]}},"type":"object","required":["organization"],"title":"AdminSimpleAccountsOrganizationsCreate"},"AdminSimpleAccountsOrganizationsMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminOrganizationMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsOrganizationsMembershipsCreate"},"AdminSimpleAccountsOrganizationsTransferOwnership":{"properties":{"organizations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EntityRef"},"type":"object"},{"type":"null"}],"title":"Organizations"},"users":{"additionalProperties":{"$ref":"#/components/schemas/EntityRef"},"type":"object","title":"Users"},"include_workspaces":{"anyOf":[{"type":"string","const":"all"},{"items":{"type":"string"},"type":"array"}],"title":"Include Workspaces","default":"all"},"include_projects":{"anyOf":[{"type":"string","const":"all"},{"items":{"type":"string"},"type":"array"}],"title":"Include Projects","default":"all"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"recovery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recovery"}},"type":"object","required":["users"],"title":"AdminSimpleAccountsOrganizationsTransferOwnership"},"AdminSimpleAccountsOrganizationsTransferOwnershipResponse":{"properties":{"transferred":{"items":{"type":"string"},"type":"array","title":"Transferred","default":[]},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminSimpleAccountsOrganizationsTransferOwnershipResponse"},"AdminSimpleAccountsProjectsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"project":{"$ref":"#/components/schemas/AdminProjectCreate"}},"type":"object","required":["project"],"title":"AdminSimpleAccountsProjectsCreate"},"AdminSimpleAccountsProjectsMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminProjectMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsProjectsMembershipsCreate"},"AdminSimpleAccountsResponse":{"properties":{"accounts":{"additionalProperties":{"$ref":"#/components/schemas/AdminSimpleAccountRead"},"type":"object","title":"Accounts","default":{}},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdminStructuredError"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","title":"AdminSimpleAccountsResponse"},"AdminSimpleAccountsUsersCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user":{"$ref":"#/components/schemas/AdminUserCreate"}},"type":"object","required":["user"],"title":"AdminSimpleAccountsUsersCreate"},"AdminSimpleAccountsUsersIdentitiesCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"user_identity":{"$ref":"#/components/schemas/AdminUserIdentityCreate"}},"type":"object","required":["user_ref","user_identity"],"title":"AdminSimpleAccountsUsersIdentitiesCreate"},"AdminSimpleAccountsUsersResetPassword":{"properties":{"user_identities":{"items":{"$ref":"#/components/schemas/AdminUserIdentityCreate"},"type":"array","title":"User Identities"}},"type":"object","required":["user_identities"],"title":"AdminSimpleAccountsUsersResetPassword"},"AdminSimpleAccountsWorkspacesCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"workspace":{"$ref":"#/components/schemas/AdminWorkspaceCreate"}},"type":"object","required":["workspace"],"title":"AdminSimpleAccountsWorkspacesCreate"},"AdminSimpleAccountsWorkspacesMembershipsCreate":{"properties":{"options":{"anyOf":[{"$ref":"#/components/schemas/AdminAccountCreateOptions"},{"type":"null"}]},"membership":{"$ref":"#/components/schemas/AdminWorkspaceMembershipCreate"}},"type":"object","required":["membership"],"title":"AdminSimpleAccountsWorkspacesMembershipsCreate"},"AdminStructuredError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"}},"type":"object","required":["code","message"],"title":"AdminStructuredError"},"AdminSubscriptionCreate":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"AdminSubscriptionCreate"},"AdminSubscriptionRead":{"properties":{"plan":{"type":"string","title":"Plan"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","required":["plan"],"title":"AdminSubscriptionRead"},"AdminUserCreate":{"properties":{"email":{"type":"string","title":"Email"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"is_root":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Root"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["email"],"title":"AdminUserCreate"},"AdminUserIdentityCreate":{"properties":{"user_ref":{"anyOf":[{"$ref":"#/components/schemas/EntityRef"},{"type":"null"}]},"method":{"type":"string","title":"Method"},"subject":{"type":"string","title":"Subject"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"provider_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider User Id"},"claims":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Claims"}},"type":"object","required":["method","subject"],"title":"AdminUserIdentityCreate"},"AdminUserIdentityRead":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"user_id":{"type":"string","title":"User Id"},"method":{"type":"string","title":"Method"},"subject":{"type":"string","title":"Subject"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"status":{"type":"string","enum":["created","linked","pending_confirmation","skipped","failed"],"title":"Status","default":"created"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["user_id","method","subject"],"title":"AdminUserIdentityRead"},"AdminUserRead":{"properties":{"id":{"type":"string","title":"Id"},"uid":{"type":"string","title":"Uid"},"email":{"type":"string","title":"Email"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"is_root":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Root"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","uid","email"],"title":"AdminUserRead"},"AdminWorkspaceCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_ref":{"$ref":"#/components/schemas/EntityRef"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["name","organization_ref"],"title":"AdminWorkspaceCreate"},"AdminWorkspaceMembershipCreate":{"properties":{"workspace_ref":{"$ref":"#/components/schemas/EntityRef"},"user_ref":{"$ref":"#/components/schemas/EntityRef"},"role":{"type":"string","title":"Role"}},"type":"object","required":["workspace_ref","user_ref","role"],"title":"AdminWorkspaceMembershipCreate"},"AdminWorkspaceMembershipRead":{"properties":{"id":{"type":"string","title":"Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","workspace_id","user_id","role"],"title":"AdminWorkspaceMembershipRead"},"AdminWorkspaceRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"organization_id":{"type":"string","title":"Organization Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","name","organization_id"],"title":"AdminWorkspaceRead"},"AgentMountQueryRequest":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"},"name":{"type":"string","title":"Name","default":"default"}},"type":"object","required":["artifact_id"],"title":"AgentMountQueryRequest"},"AgentTemplateOverlay":{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tools","description":"Platform tool configs and `@ag.embed` tool references."},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"`@ag.embed` references to authoring skills."},"sandbox":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox","description":"Sandbox section overlay, e.g. `{permissions: {...}}`."}},"type":"object","title":"AgentTemplateOverlay","description":"A documented subset of the `parameters.agent` authoring shape.\n\nCarries the platform-owned tools, authoring skills, and sandbox elevation the playground\nlayers on top of the draft for the build kit. Entries are intentionally open (platform-op\nconfigs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent`\nauthoring template has no shared Pydantic model today (it rides as free-form\n`data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with\ndifferent field names, so neither can be reused 1:1 to type this overlay."},"Analytics":{"properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","default":0},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","default":0.0},"costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costs","default":0.0},"tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens","default":0.0}},"type":"object","title":"Analytics"},"AnalyticsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"$ref":"#/components/schemas/MetricsBucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates. Each bucket's `metrics` dict is keyed by the dotted `path` of the corresponding `MetricSpec`, ordered oldest to newest.","default":[]},"query":{"$ref":"#/components/schemas/TracingQuery","description":"The resolved query used to compute the buckets."},"specs":{"items":{"$ref":"#/components/schemas/MetricSpec"},"type":"array","title":"Specs","description":"The resolved metric specs applied in each bucket.","default":[]}},"type":"object","title":"AnalyticsResponse","description":"Analytics response with user-specified metric specs."},"Annotation":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"Annotation"},"AnnotationCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"AnnotationCreate"},"AnnotationCreateRequest":{"properties":{"annotation":{"$ref":"#/components/schemas/AnnotationCreate"}},"type":"object","required":["annotation"],"title":"AnnotationCreateRequest"},"AnnotationEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"AnnotationEdit"},"AnnotationEditRequest":{"properties":{"annotation":{"$ref":"#/components/schemas/AnnotationEdit"}},"type":"object","required":["annotation"],"title":"AnnotationEditRequest"},"AnnotationLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotation_link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}]}},"type":"object","title":"AnnotationLinkResponse"},"AnnotationQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"AnnotationQuery"},"AnnotationQueryRequest":{"properties":{"annotation":{"anyOf":[{"$ref":"#/components/schemas/AnnotationQuery"},{"type":"null"}]},"annotation_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Annotation Links"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"AnnotationQueryRequest"},"AnnotationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotation":{"anyOf":[{"$ref":"#/components/schemas/Annotation"},{"type":"null"}]}},"type":"object","title":"AnnotationResponse"},"AnnotationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"annotations":{"items":{"$ref":"#/components/schemas/Annotation"},"type":"array","title":"Annotations","default":[]}},"type":"object","title":"AnnotationsResponse"},"Application":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Application"},"ApplicationArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"ApplicationArtifactFlags","description":"Application flags - is_application=True; other booleans use their normal defaults unless explicitly set."},"ApplicationArtifactQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}},"type":"object","title":"ApplicationArtifactQueryFlags","description":"Application query flags - filter for is_application=True."},"ApplicationCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogPreset"},"ApplicationCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/ApplicationCatalogPreset"},{"type":"null"}],"description":"Catalog preset definition."}},"type":"object","title":"ApplicationCatalogPresetResponse","description":"Single preset response envelope."},"ApplicationCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"$ref":"#/components/schemas/ApplicationCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets for the template. Use a preset's `data` as the first revision when creating an application from a template."}},"type":"object","title":"ApplicationCatalogPresetsResponse","description":"List of catalog presets scoped to one template."},"ApplicationCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"ApplicationCatalogTemplate"},"ApplicationCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when found, `0` otherwise.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/ApplicationCatalogTemplate"},{"type":"null"}],"description":"Catalog template definition."}},"type":"object","title":"ApplicationCatalogTemplateResponse","description":"Single template response envelope."},"ApplicationCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"$ref":"#/components/schemas/ApplicationCatalogTemplate"},"type":"array","title":"Templates","description":"Built-in and custom templates an application can be created from. Each template carries a `key`, a `uri`, and the JSON Schemas that applications of that type expose."}},"type":"object","title":"ApplicationCatalogTemplatesResponse","description":"List of catalog templates."},"ApplicationCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"ApplicationCatalogType"},"ApplicationCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of types returned.","default":0},"types":{"items":{"$ref":"#/components/schemas/ApplicationCatalogType"},"type":"array","title":"Types","description":"Shared JSON Schema building blocks referenced by templates (for example `message`, `prompt-template`)."}},"type":"object","title":"ApplicationCatalogTypesResponse","description":"List of catalog types."},"ApplicationCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationCreate"},"ApplicationCreateRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationCreate","description":"Artifact-level fields for the new application: `slug`, `name`, `description`, `flags`, `tags`, `meta`. The `slug` must be unique within the project."}},"type":"object","required":["application"],"title":"ApplicationCreateRequest","description":"Request body for creating an application artifact.\n\nApplications are versioned resources; creating one produces an empty artifact.\nUse `POST /simple/applications/` if you want to create the artifact, a default\nvariant, and a first committed revision in a single call.\nSee the [Applications guide](/reference/api-guide/applications)."},"ApplicationEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationEdit"},"ApplicationEditRequest":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationEdit","description":"Artifact fields to update. The `id` must match the `application_id` in the URL path."}},"type":"object","required":["application"],"title":"ApplicationEditRequest","description":"Request body for editing an application artifact.\n\nOnly artifact-level fields (flags, tags, meta) can be edited here. Editing\nthe `name` is currently disabled. To change the prompt or model parameters,\ncommit a new revision on a variant with `/applications/revisions/commit`."},"ApplicationFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationFlags","description":"Legacy full application flag set."},"ApplicationQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationArtifactQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"ApplicationQuery"},"ApplicationQueryRequest":{"properties":{"application":{"anyOf":[{"$ref":"#/components/schemas/ApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Accepts `slug`, `slugs`, `flags`, `tags`, `meta`. All fields are AND-ed."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict the query to specific applications by `id` or `slug`. Combined with the `application` filter with AND semantics."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include soft-deleted applications. Defaults to `false`."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"ApplicationQueryRequest","description":"Request body for `POST /applications/query`.\n\nReturns artifact rows only. For rows that include the currently resolved\nvariant, revision, and `data` payload merged in, use\n`POST /simple/applications/query`.\nSee [Query Pattern](/reference/api-guide/query-pattern)."},"ApplicationResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"$ref":"#/components/schemas/Application"},{"type":"null"}],"description":"The application artifact, or `null` if not found."}},"type":"object","title":"ApplicationResponse","description":"Single-application response envelope."},"ApplicationRevision-Input":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"ApplicationRevision-Output":{"properties":{"application_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"ApplicationRevision"},"ApplicationRevisionCommit":{"properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionDelta"},{"type":"null"}]}},"type":"object","title":"ApplicationRevisionCommit"},"ApplicationRevisionCommitRequest":{"properties":{"application_revision":{"$ref":"#/components/schemas/ApplicationRevisionCommit","description":"Commit payload. Must include `application_variant_id` and `data`. `message` is a human-readable commit message. `slug` is optional; if omitted, the server generates one."}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCommitRequest","description":"Request body for committing a new revision on a variant.\n\nThe commit becomes the variant's new tip. Revisions are immutable once\ncommitted; to change behavior, commit another revision.\nSee [Versioning](/reference/api-guide/versioning#committing-a-revision)."},"ApplicationRevisionCreate":{"properties":{"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationRevisionCreate"},"ApplicationRevisionCreateRequest":{"properties":{"application_revision":{"$ref":"#/components/schemas/ApplicationRevisionCreate","description":"Revision fields. Must reference the parent variant."}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionCreateRequest","description":"Request body for creating a revision row without committing it.\n\nPrefer `POST /applications/revisions/commit` for normal use — commit creates\na revision and advances the variant's tip. The plain create endpoint exists\nfor advanced workflows that populate revision rows out of band."},"ApplicationRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},"ApplicationRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"ApplicationRevisionData"},"ApplicationRevisionDeployRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application reference. If provided, the latest revision of the default variant is deployed."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant reference. Its latest revision is deployed."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Revision reference. The exact revision is deployed."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment (for example `{\"slug\": \"production\"}`)."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision; advanced use only."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Deployment key inside the environment revision. Defaults to `{application_slug}.revision`."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Optional commit message attached to the environment revision."}},"type":"object","title":"ApplicationRevisionDeployRequest","description":"Request body for `POST /applications/revisions/deploy`.\n\nAttaches an application revision to an environment under a key. Subsequent\ncalls to `/applications/revisions/retrieve` with the matching\n`environment_ref` resolve to this revision.\nSee the [Applications guide](/reference/api-guide/applications#deployment)."},"ApplicationRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationRevisionEdit"},"ApplicationRevisionEditRequest":{"properties":{"application_revision":{"$ref":"#/components/schemas/ApplicationRevisionEdit","description":"Full revision body. Edit replaces the editable fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_revision_id` in the URL path. `data`, `author`, `date`, and `message` are immutable."}},"type":"object","required":["application_revision"],"title":"ApplicationRevisionEditRequest","description":"Request body for editing a revision's header fields.\n\nRevisions are immutable snapshots of the application's configuration;\n`data`, `author`, `date`, and `message` cannot be edited. Use this only to\ncorrect metadata such as `description` or `tags`."},"ApplicationRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"ApplicationRevisionFlags"},"ApplicationRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ApplicationRevisionQuery"},"ApplicationRevisionQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"ApplicationRevisionQueryFlags"},"ApplicationRevisionQueryRequest":{"properties":{"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevisionQuery"},{"type":"null"}],"description":"Attribute filter. Includes standard fields (`slug`, `slugs`, `flags`) plus revision-specific ones (`author`, `authors`, `date`, `dates`, `message`)."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Scope to revisions belonging to these applications."},"application_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Variant Refs","description":"Scope to revisions belonging to these variants."},"application_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Revision Refs","description":"Restrict to specific revisions by `id` or by `slug` + `version`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived revisions. Defaults to `false`."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"ApplicationRevisionQueryRequest","description":"Request body for `POST /applications/revisions/query`.\n\nReturns committed revisions across one or more variants. For the ordered\nlog of a single variant, use `POST /applications/revisions/log`."},"ApplicationRevisionResolveRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application reference."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant reference; resolves the latest revision on it."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Revision reference; resolves that exact revision."},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevision-Input"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum nesting depth for embedded references. Protects against runaway recursion. Defaults to `10`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum total number of embedded references to follow. Defaults to `100`.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle resolution errors. `exception` (default) aborts; `placeholder` substitutes a marker; `keep` leaves the original reference untouched.","default":"exception"}},"type":"object","title":"ApplicationRevisionResolveRequest","description":"Request body for `POST /applications/revisions/resolve`.\n\nFetches a revision and resolves any embedded references (snippets, linked\nrevisions) inside its `data`. Use when clients need the fully-inlined\nconfiguration instead of the raw stored form."},"ApplicationRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was resolved, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevision-Output"},{"type":"null"}],"description":"The revision with embedded references inlined into `data`."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Diagnostic info about which references were resolved."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"ApplicationRevisionResolveResponse","description":"Response for `POST /applications/revisions/resolve`."},"ApplicationRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision was found, `0` otherwise.","default":0},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/ApplicationRevision-Output"},{"type":"null"}],"description":"The application revision, including its `data` payload (prompt, model parameters, schemas, URL)."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Present only when the request set `resolve: true`. Describes which embedded references were resolved and any errors that occurred."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"ApplicationRevisionResponse","description":"Single-revision response envelope."},"ApplicationRevisionRetrieveRequest":{"properties":{"application_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the application's default variant."},"application_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Application revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `application_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment reference. Returns the revision currently deployed to that environment under the given `key`."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant reference; used together with `environment_ref`."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment revision reference; used to pin to a specific environment commit instead of the current tip."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Deployment key inside the environment revision. When omitted and `application_ref` is supplied, the server derives it as `{application_slug}.revision`."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When `true`, resolve embedded references in the returned revision's `data` (for example, snippet references)."}},"type":"object","title":"ApplicationRevisionRetrieveRequest","description":"Request body for `POST /applications/revisions/retrieve`.\n\nResolves to a single revision by one or more reference types. Every\nreference supplied must agree with the resolved revision; contradictions\nreturn HTTP 400. See the [Applications guide](/reference/api-guide/applications#invocation)."},"ApplicationRevisionsLog":{"properties":{"application_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"application_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"ApplicationRevisionsLog"},"ApplicationRevisionsLogRequest":{"properties":{"application_revisions":{"$ref":"#/components/schemas/ApplicationRevisionsLog","description":"Filter for the log. Typically set `application_variant_id` to list the revision history of a single variant; optionally set `application_revision_id` + `depth` to walk back a bounded number of commits from a specific revision."}},"type":"object","required":["application_revisions"],"title":"ApplicationRevisionsLogRequest","description":"Request body for `POST /applications/revisions/log`.\n\nReturns the ordered list of revisions committed to a variant, newest first.\nEach entry carries commit metadata and the full revision record."},"ApplicationRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"application_revisions":{"items":{"$ref":"#/components/schemas/ApplicationRevision-Output"},"type":"array","title":"Application Revisions","description":"Application revisions matching the query or log."}},"type":"object","title":"ApplicationRevisionsResponse","description":"Paginated list of application revisions."},"ApplicationVariant":{"properties":{"application_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariant"},"ApplicationVariantCreate":{"properties":{"application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Application Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantCreate"},"ApplicationVariantCreateRequest":{"properties":{"application_variant":{"$ref":"#/components/schemas/ApplicationVariantCreate","description":"Variant fields. Must include `application_id` (the artifact the variant belongs to) and a `slug` unique within the project."}},"type":"object","required":["application_variant"],"title":"ApplicationVariantCreateRequest","description":"Request body for creating a variant on an existing application."},"ApplicationVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ApplicationVariantEdit"},"ApplicationVariantEditRequest":{"properties":{"application_variant":{"$ref":"#/components/schemas/ApplicationVariantEdit","description":"Full variant body. Edit replaces the artifact-level fields in a single PUT, so include every editable field even if its value is unchanged. `id` must match the `application_variant_id` in the URL path; `slug` is immutable. Configuration changes (prompt, model parameters) go through `/applications/revisions/commit`, not this endpoint."}},"type":"object","required":["application_variant"],"title":"ApplicationVariantEditRequest","description":"Request body for editing a variant's artifact-level fields."},"ApplicationVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"ApplicationVariantFlags"},"ApplicationVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/ApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"ApplicationVariantFork"},"ApplicationVariantForkRequest":{"properties":{"application_variant":{"$ref":"#/components/schemas/ApplicationVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"application_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"application_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["application_variant","application_variant_ref"],"title":"ApplicationVariantForkRequest"},"ApplicationVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a variant was found, `0` otherwise.","default":0},"application_variant":{"anyOf":[{"$ref":"#/components/schemas/ApplicationVariant"},{"type":"null"}],"description":"The application variant, or `null`."}},"type":"object","title":"ApplicationVariantResponse","description":"Single-variant response envelope."},"ApplicationVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in this page.","default":0},"application_variants":{"items":{"$ref":"#/components/schemas/ApplicationVariant"},"type":"array","title":"Application Variants","description":"Application variants matching the query."}},"type":"object","title":"ApplicationVariantsResponse","description":"Paginated list of application variants."},"ApplicationsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"$ref":"#/components/schemas/Application"},"type":"array","title":"Applications","description":"Application artifacts matching the query."}},"type":"object","title":"ApplicationsResponse","description":"Paginated list of application artifacts."},"ArchiveMount":{"properties":{"mount_id":{"type":"string","format":"uuid","title":"Mount Id"},"prefix":{"type":"string","title":"Prefix","default":""},"path":{"type":"string","title":"Path","default":""}},"type":"object","required":["mount_id"],"title":"ArchiveMount","description":"One mount to include in an archive. `path` scopes it to a folder within the mount (\"\" = the\nwhole mount); `prefix` places its files under `prefix/` in the zip (the folded drive layout)."},"Body_configs_fetch_variants_configs_fetch_post":{"properties":{"variant_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]},"application_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Input"},{"type":"null"}]}},"type":"object","title":"Body_configs_fetch_variants_configs_fetch_post"},"Body_create_simple_testset_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"testset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Name"},"testset_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Description"},"testset_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Tags"},"testset_meta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Meta"}},"type":"object","required":["file"],"title":"Body_create_simple_testset_from_file"},"Body_create_testset_revision_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases"}},"type":"object","required":["file"],"title":"Body_create_testset_revision_from_file"},"Body_edit_simple_testset_from_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"file_type":{"type":"string","enum":["csv","json"],"title":"File Type","default":"csv"},"testset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Name"},"testset_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Description"},"testset_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Tags"},"testset_meta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Meta"}},"type":"object","required":["file"],"title":"Body_edit_simple_testset_from_file"},"Body_upload_mount_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_mount_file"},"Body_upload_session_mount_file":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_session_mount_file"},"Bucket":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"total":{"$ref":"#/components/schemas/Analytics"},"errors":{"$ref":"#/components/schemas/Analytics"}},"type":"object","required":["timestamp","interval","total","errors"],"title":"Bucket"},"BuiltinToolConfig":{"properties":{"render":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Render"},"permission":{"anyOf":[{"type":"string","enum":["allow","ask","deny"]},{"type":"null"}],"title":"Permission"},"type":{"type":"string","const":"builtin","title":"Type","default":"builtin"},"name":{"type":"string","minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"BuiltinToolConfig"},"CapabilitiesQuery":{"properties":{"use_cases":{"items":{"type":"string"},"type":"array","title":"Use Cases"},"provider":{"type":"string","title":"Provider","default":"composio"},"limit_alternatives":{"type":"integer","minimum":0.0,"title":"Limit Alternatives","default":3}},"type":"object","required":["use_cases"],"title":"CapabilitiesQuery","description":"Request body for ``POST /tools/discover``.\n\nThe response is the core ``CapabilitiesResult`` (see\n``docs/design/agent-workflows/projects/tool-discovery/design.md``). Project scope\ncomes from the caller's auth, not the body."},"CapabilitiesResult":{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array","title":"Capabilities"},"connections":{"items":{"$ref":"#/components/schemas/ConnectionRequirement"},"type":"array","title":"Connections"},"guidance":{"$ref":"#/components/schemas/CapabilityGuidance"},"ready":{"type":"boolean","title":"Ready","default":false},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","title":"CapabilitiesResult","description":"The ``discover_tools`` response (Agenta-native)."},"Capability":{"properties":{"use_case":{"type":"string","title":"Use Case"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"tool":{"anyOf":[{"$ref":"#/components/schemas/DiscoveredTool"},{"type":"null"}]},"alternatives":{"items":{"$ref":"#/components/schemas/DiscoveredAlternative"},"type":"array","title":"Alternatives"},"connection":{"anyOf":[{"$ref":"#/components/schemas/CapabilityConnection"},{"type":"null"}]},"difficulty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["use_case"],"title":"Capability","description":"One use_case resolved to a best-match tool, alternatives, and its state."},"CapabilityConnection":{"properties":{"state":{"$ref":"#/components/schemas/ToolConnectionState"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["state"],"title":"CapabilityConnection","description":"The connection state for a capability's primary integration."},"CapabilityGuidance":{"properties":{"plan_steps":{"items":{"type":"string"},"type":"array","title":"Plan Steps"},"pitfalls":{"items":{"type":"string"},"type":"array","title":"Pitfalls"}},"type":"object","title":"CapabilityGuidance","description":"Structured operating knowledge the setup agent composes into ``agents_md``.\n\nComposio slugs in the text are mapped to the same ``integration.action`` names\nused elsewhere, so nothing Composio leaks."},"CollectStatusResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Readiness string. `ready` means the router is mounted and accepts OTLP ingest."}},"type":"object","required":["status"],"title":"CollectStatusResponse","description":"OTLP endpoint readiness response."},"CommandMode":{"type":"string","enum":["send","steer","cancel","attach"],"title":"CommandMode","description":"Derived from the prompt × force matrix."},"ComparisonOperator":{"type":"string","enum":["is","is_not"],"title":"ComparisonOperator"},"Condition":{"properties":{"field":{"type":"string","title":"Field"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/NumericOperator"},{"$ref":"#/components/schemas/StringOperator"},{"$ref":"#/components/schemas/ListOperator"},{"$ref":"#/components/schemas/DictOperator"},{"$ref":"#/components/schemas/ExistenceOperator"},{"type":"null"}],"title":"Operator","default":"is"},"options":{"anyOf":[{"$ref":"#/components/schemas/TextOptions"},{"$ref":"#/components/schemas/ListOptions"},{"type":"null"}],"title":"Options"}},"type":"object","required":["field"],"title":"Condition"},"ConfigResponseModel":{"properties":{"params":{"additionalProperties":true,"type":"object","title":"Params"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"application_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"service_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"variant_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRequestModel-Output"},{"type":"null"}]},"application_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"service_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"variant_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]},"environment_lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","title":"ConfigResponseModel"},"ConnectAffordance":{"properties":{"endpoint":{"type":"string","title":"Endpoint","default":"POST /tools/connections/"},"body":{"additionalProperties":true,"type":"object","title":"Body"}},"type":"object","required":["body"],"title":"ConnectAffordance","description":"The Agenta create-connection call to run when a connection is missing.\n\nSpeaks Agenta, not Composio: it points at ``POST /tools/connections/`` (which\nreturns a ``redirect_url``), never at ``COMPOSIO_MANAGE_CONNECTIONS``."},"ConnectionRequirement":{"properties":{"integration":{"type":"string","title":"Integration"},"state":{"$ref":"#/components/schemas/ToolConnectionState"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"connect":{"anyOf":[{"$ref":"#/components/schemas/ConnectAffordance"},{"type":"null"}]}},"type":"object","required":["integration","state"],"title":"ConnectionRequirement","description":"One integration's connection state, deduped across the result."},"CreateOrganizationPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"CreateOrganizationPayload"},"CreateProjectRequest":{"properties":{"name":{"type":"string","title":"Name"},"make_default":{"type":"boolean","title":"Make Default","default":false}},"type":"object","required":["name"],"title":"CreateProjectRequest"},"CreateSecretDTO":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"header":{"$ref":"#/components/schemas/Header"},"secret":{"$ref":"#/components/schemas/SecretDTO"}},"type":"object","required":["header","secret"],"title":"CreateSecretDTO"},"CreateWorkspace":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","required":["name"],"title":"CreateWorkspace"},"CustomModelSettingsDTO":{"properties":{"slug":{"type":"string","title":"Slug"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","required":["slug"],"title":"CustomModelSettingsDTO"},"CustomProviderDTO":{"properties":{"kind":{"$ref":"#/components/schemas/CustomProviderKind"},"provider":{"$ref":"#/components/schemas/CustomProviderSettingsDTO"},"models":{"items":{"$ref":"#/components/schemas/CustomModelSettingsDTO"},"type":"array","title":"Models"},"provider_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Slug"},"model_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Model Keys"}},"type":"object","required":["kind","provider","models"],"title":"CustomProviderDTO"},"CustomProviderKind":{"type":"string","enum":["custom","azure","bedrock","sagemaker","vertex_ai","openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"CustomProviderKind"},"CustomProviderSettingsDTO":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"extras":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extras"}},"type":"object","title":"CustomProviderSettingsDTO"},"CustomSecretDTO":{"properties":{"secret":{"$ref":"#/components/schemas/CustomSecretSettingsDTO"}},"type":"object","required":["secret"],"title":"CustomSecretDTO"},"CustomSecretFormat":{"type":"string","enum":["text","json"],"title":"CustomSecretFormat"},"CustomSecretSettingsDTO":{"properties":{"format":{"$ref":"#/components/schemas/CustomSecretFormat"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object"}],"title":"Content"}},"type":"object","required":["format","content"],"title":"CustomSecretSettingsDTO"},"DictOperator":{"type":"string","enum":["has","has_not"],"title":"DictOperator"},"DiscoverRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"DiscoverRequest"},"DiscoverResponse":{"properties":{"exists":{"type":"boolean","title":"Exists"},"methods":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/SSOProviders"}]},"type":"object","title":"Methods"}},"type":"object","required":["exists","methods"],"title":"DiscoverResponse"},"DiscoveredAlternative":{"properties":{"integration":{"type":"string","title":"Integration"},"action":{"type":"string","title":"Action"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_action":{"type":"string","title":"Provider Action"}},"type":"object","required":["integration","action","provider_action"],"title":"DiscoveredAlternative","description":"A companion/prerequisite tool the one-line request omitted (Agenta-shaped)."},"DiscoveredTool":{"properties":{"type":{"type":"string","const":"gateway","title":"Type","default":"gateway"},"provider":{"type":"string","title":"Provider","default":"composio"},"integration":{"type":"string","title":"Integration"},"action":{"type":"string","title":"Action"},"connection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection"},"input_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Schema"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_action":{"type":"string","title":"Provider Action"}},"type":"object","required":["integration","action","provider_action"],"title":"DiscoveredTool","description":"A discovered tool, already shaped as a ``GatewayToolConfig`` plus the\nmodel-facing extras the setup agent needs. ``connection`` is filled only when\nthe integration's state is ``ready``; otherwise the agent resolves it first."},"DiscoveredTriggerAlternative":{"properties":{"integration":{"type":"string","title":"Integration"},"event_key":{"type":"string","title":"Event Key"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_event":{"type":"string","title":"Provider Event"}},"type":"object","required":["integration","event_key","provider_event"],"title":"DiscoveredTriggerAlternative"},"DiscoveredTriggerEvent":{"properties":{"type":{"type":"string","const":"trigger","title":"Type","default":"trigger"},"provider":{"type":"string","title":"Provider","default":"composio"},"integration":{"type":"string","title":"Integration"},"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider_event":{"type":"string","title":"Provider Event"}},"type":"object","required":["integration","event_key","provider_event"],"title":"DiscoveredTriggerEvent"},"EntityRef":{"properties":{"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"EntityRef","description":"Polymorphic reference that can point to a request-local key, an\nexisting persisted ID, a stable slug, or an email address.\nExactly one field must be set."},"Environment":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Environment"},"EnvironmentCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentCreate"},"EnvironmentCreateRequest":{"properties":{"environment":{"$ref":"#/components/schemas/EnvironmentCreate"}},"type":"object","required":["environment"],"title":"EnvironmentCreateRequest"},"EnvironmentEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentEdit"},"EnvironmentEditRequest":{"properties":{"environment":{"$ref":"#/components/schemas/EnvironmentEdit"}},"type":"object","required":["environment"],"title":"EnvironmentEditRequest"},"EnvironmentFlags":{"properties":{"is_guarded":{"type":"boolean","title":"Is Guarded","default":false}},"type":"object","title":"EnvironmentFlags"},"EnvironmentQueryFlags":{"properties":{"is_guarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Guarded"}},"type":"object","title":"EnvironmentQueryFlags"},"EnvironmentResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment":{"anyOf":[{"$ref":"#/components/schemas/Environment"},{"type":"null"}]}},"type":"object","title":"EnvironmentResponse"},"EnvironmentRevision-Input":{"properties":{"environment_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevision"},"EnvironmentRevision-Output":{"properties":{"environment_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevision"},"EnvironmentRevisionCommit":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionDelta"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionCommit"},"EnvironmentRevisionCommitRequest":{"properties":{"environment_revision":{"$ref":"#/components/schemas/EnvironmentRevisionCommit"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionCommitRequest"},"EnvironmentRevisionCreate":{"properties":{"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentRevisionCreate"},"EnvironmentRevisionCreateRequest":{"properties":{"environment_revision":{"$ref":"#/components/schemas/EnvironmentRevisionCreate"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionCreateRequest"},"EnvironmentRevisionData":{"properties":{"references":{"anyOf":[{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"References"}},"additionalProperties":false,"type":"object","title":"EnvironmentRevisionData","description":"Per-app references for environment revision data.\n\nKeys are app-scoped identifiers (e.g., ``\"pre.revision\"``).\nValues are dicts of entity-type → Reference, providing full traceability::\n\n {\n \"pre.revision\": {\n \"application\": Reference(id=..., slug=..., version=...),\n \"application_variant\": Reference(id=..., slug=..., version=...),\n \"application_revision\": Reference(id=..., slug=..., version=...),\n },\n ...\n }"},"EnvironmentRevisionDelta":{"properties":{"set":{"anyOf":[{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"EnvironmentRevisionDelta","description":"Delta operations on environment revision references.\n\n- ``set``: references to add or update (key → dict of entity → Reference).\n- ``remove``: reference keys to remove."},"EnvironmentRevisionEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentRevisionEdit"},"EnvironmentRevisionEditRequest":{"properties":{"environment_revision":{"$ref":"#/components/schemas/EnvironmentRevisionEdit"}},"type":"object","required":["environment_revision"],"title":"EnvironmentRevisionEditRequest"},"EnvironmentRevisionResolveRequest":{"properties":{"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevision-Input"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"default":"exception"}},"type":"object","title":"EnvironmentRevisionResolveRequest"},"EnvironmentRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevision-Output"},{"type":"null"}]},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionResolveResponse"},"EnvironmentRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevision-Output"},{"type":"null"}]},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"EnvironmentRevisionResponse"},"EnvironmentRevisionRetrieveRequest":{"properties":{"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this environment."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `environment_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve"}},"type":"object","title":"EnvironmentRevisionRetrieveRequest"},"EnvironmentRevisionsLog":{"properties":{"environment_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"environment_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EnvironmentRevisionsLog"},"EnvironmentRevisionsLogRequest":{"properties":{"environment_revisions":{"$ref":"#/components/schemas/EnvironmentRevisionsLog"}},"type":"object","required":["environment_revisions"],"title":"EnvironmentRevisionsLogRequest"},"EnvironmentRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_revisions":{"items":{"$ref":"#/components/schemas/EnvironmentRevision-Output"},"type":"array","title":"Environment Revisions","default":[]}},"type":"object","title":"EnvironmentRevisionsResponse"},"EnvironmentVariant":{"properties":{"environment_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentVariant"},"EnvironmentVariantCreate":{"properties":{"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentVariantCreate"},"EnvironmentVariantCreateRequest":{"properties":{"environment_variant":{"$ref":"#/components/schemas/EnvironmentVariantCreate"}},"type":"object","required":["environment_variant"],"title":"EnvironmentVariantCreateRequest"},"EnvironmentVariantEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EnvironmentVariantEdit"},"EnvironmentVariantEditRequest":{"properties":{"environment_variant":{"$ref":"#/components/schemas/EnvironmentVariantEdit"}},"type":"object","required":["environment_variant"],"title":"EnvironmentVariantEditRequest"},"EnvironmentVariantFork":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EnvironmentVariantFork"},"EnvironmentVariantForkRequest":{"properties":{"environment_variant":{"$ref":"#/components/schemas/EnvironmentVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"environment_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["environment_variant","environment_variant_ref"],"title":"EnvironmentVariantForkRequest"},"EnvironmentVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_variant":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentVariant"},{"type":"null"}]}},"type":"object","title":"EnvironmentVariantResponse"},"EnvironmentVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment_variants":{"items":{"$ref":"#/components/schemas/EnvironmentVariant"},"type":"array","title":"Environment Variants","default":[]}},"type":"object","title":"EnvironmentVariantsResponse"},"EnvironmentsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environments":{"items":{"$ref":"#/components/schemas/Environment"},"type":"array","title":"Environments","default":[]}},"type":"object","title":"EnvironmentsResponse"},"ErrorPolicy":{"type":"string","enum":["exception","placeholder","keep"],"title":"ErrorPolicy"},"EvaluationMetrics":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetrics"},"EvaluationMetricsCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationMetricsCreate"},"EvaluationMetricsIdsRequest":{"properties":{"metrics_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Metrics Ids"}},"type":"object","required":["metrics_ids"],"title":"EvaluationMetricsIdsRequest"},"EvaluationMetricsIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"metrics_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Metrics Ids","default":[]}},"type":"object","title":"EvaluationMetricsIdsResponse"},"EvaluationMetricsQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"boolean"},{"type":"null"}],"title":"Timestamps"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"boolean"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationMetricsQuery"},"EvaluationMetricsQueryRequest":{"properties":{"metrics":{"anyOf":[{"$ref":"#/components/schemas/EvaluationMetricsQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationMetricsQueryRequest"},"EvaluationMetricsRefresh":{"properties":{"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"}},"type":"object","title":"EvaluationMetricsRefresh"},"EvaluationMetricsRefreshRequest":{"properties":{"metrics":{"$ref":"#/components/schemas/EvaluationMetricsRefresh"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsRefreshRequest"},"EvaluationMetricsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetrics"},"type":"array","title":"Metrics","default":[]}},"type":"object","title":"EvaluationMetricsResponse"},"EvaluationMetricsSetRequest":{"properties":{"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetricsCreate"},"type":"array","title":"Metrics"}},"type":"object","required":["metrics"],"title":"EvaluationMetricsSetRequest"},"EvaluationQueue":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueue"},"EvaluationQueueCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationQueueCreate"},"EvaluationQueueData":{"properties":{"user_ids":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"User Ids"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"EvaluationQueueData"},"EvaluationQueueEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueData"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueEdit"},"EvaluationQueueEditRequest":{"properties":{"queue":{"$ref":"#/components/schemas/EvaluationQueueEdit"}},"type":"object","required":["queue"],"title":"EvaluationQueueEditRequest"},"EvaluationQueueFlags":{"properties":{"is_sequential":{"type":"boolean","title":"Is Sequential","default":false},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","title":"EvaluationQueueFlags"},"EvaluationQueueIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"type":"object","title":"EvaluationQueueIdResponse"},"EvaluationQueueIdsRequest":{"properties":{"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids"}},"type":"object","required":["queue_ids"],"title":"EvaluationQueueIdsRequest"},"EvaluationQueueIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids","default":[]}},"type":"object","title":"EvaluationQueueIdsResponse"},"EvaluationQueueQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationQueueQuery"},"EvaluationQueueQueryFlags":{"properties":{"is_sequential":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sequential"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","title":"EvaluationQueueQueryFlags"},"EvaluationQueueQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueQueryRequest"},"EvaluationQueueResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueue"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueResponse"},"EvaluationQueueScenariosQuery":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"}},"type":"object","title":"EvaluationQueueScenariosQuery"},"EvaluationQueueScenariosQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/EvaluationQueueScenariosQuery"},{"type":"null"}]},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationQueueScenariosQueryRequest"},"EvaluationQueuesCreateRequest":{"properties":{"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueueCreate"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesCreateRequest"},"EvaluationQueuesEditRequest":{"properties":{"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueueEdit"},"type":"array","title":"Queues"}},"type":"object","required":["queues"],"title":"EvaluationQueuesEditRequest"},"EvaluationQueuesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"$ref":"#/components/schemas/EvaluationQueue"},"type":"array","title":"Queues","default":[]}},"type":"object","title":"EvaluationQueuesResponse"},"EvaluationResult":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResult"},"EvaluationResultCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"hash_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Hash Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"testcase_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testcase Id"},"error":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Error"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx","default":0},"step_key":{"type":"string","title":"Step Key"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["step_key","scenario_id","run_id"],"title":"EvaluationResultCreate"},"EvaluationResultIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Result Id"}},"type":"object","title":"EvaluationResultIdResponse"},"EvaluationResultIdsRequest":{"properties":{"result_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Result Ids"}},"type":"object","required":["result_ids"],"title":"EvaluationResultIdsRequest"},"EvaluationResultIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Result Ids","default":[]}},"type":"object","title":"EvaluationResultIdsResponse"},"EvaluationResultQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"repeat_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Idx"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"},"step_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Key"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationResultQuery"},"EvaluationResultQueryRequest":{"properties":{"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResultQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationResultQueryRequest"},"EvaluationResultResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResult"},{"type":"null"}]}},"type":"object","title":"EvaluationResultResponse"},"EvaluationResultsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"results":{"items":{"$ref":"#/components/schemas/EvaluationResult"},"type":"array","title":"Results","default":[]}},"type":"object","title":"EvaluationResultsResponse"},"EvaluationResultsSetRequest":{"properties":{"results":{"items":{"$ref":"#/components/schemas/EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"EvaluationResultsSetRequest"},"EvaluationRun":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData-Output"},{"type":"null"}]}},"type":"object","title":"EvaluationRun"},"EvaluationRunCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData-Input"},{"type":"null"}]}},"type":"object","title":"EvaluationRunCreate"},"EvaluationRunData-Input":{"properties":{"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStep-Input"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},"EvaluationRunData-Output":{"properties":{"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStep-Output"},"type":"array"},{"type":"null"}],"title":"Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats","default":1},"concurrency":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunDataConcurrency"},{"type":"null"}]},"mappings":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataMapping"},"type":"array"},{"type":"null"}],"title":"Mappings"}},"type":"object","title":"EvaluationRunData"},"EvaluationRunDataConcurrency":{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_retries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Retries"},"retry_delay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry Delay"}},"type":"object","title":"EvaluationRunDataConcurrency"},"EvaluationRunDataMapping":{"properties":{"column":{"$ref":"#/components/schemas/EvaluationRunDataMappingColumn"},"step":{"$ref":"#/components/schemas/EvaluationRunDataMappingStep"}},"type":"object","required":["column","step"],"title":"EvaluationRunDataMapping"},"EvaluationRunDataMappingColumn":{"properties":{"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","name"],"title":"EvaluationRunDataMappingColumn"},"EvaluationRunDataMappingStep":{"properties":{"key":{"type":"string","title":"Key"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","path"],"title":"EvaluationRunDataMappingStep"},"EvaluationRunDataStep-Input":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"EvaluationRunDataStep-Output":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","enum":["input","invocation","annotation"],"title":"Type"},"origin":{"type":"string","enum":["custom","human","auto"],"title":"Origin"},"references":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object","title":"References"},"inputs":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationRunDataStepInputKey"},"type":"array"},{"type":"null"}],"title":"Inputs"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]}},"type":"object","required":["key","type","origin","references"],"title":"EvaluationRunDataStep"},"EvaluationRunDataStepInputKey":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EvaluationRunDataStepInputKey"},"EvaluationRunEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunData-Input"},{"type":"null"}]}},"type":"object","title":"EvaluationRunEdit"},"EvaluationRunEditRequest":{"properties":{"run":{"$ref":"#/components/schemas/EvaluationRunEdit"}},"type":"object","required":["run"],"title":"EvaluationRunEditRequest"},"EvaluationRunFlags":{"properties":{"is_live":{"type":"boolean","title":"Is Live","default":false},"is_active":{"type":"boolean","title":"Is Active","default":false},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_queue":{"type":"boolean","title":"Is Queue","default":false},"is_cached":{"type":"boolean","title":"Is Cached","default":false},"is_split":{"type":"boolean","title":"Is Split","default":false},"has_queries":{"type":"boolean","title":"Has Queries","default":false},"has_testsets":{"type":"boolean","title":"Has Testsets","default":false},"has_traces":{"type":"boolean","title":"Has Traces","default":false},"has_testcases":{"type":"boolean","title":"Has Testcases","default":false},"has_evaluators":{"type":"boolean","title":"Has Evaluators","default":false},"has_custom":{"type":"boolean","title":"Has Custom","default":false},"has_human":{"type":"boolean","title":"Has Human","default":false},"has_auto":{"type":"boolean","title":"Has Auto","default":false}},"type":"object","title":"EvaluationRunFlags"},"EvaluationRunIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"}},"type":"object","title":"EvaluationRunIdResponse"},"EvaluationRunIdsRequest":{"properties":{"run_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Run Ids"}},"type":"object","required":["run_ids"],"title":"EvaluationRunIdsRequest"},"EvaluationRunIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Run Ids","default":[]}},"type":"object","title":"EvaluationRunIdsResponse"},"EvaluationRunQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"references":{"anyOf":[{"items":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"array"},{"type":"null"}],"title":"References"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationRunQuery"},"EvaluationRunQueryFlags":{"properties":{"is_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Live"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_closed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Closed"},"is_queue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Queue"},"is_cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached"},"is_split":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Split"},"has_queries":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Queries"},"has_testsets":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testsets"},"has_traces":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Traces"},"has_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Testcases"},"has_evaluators":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Evaluators"},"has_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Custom"},"has_human":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Human"},"has_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auto"}},"type":"object","title":"EvaluationRunQueryFlags"},"EvaluationRunQueryRequest":{"properties":{"run":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunQueryRequest"},"EvaluationRunResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"run":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRun"},{"type":"null"}]}},"type":"object","title":"EvaluationRunResponse"},"EvaluationRunsCreateRequest":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/EvaluationRunCreate"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsCreateRequest"},"EvaluationRunsEditRequest":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/EvaluationRunEdit"},"type":"array","title":"Runs"}},"type":"object","required":["runs"],"title":"EvaluationRunsEditRequest"},"EvaluationRunsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"runs":{"items":{"$ref":"#/components/schemas/EvaluationRun"},"type":"array","title":"Runs","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationRunsResponse"},"EvaluationScenario":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenario"},"EvaluationScenarioCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"EvaluationScenarioCreate"},"EvaluationScenarioEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","title":"EvaluationScenarioEdit"},"EvaluationScenarioEditRequest":{"properties":{"scenario":{"$ref":"#/components/schemas/EvaluationScenarioEdit"}},"type":"object","required":["scenario"],"title":"EvaluationScenarioEditRequest"},"EvaluationScenarioIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"}},"type":"object","title":"EvaluationScenarioIdResponse"},"EvaluationScenarioIdsRequest":{"properties":{"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids"}},"type":"object","required":["scenario_ids"],"title":"EvaluationScenarioIdsRequest"},"EvaluationScenarioIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids","default":[]}},"type":"object","title":"EvaluationScenarioIdsResponse"},"EvaluationScenarioQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvaluationStatus"},"type":"array"},{"type":"null"}],"title":"Statuses"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"intervals":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Intervals"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"EvaluationScenarioQuery"},"EvaluationScenarioQueryRequest":{"properties":{"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioQueryRequest"},"EvaluationScenarioResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenario"},{"type":"null"}]}},"type":"object","title":"EvaluationScenarioResponse"},"EvaluationScenariosCreateRequest":{"properties":{"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenarioCreate"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosCreateRequest"},"EvaluationScenariosEditRequest":{"properties":{"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenarioEdit"},"type":"array","title":"Scenarios"}},"type":"object","required":["scenarios"],"title":"EvaluationScenariosEditRequest"},"EvaluationScenariosResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EvaluationScenariosResponse"},"EvaluationStatus":{"type":"string","enum":["pending","queued","running","success","failure","errors","cancelled"],"title":"EvaluationStatus"},"Evaluator":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Evaluator"},"EvaluatorArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorArtifactFlags"},"EvaluatorArtifactQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"}},"type":"object","title":"EvaluatorArtifactQueryFlags"},"EvaluatorCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogPreset"},"EvaluatorCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a preset is returned, 0 otherwise.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorCatalogPreset"},{"type":"null"}],"description":"The catalog preset, or null when none matched."}},"type":"object","title":"EvaluatorCatalogPresetResponse","description":"Envelope for a single catalog preset."},"EvaluatorCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets in `presets`.","default":0},"presets":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter presets defined against a template."}},"type":"object","title":"EvaluatorCatalogPresetsResponse","description":"Envelope for a list of catalog presets."},"EvaluatorCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"EvaluatorCatalogTemplate"},"EvaluatorCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a template is returned, 0 otherwise.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorCatalogTemplate"},{"type":"null"}],"description":"The catalog template, or null when none matched."}},"type":"object","title":"EvaluatorCatalogTemplateResponse","description":"Envelope for a single catalog template."},"EvaluatorCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogTemplate"},"type":"array","title":"Templates","description":"Evaluator catalog templates (blueprints for creating evaluators)."}},"type":"object","title":"EvaluatorCatalogTemplatesResponse","description":"Envelope for a list of catalog templates."},"EvaluatorCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"EvaluatorCatalogType"},"EvaluatorCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of types in `types`.","default":0},"types":{"items":{"$ref":"#/components/schemas/EvaluatorCatalogType"},"type":"array","title":"Types","description":"JSON schema types the evaluator catalog understands."}},"type":"object","title":"EvaluatorCatalogTypesResponse","description":"Envelope for a list of catalog types."},"EvaluatorCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorCreate"},"EvaluatorCreateRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorCreate","description":"Evaluator payload (slug, name, flags, data). Slug is required and scoped to the project."}},"type":"object","required":["evaluator"],"title":"EvaluatorCreateRequest","description":"Body for creating an evaluator artifact.\n\nCreating an evaluator also provisions its first variant and its initial\nrevision. The evaluator shares the artifact / variant / revision model\nused across versioned resources — see the Versioning guide."},"EvaluatorEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorEdit"},"EvaluatorEditRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/EvaluatorEdit","description":"Evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled."}},"type":"object","required":["evaluator"],"title":"EvaluatorEditRequest","description":"Body for editing the metadata of an existing evaluator artifact."},"EvaluatorFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorFlags","description":"Legacy full evaluator flag set."},"EvaluatorQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorArtifactQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"EvaluatorQuery"},"EvaluatorQueryRequest":{"properties":{"evaluator":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (flags, tags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict the query to these evaluators. Accepts `id` or `slug` per reference."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators in the response."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls (limit, order, next, newest, oldest)."}},"type":"object","title":"EvaluatorQueryRequest","description":"Body for filtering evaluators. See the Query Pattern guide for field semantics."},"EvaluatorResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/Evaluator"},{"type":"null"}],"description":"The evaluator artifact, or null when none matched."}},"type":"object","title":"EvaluatorResponse","description":"Envelope for a single evaluator response."},"EvaluatorRevision-Input":{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},"EvaluatorRevision-Output":{"properties":{"evaluator_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Variant Slug"},"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevision"},"EvaluatorRevisionCommit":{"properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionDelta"},{"type":"null"}]}},"type":"object","title":"EvaluatorRevisionCommit"},"EvaluatorRevisionCommitRequest":{"properties":{"evaluator_revision":{"$ref":"#/components/schemas/EvaluatorRevisionCommit","description":"Commit payload carrying the `evaluator_variant_id`, optional commit `message`, and the revision `data`."}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCommitRequest","description":"Body for committing a new revision on a variant."},"EvaluatorRevisionCreate":{"properties":{"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorRevisionCreate"},"EvaluatorRevisionCreateRequest":{"properties":{"evaluator_revision":{"$ref":"#/components/schemas/EvaluatorRevisionCreate","description":"Revision payload. Requires the parent `evaluator_variant_id` and a `data` object."}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionCreateRequest","description":"Body for creating a new revision (commit) on an evaluator variant."},"EvaluatorRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},"EvaluatorRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"EvaluatorRevisionData"},"EvaluatorRevisionDeployRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator to deploy (latest revision)."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Variant to deploy (latest revision on this variant)."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific revision to deploy."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Named key under which the revision is pinned. Defaults to `.revision`."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Commit message stored on the environment revision that records the deployment."}},"type":"object","title":"EvaluatorRevisionDeployRequest","description":"Body for pinning an evaluator revision into an environment revision under a key."},"EvaluatorRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorRevisionEdit"},"EvaluatorRevisionEditRequest":{"properties":{"evaluator_revision":{"$ref":"#/components/schemas/EvaluatorRevisionEdit","description":"Revision edit payload. Requires the revision `id`."}},"type":"object","required":["evaluator_revision"],"title":"EvaluatorRevisionEditRequest","description":"Body for editing a revision's mutable fields (currently limited; payload data is immutable)."},"EvaluatorRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"EvaluatorRevisionFlags"},"EvaluatorRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"EvaluatorRevisionQuery"},"EvaluatorRevisionQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"EvaluatorRevisionQueryFlags"},"EvaluatorRevisionQueryRequest":{"properties":{"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevisionQuery"},{"type":"null"}],"description":"Filter on revision attributes."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to revisions under these evaluators."},"evaluator_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Variant Refs","description":"Restrict to revisions under these variants."},"evaluator_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Revision Refs","description":"Restrict to these specific revisions."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted revisions."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"EvaluatorRevisionQueryRequest","description":"Body for filtering evaluator revisions. Supports scoping to evaluators, variants, or specific revisions."},"EvaluatorRevisionResolveRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve the latest revision of this evaluator."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve the latest revision on this variant."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve this specific revision."},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevision-Input"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first. Only `data` is used; id and metadata are ignored."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursion depth when following embedded references. Defaults to 10.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve. Defaults to 100.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle embed-resolution errors (`exception` or `fallback`).","default":"exception"}},"type":"object","title":"EvaluatorRevisionResolveRequest","description":"Body for resolving embedded references on an evaluator revision's `data`."},"EvaluatorRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision was resolved, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevision-Output"},{"type":"null"}],"description":"The resolved revision."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Diagnostic information about the resolution pass (depth, embed count, errors)."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"EvaluatorRevisionResolveResponse","description":"Envelope for a resolved evaluator revision."},"EvaluatorRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a revision is returned, 0 otherwise.","default":0},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorRevision-Output"},{"type":"null"}],"description":"The evaluator revision, or null when none matched."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Embed-resolution metadata. Populated when `resolve=true` was requested."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"EvaluatorRevisionResponse","description":"Envelope for a single evaluator revision."},"EvaluatorRevisionRetrieveRequest":{"properties":{"evaluator_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the evaluator's default variant."},"evaluator_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Evaluator revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with an `evaluator_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment to resolve through. Requires `key`."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant to resolve through. Requires `key`."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific environment revision to resolve through. Requires `key`."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Named deployment key inside the environment revision. Required with environment refs."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When true, resolve embedded references on the returned revision's `data`."}},"type":"object","title":"EvaluatorRevisionRetrieveRequest","description":"Body for retrieving one revision, either by direct reference or through an environment key.\n\nProvide an evaluator / variant / revision reference, an environment\nreference (with `key` derived from the evaluator slug by default), or a\ncombination of both. Every reference supplied must agree with the\nresolved revision; contradictions return HTTP 400."},"EvaluatorRevisionsLog":{"properties":{"evaluator_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Revision Id"},"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"evaluator_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Variant Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"EvaluatorRevisionsLog"},"EvaluatorRevisionsLogRequest":{"properties":{"evaluator_revisions":{"$ref":"#/components/schemas/EvaluatorRevisionsLog","description":"Log request scoped to an evaluator / variant / revision by id, slug, or version."}},"type":"object","required":["evaluator_revisions"],"title":"EvaluatorRevisionsLogRequest","description":"Body for listing the revision log of an evaluator variant."},"EvaluatorRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in `evaluator_revisions`.","default":0},"evaluator_revisions":{"items":{"$ref":"#/components/schemas/EvaluatorRevision-Output"},"type":"array","title":"Evaluator Revisions","description":"Matching evaluator revisions."}},"type":"object","title":"EvaluatorRevisionsResponse","description":"Envelope for a list of evaluator revisions."},"EvaluatorTemplate":{"properties":{"name":{"type":"string","title":"Name","description":"Human-readable template name."},"key":{"type":"string","title":"Key","description":"Stable template identifier, used to create evaluators from the template."},"direct_use":{"type":"boolean","title":"Direct Use","description":"Whether the template can be used without further configuration."},"settings_presets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Settings Presets","description":"Preset parameter configurations shipped with the template."},"settings_template":{"additionalProperties":true,"type":"object","title":"Settings Template","description":"JSON Schema describing the template's configurable parameters."},"outputs_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Outputs Schema","description":"JSON Schema describing the template's evaluator output shape."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Template description."},"oss":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oss","description":"True when the template is available in OSS builds.","default":false},"requires_llm_api_keys":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Llm Api Keys","description":"True when the template calls an LLM provider and requires an API key.","default":false},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags for grouping templates."},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived","description":"True when the template is deprecated. Hidden unless `include_archived=true`.","default":false}},"type":"object","required":["name","key","direct_use","settings_template"],"title":"EvaluatorTemplate","description":"Static evaluator template definition (built-in evaluator types).\n\nTemplates are shipped with the product and describe the available\nevaluator types. They are read-only and separate from user-owned\nevaluator artifacts."},"EvaluatorTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates in `templates`.","default":0},"templates":{"items":{"$ref":"#/components/schemas/EvaluatorTemplate"},"type":"array","title":"Templates","description":"Built-in evaluator templates."}},"type":"object","title":"EvaluatorTemplatesResponse","description":"Envelope for a list of evaluator templates."},"EvaluatorVariant":{"properties":{"evaluator_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariant"},"EvaluatorVariantCreate":{"properties":{"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantCreate"},"EvaluatorVariantCreateRequest":{"properties":{"evaluator_variant":{"$ref":"#/components/schemas/EvaluatorVariantCreate","description":"Variant payload. Requires the parent `evaluator_id`."}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantCreateRequest","description":"Body for creating a new variant on an existing evaluator."},"EvaluatorVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"EvaluatorVariantEdit"},"EvaluatorVariantEditRequest":{"properties":{"evaluator_variant":{"$ref":"#/components/schemas/EvaluatorVariantEdit","description":"Variant edit payload. Requires the variant `id`."}},"type":"object","required":["evaluator_variant"],"title":"EvaluatorVariantEditRequest","description":"Body for editing a variant's metadata."},"EvaluatorVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"EvaluatorVariantFlags"},"EvaluatorVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"EvaluatorVariantFork"},"EvaluatorVariantForkRequest":{"properties":{"evaluator_variant":{"$ref":"#/components/schemas/EvaluatorVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"evaluator_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"evaluator_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["evaluator_variant","evaluator_variant_ref"],"title":"EvaluatorVariantForkRequest"},"EvaluatorVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when a variant is returned, 0 otherwise.","default":0},"evaluator_variant":{"anyOf":[{"$ref":"#/components/schemas/EvaluatorVariant"},{"type":"null"}],"description":"The evaluator variant, or null when none matched."}},"type":"object","title":"EvaluatorVariantResponse","description":"Envelope for a single evaluator variant."},"EvaluatorVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in `evaluator_variants`.","default":0},"evaluator_variants":{"items":{"$ref":"#/components/schemas/EvaluatorVariant"},"type":"array","title":"Evaluator Variants","description":"Matching evaluator variants."}},"type":"object","title":"EvaluatorVariantsResponse","description":"Envelope for a list of evaluator variants."},"EvaluatorsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"$ref":"#/components/schemas/Evaluator"},"type":"array","title":"Evaluators","description":"Matching evaluator artifacts."}},"type":"object","title":"EvaluatorsResponse","description":"Envelope for a list of evaluators."},"Event":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"request_type":{"$ref":"#/components/schemas/RequestType"},"event_type":{"$ref":"#/components/schemas/EventType"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Code"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["event_id","request_id","request_type","event_type","timestamp"],"title":"Event"},"EventQuery":{"properties":{"request_type":{"anyOf":[{"$ref":"#/components/schemas/RequestType"},{"type":"null"}]},"request_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id"},"event_type":{"anyOf":[{"$ref":"#/components/schemas/EventType"},{"type":"null"}]},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"EventQuery"},"EventQueryRequest":{"properties":{"event":{"anyOf":[{"$ref":"#/components/schemas/EventQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"EventQueryRequest"},"EventType":{"type":"string","enum":["unknown","webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"EventType"},"EventsQueryResponse":{"properties":{"count":{"type":"integer","title":"Count"},"events":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Events"}},"type":"object","required":["count","events"],"title":"EventsQueryResponse"},"ExistenceOperator":{"type":"string","enum":["exists","not_exists"],"title":"ExistenceOperator"},"Filtering-Input":{"properties":{"operator":{"$ref":"#/components/schemas/LogicalOperator","default":"and"},"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/Filtering-Input"}]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},"Filtering-Output":{"properties":{"operator":{"$ref":"#/components/schemas/LogicalOperator","default":"and"},"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/Filtering-Output"}]},"type":"array","title":"Conditions","default":[]}},"type":"object","title":"Filtering"},"Focus":{"type":"string","enum":["trace","span"],"title":"Focus"},"Folder":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family this folder organizes. Only `applications` is defined today, and it also covers workflows, evaluators, and testsets (they share the artifact table)."},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path","description":"Dot-separated materialized path built from the folder's slug and its ancestors' slugs. Read-only; derived by the server."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Id of the parent folder, or `null` for a root folder."}},"type":"object","title":"Folder"},"FolderCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family the folder organizes. Defaults to `applications` when omitted."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Id of the parent folder. Omit or set to `null` to create a root folder."}},"type":"object","title":"FolderCreate"},"FolderCreateRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderCreate","description":"Folder to create. `slug` is required; `parent_id` nests the new folder under an existing one."}},"type":"object","required":["folder"],"title":"FolderCreateRequest"},"FolderEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Resource family. Must match the current folder's kind; defaults to `applications`."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"New parent folder id. Include the key with a `null` value to move the folder to the root; omit the key to keep the existing parent."}},"type":"object","title":"FolderEdit"},"FolderEditRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderEdit","description":"Folder edit payload. `id` must match the path parameter. Only fields present in the payload are changed."}},"type":"object","required":["folder"],"title":"FolderEditRequest"},"FolderIdResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a folder was deleted, `0` if no folder matched.","default":0},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Id of the deleted folder. Omitted when nothing was deleted."}},"type":"object","title":"FolderIdResponse"},"FolderKind":{"type":"string","enum":["applications"],"title":"FolderKind"},"FolderQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Match a single folder id."},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids","description":"Match any of the given folder ids."},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"Match a folder by slug, regardless of its position in the tree."},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs","description":"Match folders whose slug is in the given list."},"kind":{"anyOf":[{"$ref":"#/components/schemas/FolderKind"},{"type":"null"}],"description":"Match folders of a single resource family."},"kinds":{"anyOf":[{"type":"boolean"},{"items":{"$ref":"#/components/schemas/FolderKind"},"type":"array"},{"type":"null"}],"title":"Kinds","description":"Filter by presence of a kind. `false` returns folders with no kind, `true` returns folders where `kind` is set, and an array restricts to the given kinds."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"Match folders whose parent is this id. Send `null` to return only root folders."},"parent_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Parent Ids","description":"Match folders whose parent is any of the given ids."},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path","description":"Exact match on the materialized `path` (e.g. `support.prod`)."},"paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Paths","description":"Exact match on any of the given paths."},"prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefix","description":"Subtree lookup: returns the folder at this path and every descendant."},"prefixes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Prefixes","description":"Subtree lookup across multiple prefixes, OR-ed together."}},"type":"object","title":"FolderQuery"},"FolderQueryRequest":{"properties":{"folder":{"$ref":"#/components/schemas/FolderQuery","description":"Filter object. Any combination of `id`/`ids`, `slug`/`slugs`, `kind`/`kinds`, `parent_id`/`parent_ids`, `path`/`paths`, and `prefix`/`prefixes` narrows the result."}},"type":"object","required":["folder"],"title":"FolderQueryRequest"},"FolderResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of folders returned (`0` or `1`).","default":0},"folder":{"anyOf":[{"$ref":"#/components/schemas/Folder"},{"type":"null"}],"description":"The folder, when found. Omitted when `count` is `0`."}},"type":"object","title":"FolderResponse"},"FoldersResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of folders in `folders`.","default":0},"folders":{"items":{"$ref":"#/components/schemas/Folder"},"type":"array","title":"Folders","description":"Matching folders for the query. Ordering is not guaranteed."}},"type":"object","title":"FoldersResponse"},"Format":{"type":"string","enum":["agenta","opentelemetry"],"title":"Format"},"Formatting":{"properties":{"focus":{"anyOf":[{"$ref":"#/components/schemas/Focus"},{"type":"null"}]},"format":{"anyOf":[{"$ref":"#/components/schemas/Format"},{"type":"null"}]}},"type":"object","title":"Formatting"},"FullJson-Input":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/FullJson-Input"},"type":"array"},{"type":"null"}]},"FullJson-Output":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/FullJson-Output"},"type":"array"},{"type":"null"}]},"GatewayToolConfig":{"properties":{"render":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Render"},"permission":{"anyOf":[{"type":"string","enum":["allow","ask","deny"]},{"type":"null"}],"title":"Permission"},"type":{"type":"string","const":"gateway","title":"Type","default":"gateway"},"provider":{"type":"string","minLength":1,"title":"Provider","default":"composio"},"integration":{"type":"string","minLength":1,"title":"Integration"},"action":{"type":"string","minLength":1,"title":"Action"},"connection":{"type":"string","minLength":1,"title":"Connection"},"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["integration","action","connection"],"title":"GatewayToolConfig"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HarnessSessionRecord":{"properties":{"agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Session Id","description":"This harness's own agentSessionId, fed to session/load on resume."},"turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn Index","description":"Conversation turn number this harness last ran at. Load-eligible only when equal to the conversation's latest_turn_index; otherwise this harness's session file is stale (another harness ran since)."}},"type":"object","title":"HarnessSessionRecord","description":"Per-harness resume state. Value shape of `data.harness_sessions[]`."},"Header":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"Header"},"InviteRequest":{"properties":{"email":{"type":"string","title":"Email"},"roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Roles"}},"type":"object","required":["email"],"title":"InviteRequest"},"InviteToken":{"properties":{"token":{"type":"string","title":"Token"},"email":{"type":"string","title":"Email"}},"type":"object","required":["token","email"],"title":"InviteToken"},"Invocation":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"Invocation"},"InvocationCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"InvocationCreate"},"InvocationCreateRequest":{"properties":{"invocation":{"$ref":"#/components/schemas/InvocationCreate"}},"type":"object","required":["invocation"],"title":"InvocationCreateRequest"},"InvocationEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"InvocationEdit"},"InvocationEditRequest":{"properties":{"invocation":{"$ref":"#/components/schemas/InvocationEdit"}},"type":"object","required":["invocation"],"title":"InvocationEditRequest"},"InvocationLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocation_link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}]}},"type":"object","title":"InvocationLinkResponse"},"InvocationQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"InvocationQuery"},"InvocationQueryRequest":{"properties":{"invocation":{"anyOf":[{"$ref":"#/components/schemas/InvocationQuery"},{"type":"null"}]},"invocation_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Invocation Links"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"InvocationQueryRequest"},"InvocationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocation":{"anyOf":[{"$ref":"#/components/schemas/Invocation"},{"type":"null"}]}},"type":"object","title":"InvocationResponse"},"InvocationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"invocations":{"items":{"$ref":"#/components/schemas/Invocation"},"type":"array","title":"Invocations","default":[]}},"type":"object","title":"InvocationsResponse"},"JsonSchemas-Input":{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},"JsonSchemas-Output":{"properties":{"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"},"inputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Outputs"}},"type":"object","title":"JsonSchemas"},"LabelJson-Input":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"}]},"LabelJson-Output":{"anyOf":[{"type":"boolean"},{"type":"string"},{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"}]},"LegacyLifecycleDTO":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Id"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"}},"type":"object","title":"LegacyLifecycleDTO"},"ListAPIKeysResponse":{"properties":{"prefix":{"type":"string","title":"Prefix"},"created_at":{"type":"string","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiration Date"}},"type":"object","required":["prefix","created_at"],"title":"ListAPIKeysResponse"},"ListOperator":{"type":"string","enum":["in","not_in"],"title":"ListOperator"},"ListOptions":{"properties":{"all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All","default":false}},"type":"object","title":"ListOptions"},"LogicalOperator":{"type":"string","enum":["and","or","not","nand","nor"],"title":"LogicalOperator"},"MetricSpec":{"properties":{"type":{"$ref":"#/components/schemas/MetricType","default":"none"},"path":{"type":"string","title":"Path","default":"*"},"bins":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bins"},"vmin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmin"},"vmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vmax"},"edge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Edge"}},"type":"object","title":"MetricSpec"},"MetricType":{"type":"string","enum":["numeric/continuous","numeric/discrete","binary","categorical/single","categorical/multiple","string","json","none","*"],"title":"MetricType"},"MetricsBucket":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"interval":{"type":"integer","title":"Interval"},"metrics":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Metrics"}},"type":"object","required":["timestamp","interval"],"title":"MetricsBucket"},"Mount":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data":{"$ref":"#/components/schemas/MountData"},"flags":{"$ref":"#/components/schemas/MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id"],"title":"Mount"},"MountArchiveRequest":{"properties":{"mounts":{"items":{"$ref":"#/components/schemas/ArchiveMount"},"type":"array","title":"Mounts"},"filename":{"type":"string","title":"Filename","default":"files.zip"}},"type":"object","title":"MountArchiveRequest","description":"Zip several mounts into ONE archive (the drive folds cwd + agent-files into one tree)."},"MountCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"flags":{"$ref":"#/components/schemas/MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"MountCreate"},"MountCreateRequest":{"properties":{"mount":{"$ref":"#/components/schemas/MountCreate"}},"type":"object","required":["mount"],"title":"MountCreateRequest"},"MountCredentials":{"properties":{"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"region":{"type":"string","title":"Region","default":"us-east-1"},"bucket":{"type":"string","title":"Bucket"},"prefix":{"type":"string","title":"Prefix"},"access_key":{"type":"string","title":"Access Key"},"secret_key":{"type":"string","title":"Secret Key"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["bucket","prefix","access_key","secret_key"],"title":"MountCredentials","description":"Short-lived, prefix-scoped credentials for a single mount.\n\nSigned API-side from the store's STS endpoint; the master key never leaves the\nAPI. Scoped to `///*` and expires within minutes,\nso a leak grants only this mount's prefix for a short window."},"MountCredentialsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"$ref":"#/components/schemas/Mount"},{"type":"null"}]},"credentials":{"anyOf":[{"$ref":"#/components/schemas/MountCredentials"},{"type":"null"}]}},"type":"object","title":"MountCredentialsResponse"},"MountData":{"properties":{},"type":"object","title":"MountData"},"MountEdit":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"$ref":"#/components/schemas/MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"MountEdit"},"MountEditRequest":{"properties":{"mount":{"$ref":"#/components/schemas/MountEdit"}},"type":"object","required":["mount"],"title":"MountEditRequest"},"MountFileDeletedResponse":{"properties":{"deleted":{"type":"string","title":"Deleted"},"count":{"type":"integer","title":"Count","default":0}},"type":"object","required":["deleted"],"title":"MountFileDeletedResponse"},"MountFileWrittenResponse":{"properties":{"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size","default":0}},"type":"object","required":["path"],"title":"MountFileWrittenResponse"},"MountFlags":{"properties":{},"type":"object","title":"MountFlags"},"MountFolderCreatedResponse":{"properties":{"path":{"type":"string","title":"Path"}},"type":"object","required":["path"],"title":"MountFolderCreatedResponse"},"MountQuery":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"include_archived":{"type":"boolean","title":"Include Archived","default":false}},"type":"object","title":"MountQuery"},"MountQueryRequest":{"properties":{"mount":{"anyOf":[{"$ref":"#/components/schemas/MountQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"MountQueryRequest"},"MountResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mount":{"anyOf":[{"$ref":"#/components/schemas/Mount"},{"type":"null"}]}},"type":"object","title":"MountResponse"},"MountsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"$ref":"#/components/schemas/Mount"},"type":"array","title":"Mounts"}},"type":"object","title":"MountsResponse"},"NumericOperator":{"type":"string","enum":["eq","neq","gt","lt","gte","lte","btwn"],"title":"NumericOperator"},"OTelEvent-Input":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"OTelEvent-Output":{"properties":{"name":{"type":"string","title":"Name"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"}],"title":"Timestamp"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["name","timestamp"],"title":"OTelEvent"},"OTelHash-Input":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"OTelHash-Output":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelHash"},"OTelLink-Input":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"OTelLink-Output":{"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelLink"},"OTelLinksResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of spans that were accepted and published to the ingest stream. Compare against the number of spans you sent to detect partial failures.","default":0},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links","description":"List of `(trace_id, span_id)` pairs for the accepted spans, in submission order."}},"type":"object","title":"OTelLinksResponse","description":"Response from span ingestion.\n\n`count` reflects how many spans were successfully parsed and published\nto the ingest stream. If you submitted N spans and see `count < N`,\nsome spans failed server-side validation and were not persisted (check\nserver logs for details). See [Tracing — Async write\ncontract](/reference/api-guide/tracing#async-write-contract-202) for\nthe full semantics of the `202 Accepted` response."},"OTelReference-Input":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"OTelReference-Output":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","title":"OTelReference"},"OTelSpanKind":{"type":"string","enum":["SPAN_KIND_UNSPECIFIED","SPAN_KIND_INTERNAL","SPAN_KIND_SERVER","SPAN_KIND_CLIENT","SPAN_KIND_PRODUCER","SPAN_KIND_CONSUMER"],"title":"OTelSpanKind"},"OTelStatusCode":{"type":"string","enum":["STATUS_CODE_UNSET","STATUS_CODE_OK","STATUS_CODE_ERROR"],"title":"OTelStatusCode"},"OTelTracingRequest":{"properties":{"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Input"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of spans. Use this when you already have a flat list and parent/child relationships are expressed via each span's `parent_id`."},"traces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/SpansTree-Input"},"type":"object"},{"type":"null"}],"title":"Traces","description":"Nested tree of spans keyed by `trace_id` → span name, with children under each node's `spans` field. This matches the shape returned by `POST /tracing/spans/query` with `focus=\"trace\"`."}},"type":"object","title":"OTelTracingRequest","description":"Ingest or query payload for OpenTelemetry-style spans.\n\nExactly one of `spans` or `traces` should be provided. Use `spans`\nfor a flat list (parent/child linked via `parent_id`); use `traces`\nfor a nested tree (keyed by `trace_id` then by span name, children\nhanging off each node's `spans` field). The two shapes are\ninterchangeable and the query endpoint returns the `traces` shape by\ndefault.\n\nSee [Tracing](/reference/api-guide/tracing) for the full attribute\nnamespace and the async ingest contract."},"OTelTracingResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching traces or spans in the window.","default":0},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Output"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of spans, populated when the query was run with `focus=\"span\"`."},"traces":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/SpansTree-Output"},"type":"object"},{"type":"null"}],"title":"Traces","description":"Nested tree of spans keyed by `trace_id` → span name, populated when the query was run with `focus=\"trace\"` (default)."}},"type":"object","title":"OTelTracingResponse","description":"Response from span/trace queries.\n\nExactly one of `spans` or `traces` is populated, controlled by the\n`focus` field in the request (`\"span\"` for flat lists, `\"trace\"` for\nnested trees). The shapes here match what the ingest endpoint accepts,\nso you can round-trip data between environments."},"OldAnalyticsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of time buckets returned.","default":0},"buckets":{"items":{"$ref":"#/components/schemas/Bucket"},"type":"array","title":"Buckets","description":"Time-bucketed aggregates with fixed fields (`total`, `errors`) holding `count`, `duration`, `costs`, and `tokens`, ordered oldest to newest.","default":[]}},"type":"object","title":"OldAnalyticsResponse","description":"Legacy analytics response with a fixed metric schema."},"Organization":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","owner_id"],"title":"Organization"},"OrganizationDetails":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"owner_id":{"type":"string","title":"Owner Id"},"members":{"items":{"type":"string"},"type":"array","title":"Members"},"invitations":{"items":{},"type":"array","title":"Invitations"},"workspaces":{"items":{"type":"string"},"type":"array","title":"Workspaces"},"default_workspace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Default Workspace"}},"type":"object","required":["id","owner_id"],"title":"OrganizationDetails"},"OrganizationDomainCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"OrganizationDomainCreate","description":"Request model for creating a domain."},"OrganizationDomainResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"additionalProperties":true,"type":"object","title":"Flags"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"}},"type":"object","required":["id","slug","name","description","flags","token","created_at","updated_at","organization_id"],"title":"OrganizationDomainResponse","description":"Response model for a domain."},"OrganizationDomainVerify":{"properties":{"domain_id":{"type":"string","title":"Domain Id"}},"type":"object","required":["domain_id"],"title":"OrganizationDomainVerify","description":"Request model for verifying a domain."},"OrganizationProviderCreate":{"properties":{"slug":{"type":"string","pattern":"^[a-z-]+$","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"}},"type":"object","required":["slug","settings"],"title":"OrganizationProviderCreate","description":"Request model for creating an SSO provider."},"OrganizationProviderResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"additionalProperties":true,"type":"object","title":"Flags"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"}},"type":"object","required":["id","slug","name","description","flags","settings","created_at","updated_at","organization_id"],"title":"OrganizationProviderResponse","description":"Response model for an SSO provider."},"OrganizationProviderUpdate":{"properties":{"slug":{"anyOf":[{"type":"string","pattern":"^[a-z-]+$"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settings"}},"type":"object","title":"OrganizationProviderUpdate","description":"Request model for updating an SSO provider."},"OrganizationUpdate":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"OrganizationUpdate"},"Permission":{"type":"string","enum":["view_applications","edit_application","run_service","view_webhooks","edit_webhooks","view_secret","edit_secret","view_spans","edit_spans","view_folders","edit_folders","view_api_keys","edit_api_keys","view_workspace","edit_workspace","create_workspace","delete_workspace","modify_user_roles","add_new_user_to_workspace","edit_organization","delete_organization","add_new_user_to_organization","reset_password","view_billing","edit_billing","view_workflows","edit_workflows","run_workflows","view_evaluators","edit_evaluators","view_environments","edit_environments","deploy_environments","view_queries","edit_queries","view_testsets","edit_testsets","view_annotations","edit_annotations","view_invocations","edit_invocations","view_evaluation_runs","edit_evaluation_runs","view_evaluation_scenarios","edit_evaluation_scenarios","view_evaluation_results","edit_evaluation_results","view_evaluation_metrics","edit_evaluation_metrics","view_evaluation_queues","edit_evaluation_queues","view_events","view_tools","edit_tools","run_tools","view_triggers","edit_triggers","run_triggers","view_sessions","edit_sessions","run_sessions","view_mounts","edit_mounts","use_mounts"],"title":"Permission"},"PlaygroundBuildKitContext":{"properties":{"agent_template_overlay":{"anyOf":[{"$ref":"#/components/schemas/AgentTemplateOverlay"},{"type":"null"}],"description":"Partial `parameters.agent` overlay applied by the playground only."}},"type":"object","title":"PlaygroundBuildKitContext","description":"Read-only playground build-kit context for one inspect/fetch response."},"PopulateSliceRequest":{"properties":{"results":{"items":{"$ref":"#/components/schemas/EvaluationResultCreate"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"PopulateSliceRequest"},"ProbeSliceRequest":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"ProbeSliceRequest"},"ProcessSliceRequest":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"},"overwrite":{"type":"boolean","title":"Overwrite","default":false}},"type":"object","title":"ProcessSliceRequest"},"ProjectsResponse":{"properties":{"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"workspace_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Name"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"project_name":{"type":"string","title":"Project Name"},"is_default_project":{"type":"boolean","title":"Is Default Project","default":false},"user_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Role"},"is_demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Demo"}},"type":"object","required":["project_id","project_name"],"title":"ProjectsResponse"},"PruneSliceRequest":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"PruneSliceRequest"},"QueriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queries":{"items":{"$ref":"#/components/schemas/Query"},"type":"array","title":"Queries","default":[]}},"type":"object","title":"QueriesResponse"},"Query":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Query"},"QueryCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryCreate"},"QueryCreateRequest":{"properties":{"query":{"$ref":"#/components/schemas/QueryCreate"}},"type":"object","required":["query"],"title":"QueryCreateRequest"},"QueryEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryEdit"},"QueryEditRequest":{"properties":{"query":{"$ref":"#/components/schemas/QueryEdit"}},"type":"object","required":["query"],"title":"QueryEditRequest"},"QueryFlags":{"properties":{},"type":"object","title":"QueryFlags"},"QueryQueryFlags":{"properties":{},"type":"object","title":"QueryQueryFlags"},"QueryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query":{"anyOf":[{"$ref":"#/components/schemas/Query"},{"type":"null"}]}},"type":"object","title":"QueryResponse"},"QueryRevision":{"properties":{"query_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"query_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"QueryRevision"},"QueryRevisionCommit":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"QueryRevisionCommit"},"QueryRevisionCommitRequest":{"properties":{"query_revision":{"$ref":"#/components/schemas/QueryRevisionCommit"}},"type":"object","required":["query_revision"],"title":"QueryRevisionCommitRequest"},"QueryRevisionCreate":{"properties":{"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryRevisionCreate"},"QueryRevisionCreateRequest":{"properties":{"query_revision":{"$ref":"#/components/schemas/QueryRevisionCreate"}},"type":"object","required":["query_revision"],"title":"QueryRevisionCreateRequest"},"QueryRevisionData-Input":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Input"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},"QueryRevisionData-Output":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Output"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"trace_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Trace Ids"},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Output"},"type":"array"},{"type":"null"}],"title":"Traces"}},"additionalProperties":false,"type":"object","title":"QueryRevisionData"},"QueryRevisionEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryRevisionEdit"},"QueryRevisionEditRequest":{"properties":{"query_revision":{"$ref":"#/components/schemas/QueryRevisionEdit"}},"type":"object","required":["query_revision"],"title":"QueryRevisionEditRequest"},"QueryRevisionQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"QueryRevisionQuery"},"QueryRevisionQueryRequest":{"properties":{"query_revision":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"query_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Variant Refs"},"query_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Revision Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryRevisionQueryRequest"},"QueryRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_revision":{"anyOf":[{"$ref":"#/components/schemas/QueryRevision"},{"type":"null"}]},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}]}},"type":"object","title":"QueryRevisionResponse"},"QueryRevisionRetrieveRequest":{"properties":{"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this query."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Query revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `query_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"include_trace_ids":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Trace Ids"},"include_traces":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Traces"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryRevisionRetrieveRequest"},"QueryRevisionsLog":{"properties":{"query_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"query_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"QueryRevisionsLog"},"QueryRevisionsLogRequest":{"properties":{"query_revisions":{"$ref":"#/components/schemas/QueryRevisionsLog"}},"type":"object","required":["query_revisions"],"title":"QueryRevisionsLogRequest"},"QueryRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_revisions":{"items":{"$ref":"#/components/schemas/QueryRevision"},"type":"array","title":"Query Revisions","default":[]}},"type":"object","title":"QueryRevisionsResponse"},"QueryVariant":{"properties":{"query_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryVariant"},"QueryVariantCreate":{"properties":{"query_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Query Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryVariantCreate"},"QueryVariantCreateRequest":{"properties":{"query_variant":{"$ref":"#/components/schemas/QueryVariantCreate"}},"type":"object","required":["query_variant"],"title":"QueryVariantCreateRequest"},"QueryVariantEdit":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"QueryVariantEdit"},"QueryVariantEditRequest":{"properties":{"query_variant":{"$ref":"#/components/schemas/QueryVariantEdit"}},"type":"object","required":["query_variant"],"title":"QueryVariantEditRequest"},"QueryVariantFork":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"QueryVariantFork"},"QueryVariantForkRequest":{"properties":{"query_variant":{"$ref":"#/components/schemas/QueryVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"query_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["query_variant","query_variant_ref"],"title":"QueryVariantForkRequest"},"QueryVariantQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"QueryVariantQuery"},"QueryVariantQueryRequest":{"properties":{"query_variant":{"anyOf":[{"$ref":"#/components/schemas/QueryVariantQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"query_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Variant Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"QueryVariantQueryRequest"},"QueryVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_variant":{"anyOf":[{"$ref":"#/components/schemas/QueryVariant"},{"type":"null"}]}},"type":"object","title":"QueryVariantResponse"},"QueryVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query_variants":{"items":{"$ref":"#/components/schemas/QueryVariant"},"type":"array","title":"Query Variants","default":[]}},"type":"object","title":"QueryVariantsResponse"},"Reference":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Reference"},"ReferenceRequestModel-Input":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"commit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Message"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ReferenceRequestModel"},"ReferenceRequestModel-Output":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"commit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Message"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"ReferenceRequestModel"},"RefreshSliceRequest":{"properties":{"scenario_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Scenario Ids"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"repeat_idxs":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Repeat Idxs"}},"type":"object","title":"RefreshSliceRequest"},"RemoveScenariosRequest":{"properties":{"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids"}},"type":"object","required":["scenario_ids"],"title":"RemoveScenariosRequest"},"RemoveStepsRequest":{"properties":{"step_keys":{"items":{"type":"string"},"type":"array","title":"Step Keys"}},"type":"object","required":["step_keys"],"title":"RemoveStepsRequest"},"RequestType":{"type":"string","enum":["unknown","router","worker"],"title":"RequestType"},"ResendInviteRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ResendInviteRequest"},"ResolutionInfo":{"properties":{"references_used":{"items":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},"type":"array","title":"References Used"},"depth_reached":{"type":"integer","title":"Depth Reached"},"embeds_resolved":{"type":"integer","title":"Embeds Resolved"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["references_used","depth_reached","embeds_resolved"],"title":"ResolutionInfo"},"ResolvedTool":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"input_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Schema"},"call_ref":{"type":"string","title":"Call Ref"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["name","call_ref"],"title":"ResolvedTool","description":"A runnable reference resolved into a model-ready tool spec.\n\n``call_ref`` is the ``tools.{provider}.{integration}.{action}.{connection}`` slug\nthe execution bridge sends back to ``POST /tools/call``."},"RetrievalInfo":{"properties":{"references":{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object","title":"References"},"selector":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"RetrievalInfo","description":"References actually used to retrieve a revision.\n\nFor direct retrievals, `references` carries the artifact / variant / revision\nthat was fetched. For environment-backed retrievals, it additionally carries\nthe environment + environment_variant + environment_revision used to look\nthe target up, and `selector` is {the key: path} map inside the environment's\nreferences map that selected the target."},"SSOProviderDTO":{"properties":{"provider":{"$ref":"#/components/schemas/SSOProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"SSOProviderDTO"},"SSOProviderInfo":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"third_party_id":{"type":"string","title":"Third Party Id"}},"type":"object","required":["id","slug","third_party_id"],"title":"SSOProviderInfo"},"SSOProviderSettingsDTO":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"},"issuer_url":{"type":"string","title":"Issuer Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"type":"object","required":["client_id","client_secret","issuer_url","scopes"],"title":"SSOProviderSettingsDTO"},"SSOProviders":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/SSOProviderInfo"},"type":"array","title":"Providers"}},"type":"object","required":["providers"],"title":"SSOProviders"},"SecretDTO":{"properties":{"kind":{"$ref":"#/components/schemas/SecretKind"},"data":{"anyOf":[{"$ref":"#/components/schemas/StandardProviderDTO"},{"$ref":"#/components/schemas/CustomProviderDTO"},{"$ref":"#/components/schemas/SSOProviderDTO"},{"$ref":"#/components/schemas/WebhookProviderDTO"},{"$ref":"#/components/schemas/CustomSecretDTO"}],"title":"Data"}},"type":"object","required":["kind","data"],"title":"SecretDTO"},"SecretKind":{"type":"string","enum":["provider_key","custom_provider","sso_provider","webhook_provider","custom_secret"],"title":"SecretKind"},"SecretResponseDTO":{"properties":{"kind":{"$ref":"#/components/schemas/SecretKind"},"data":{"anyOf":[{"$ref":"#/components/schemas/StandardProviderDTO"},{"$ref":"#/components/schemas/CustomProviderDTO"},{"$ref":"#/components/schemas/SSOProviderDTO"},{"$ref":"#/components/schemas/WebhookProviderDTO"},{"$ref":"#/components/schemas/CustomSecretDTO"}],"title":"Data"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"header":{"$ref":"#/components/schemas/Header"},"lifecycle":{"anyOf":[{"$ref":"#/components/schemas/LegacyLifecycleDTO"},{"type":"null"}]}},"type":"object","required":["kind","data","header"],"title":"SecretResponseDTO"},"Selector":{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","title":"Selector","description":"Selector for extracting specific data from entities.\n\nPlaced alongside Reference for data extraction from referenced entities.\n\nFields:\n- **key**: For environment revisions only. Navigates to data.references.,\n follows the entity pointer found there (e.g. workflow_revision), fetches that\n entity, then applies path against its data.\n- **path**: Dot notation path into the resolved entity's data.\n If key is set, path applies to the secondary entity's data.\n If key is not set, path applies directly to the referenced entity's data."},"SessionDetachRequestModel":{"properties":{"session_id":{"type":"string","title":"Session Id"},"watcher_id":{"type":"string","title":"Watcher Id"}},"type":"object","required":["session_id","watcher_id"],"title":"SessionDetachRequestModel"},"SessionHeartbeatRequestModel":{"properties":{"session_id":{"type":"string","title":"Session Id"},"replica_id":{"type":"string","minLength":1,"title":"Replica Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"is_running":{"type":"boolean","title":"Is Running","default":true}},"type":"object","required":["session_id","replica_id"],"title":"SessionHeartbeatRequestModel"},"SessionHeartbeatResponseModel":{"properties":{"stream":{"anyOf":[{"$ref":"#/components/schemas/SessionStream"},{"type":"null"}]},"replica_id":{"type":"string","title":"Replica Id"}},"type":"object","required":["replica_id"],"title":"SessionHeartbeatResponseModel"},"SessionIdentitiesUpdate":{"properties":{"session_identities":{"items":{"type":"string"},"type":"array","title":"Session Identities"}},"type":"object","required":["session_identities"],"title":"SessionIdentitiesUpdate"},"SessionIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of session IDs in this page.","default":0},"session_ids":{"items":{"type":"string"},"type":"array","title":"Session Ids","description":"Distinct values of `ag.session.id` in this page.","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page. Pass verbatim as `windowing.next`."}},"type":"object","title":"SessionIdsResponse"},"SessionInteraction":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"created_at":{"anyOf":[{},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"$ref":"#/components/schemas/SessionInteractionKind"},"status":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionData"},{"type":"null"}]},"flags":{"$ref":"#/components/schemas/SessionInteractionFlags","default":{"delivered_in_band":false,"delivered_webhook":false}},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteraction"},"SessionInteractionCancelStaleRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"turn_id":{"type":"string","title":"Turn Id"},"tokens":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tokens"}},"type":"object","required":["session_id","turn_id"],"title":"SessionInteractionCancelStaleRequest"},"SessionInteractionCreateRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"token":{"type":"string","title":"Token"},"kind":{"$ref":"#/components/schemas/SessionInteractionKind"},"data":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionData"},{"type":"null"}]},"flags":{"$ref":"#/components/schemas/SessionInteractionFlags","default":{"delivered_in_band":false,"delivered_webhook":false}},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id","token","kind"],"title":"SessionInteractionCreateRequest"},"SessionInteractionData":{"properties":{"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"references":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"$ref":"#/components/schemas/Selector"},{"type":"null"}]},"resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"SessionInteractionData"},"SessionInteractionFlags":{"properties":{"delivered_in_band":{"type":"boolean","title":"Delivered In Band","default":false},"delivered_webhook":{"type":"boolean","title":"Delivered Webhook","default":false}},"type":"object","title":"SessionInteractionFlags"},"SessionInteractionKind":{"type":"string","enum":["user_approval","user_input","client_tool"],"title":"SessionInteractionKind"},"SessionInteractionQuery":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"kind":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionKind"},{"type":"null"}]},"status":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionStatus"},{"type":"null"}]},"flags":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionQueryFlags"},{"type":"null"}]},"actionable_only":{"type":"boolean","title":"Actionable Only","default":false}},"type":"object","title":"SessionInteractionQuery"},"SessionInteractionQueryFlags":{"properties":{"delivered_in_band":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Delivered In Band"},"delivered_webhook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Delivered Webhook"}},"type":"object","title":"SessionInteractionQueryFlags"},"SessionInteractionQueryRequest":{"properties":{"query":{"anyOf":[{"$ref":"#/components/schemas/SessionInteractionQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SessionInteractionQueryRequest"},"SessionInteractionRespondRequest":{"properties":{"answer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Answer"}},"type":"object","title":"SessionInteractionRespondRequest"},"SessionInteractionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interaction":{"anyOf":[{"$ref":"#/components/schemas/SessionInteraction"},{"type":"null"}]}},"type":"object","title":"SessionInteractionResponse"},"SessionInteractionStatus":{"type":"string","enum":["pending","responded","resolved","cancelled"],"title":"SessionInteractionStatus"},"SessionInteractionTransitionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"token":{"type":"string","title":"Token"},"status":{"$ref":"#/components/schemas/SessionInteractionStatus"}},"type":"object","required":["session_id","token","status"],"title":"SessionInteractionTransitionRequest"},"SessionInteractionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"interactions":{"items":{"$ref":"#/components/schemas/SessionInteraction"},"type":"array","title":"Interactions"}},"type":"object","title":"SessionInteractionsResponse"},"SessionMount":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"data":{"$ref":"#/components/schemas/MountData"},"flags":{"$ref":"#/components/schemas/MountFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["project_id","session_id"],"title":"SessionMount"},"SessionMountQuery":{"properties":{"session_id":{"type":"string","title":"Session Id"},"include_archived":{"type":"boolean","title":"Include Archived","default":false}},"type":"object","required":["session_id"],"title":"SessionMountQuery"},"SessionMountQueryRequest":{"properties":{"mount":{"anyOf":[{"$ref":"#/components/schemas/SessionMountQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SessionMountQueryRequest"},"SessionMountsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"mounts":{"items":{"$ref":"#/components/schemas/SessionMount"},"type":"array","title":"Mounts"}},"type":"object","title":"SessionMountsResponse"},"SessionRecord":{"properties":{"record_id":{"type":"string","format":"uuid","title":"Record Id"},"session_id":{"type":"string","title":"Session Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"record_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Record Index"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Type"},"record_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Source"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["record_id","session_id","project_id"],"title":"SessionRecord"},"SessionRecordIngestRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Record Id"},"record_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Record Index"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Type"},"record_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Source"},"attributes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attributes"}},"type":"object","required":["session_id"],"title":"SessionRecordIngestRequest"},"SessionRecordQueryRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"SessionRecordQueryRequest"},"SessionRecordResponse":{"properties":{"record":{"anyOf":[{"$ref":"#/components/schemas/SessionRecord"},{"type":"null"}]}},"type":"object","title":"SessionRecordResponse"},"SessionRecordsQueryResponse":{"properties":{"count":{"type":"integer","title":"Count"},"records":{"items":{"$ref":"#/components/schemas/SessionRecord"},"type":"array","title":"Records"}},"type":"object","required":["count","records"],"title":"SessionRecordsQueryResponse"},"SessionState":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Own uuid7 pk (state_id)."},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"session_id":{"type":"string","title":"Session Id","description":"Bare session correlator (not an FK)."},"data":{"anyOf":[{"$ref":"#/components/schemas/SessionStateData"},{"type":"null"}],"description":"Durable continuity state (resume ids + staleness guard)."},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"Remote sandbox id — the single source of truth resume pointer."},"flags":{"$ref":"#/components/schemas/SessionStateFlags"},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["session_id"],"title":"SessionState"},"SessionStateData":{"properties":{"latest_agent_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Agent Session Id","description":"The latest-run harness's agentSessionId; a fast-path mirror of harness_sessions[].agent_session_id."},"latest_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Turn Index","description":"Conversation-level turn counter compared against each harness's turn_index."},"harness_sessions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/HarnessSessionRecord"},"type":"object"},{"type":"null"}],"title":"Harness Sessions","description":"Per-harness resume state, keyed by harness id (e.g. 'claude', 'pi'). Durable mirror of the staleness guard."}},"type":"object","title":"SessionStateData","description":"Typed shape of the `data` column: the session's durable continuity state.\n\nStored in the existing `data` JSON column (no dedicated columns) — every field is\nread and compared in the runner, never queried server-side, so a typed DTO gives the\ncontract without a schema change."},"SessionStateFlags":{"properties":{},"type":"object","title":"SessionStateFlags"},"SessionStateResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"session_state":{"anyOf":[{"$ref":"#/components/schemas/SessionState"},{"type":"null"}]}},"type":"object","title":"SessionStateResponse"},"SessionStateUpsertRequest":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SessionStateData"},{"type":"null"}],"description":"Full replacement of the continuity state (resume ids + staleness guard)."},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"Remote sandbox id to record alongside the continuity state."},"sandbox_turn_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sandbox Turn Index","description":"the writer's conversation turn index; the pointer write is applied only when it is >= the row's data.latest_turn_index."}},"type":"object","title":"SessionStateUpsertRequest"},"SessionStream":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"session_id":{"type":"string","title":"Session Id"},"flags":{"$ref":"#/components/schemas/SessionStreamFlags","default":{"is_alive":false,"is_running":false,"is_attached":false}},"tags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"}},"type":"object","required":["id","project_id","session_id"],"title":"SessionStream"},"SessionStreamCommandRequestModel":{"properties":{"session_id":{"type":"string","title":"Session Id"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"force":{"type":"boolean","title":"Force","default":false},"detached":{"type":"boolean","title":"Detached","default":false}},"type":"object","required":["session_id"],"title":"SessionStreamCommandRequestModel"},"SessionStreamCommandResponseModel":{"properties":{"mode":{"$ref":"#/components/schemas/CommandMode"},"session_id":{"type":"string","title":"Session Id"},"turn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"},"watcher_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Watcher Id"},"detached":{"type":"boolean","title":"Detached","default":false}},"type":"object","required":["mode","session_id"],"title":"SessionStreamCommandResponseModel"},"SessionStreamFlags":{"properties":{"is_alive":{"type":"boolean","title":"Is Alive","default":false},"is_running":{"type":"boolean","title":"Is Running","default":false},"is_attached":{"type":"boolean","title":"Is Attached","default":false}},"type":"object","title":"SessionStreamFlags","description":"The nest as primitive bools (alive ⊇ running ⊇ attached).\n\nresumable (alive & !running) and reattachable (running & !attached) are\nderived client-side, never stored."},"SessionStreamQueryRequestModel":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"is_alive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Alive"},"is_running":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Running"}},"type":"object","title":"SessionStreamQueryRequestModel"},"SessionStreamResponseModel":{"properties":{"stream":{"anyOf":[{"$ref":"#/components/schemas/SessionStream"},{"type":"null"}]}},"type":"object","title":"SessionStreamResponseModel"},"SessionStreamsResponseModel":{"properties":{"count":{"type":"integer","title":"Count"},"streams":{"items":{"$ref":"#/components/schemas/SessionStream"},"type":"array","title":"Streams"}},"type":"object","required":["count","streams"],"title":"SessionStreamsResponseModel"},"SessionsQueryRequest":{"properties":{"realtime":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Realtime","description":"When `true`, paginate by `last_active` (reflects ongoing activity but can shift between pages). When `false` or unset, paginate by the stable `first_active` cursor."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range. Pass the returned `windowing.next` on subsequent calls to continue iteration."}},"type":"object","title":"SessionsQueryRequest","description":"Request body for `POST /tracing/sessions/query`."},"SetRepeatsRequest":{"properties":{"repeats":{"type":"integer","title":"Repeats"}},"type":"object","required":["repeats"],"title":"SetRepeatsRequest"},"SimpleApplication":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleApplication"},"SimpleApplicationAdditionalContext":{"properties":{"playground_build_kit":{"anyOf":[{"$ref":"#/components/schemas/PlaygroundBuildKitContext"},{"type":"null"}],"description":"Playground-only build kit data that is never persisted on the app."}},"type":"object","title":"SimpleApplicationAdditionalContext","description":"Platform-supplied read-only context for a simple-application response."},"SimpleApplicationCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationCreate"},"SimpleApplicationCreateRequest":{"properties":{"application":{"$ref":"#/components/schemas/SimpleApplicationCreate","description":"Application fields plus `data` for the first revision. `data.uri` selects the template (for example `agenta:builtin:completion:v0`); `data.parameters` carries the prompt and model config."}},"type":"object","required":["application"],"title":"SimpleApplicationCreateRequest","description":"Request body for `POST /simple/applications/`.\n\nCreates the application artifact, a default variant, and a first committed\nrevision whose `data` comes from the request. Use this for the common case\nof \"spin up a new application from a template\".\nSee [Simple Endpoints](/reference/api-guide/simple-endpoints)."},"SimpleApplicationData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},"SimpleApplicationData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleApplicationData"},"SimpleApplicationEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleApplicationEdit"},"SimpleApplicationEditRequest":{"properties":{"application":{"$ref":"#/components/schemas/SimpleApplicationEdit","description":"Fields to change. `id` must match the path. Supplying `data` commits a new revision with that configuration; supplying `flags`/`tags`/`meta` commits a revision with the updated header but the existing `data`."}},"type":"object","required":["application"],"title":"SimpleApplicationEditRequest","description":"Request body for `PUT /simple/applications/{application_id}`.\n\nCommits a new revision on the application's variant whenever fields other\nthan `id` are present. If only `id` is sent, the current state is returned\nwithout committing."},"SimpleApplicationFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleApplicationFlags"},"SimpleApplicationQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleApplicationQuery"},"SimpleApplicationQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleApplicationQueryFlags"},"SimpleApplicationQueryRequest":{"properties":{"application":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationQuery"},{"type":"null"}],"description":"Attribute filter. Supports `slug`, `slugs`, `flags`, and `meta`. `flags` filter both artifact flags (`is_application`, etc.) and revision flags (`is_chat`, `has_url`, etc.)."},"application_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Application Refs","description":"Restrict to specific applications by `id` or `slug`."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When `true`, include archived applications. Defaults to `false`.","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time-range controls."}},"type":"object","title":"SimpleApplicationQueryRequest","description":"Request body for `POST /simple/applications/query`.\n\nReturns one row per application with the currently resolved variant,\nrevision, and `data` merged in — the shape most clients want when listing\napplications for a dashboard or invocation picker."},"SimpleApplicationResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the application was found, `0` otherwise.","default":0},"application":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplication"},{"type":"null"}],"description":"The application with `variant_id`, `revision_id`, and the revision's `data` merged. `data.url` is the invocation URL."},"additional_context":{"anyOf":[{"$ref":"#/components/schemas/SimpleApplicationAdditionalContext"},{"type":"null"}],"description":"Read-only platform context derived for this response."}},"type":"object","title":"SimpleApplicationResponse","description":"Simple-application single-row response envelope."},"SimpleApplicationsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of applications in this page.","default":0},"applications":{"items":{"$ref":"#/components/schemas/SimpleApplication"},"type":"array","title":"Applications","description":"Applications with their current variant, revision, and `data` merged in."}},"type":"object","title":"SimpleApplicationsResponse","description":"Paginated list of simple-application rows."},"SimpleEnvironment":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEnvironment"},"SimpleEnvironmentCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentCreate"},"SimpleEnvironmentCreateRequest":{"properties":{"environment":{"$ref":"#/components/schemas/SimpleEnvironmentCreate"}},"type":"object","required":["environment"],"title":"SimpleEnvironmentCreateRequest"},"SimpleEnvironmentEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentRevisionData"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentEdit"},"SimpleEnvironmentEditRequest":{"properties":{"environment":{"$ref":"#/components/schemas/SimpleEnvironmentEdit"}},"type":"object","required":["environment"],"title":"SimpleEnvironmentEditRequest"},"SimpleEnvironmentQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEnvironmentQuery"},"SimpleEnvironmentQueryRequest":{"properties":{"environment":{"anyOf":[{"$ref":"#/components/schemas/SimpleEnvironmentQuery"},{"type":"null"}]},"environment_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Environment Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentQueryRequest"},"SimpleEnvironmentResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environment":{"anyOf":[{"$ref":"#/components/schemas/SimpleEnvironment"},{"type":"null"}]}},"type":"object","title":"SimpleEnvironmentResponse"},"SimpleEnvironmentsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"environments":{"items":{"$ref":"#/components/schemas/SimpleEnvironment"},"type":"array","title":"Environments","default":[]}},"type":"object","title":"SimpleEnvironmentsResponse"},"SimpleEvaluation":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluation"},"SimpleEvaluationCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationCreate"},"SimpleEvaluationCreateRequest":{"properties":{"evaluation":{"$ref":"#/components/schemas/SimpleEvaluationCreate"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationCreateRequest"},"SimpleEvaluationData":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"query_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Query Steps"},"testset_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Testset Steps"},"application_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Application Steps"},"evaluator_steps":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluator Steps"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"concurrency":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunDataConcurrency"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationData"},"SimpleEvaluationEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version","default":"2025-07-14"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationData"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationEdit"},"SimpleEvaluationEditRequest":{"properties":{"evaluation":{"$ref":"#/components/schemas/SimpleEvaluationEdit"}},"type":"object","required":["evaluation"],"title":"SimpleEvaluationEditRequest"},"SimpleEvaluationIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluation Id"}},"type":"object","title":"SimpleEvaluationIdResponse"},"SimpleEvaluationQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/EvaluationRunQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"SimpleEvaluationQuery"},"SimpleEvaluationQueryRequest":{"properties":{"evaluation":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluationQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationQueryRequest"},"SimpleEvaluationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluation":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluation"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluationResponse"},"SimpleEvaluationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"evaluations":{"items":{"$ref":"#/components/schemas/SimpleEvaluation"},"type":"array","title":"Evaluations","default":[]}},"type":"object","title":"SimpleEvaluationsResponse"},"SimpleEvaluator":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleEvaluator"},"SimpleEvaluatorCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorCreate"},"SimpleEvaluatorCreateRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/SimpleEvaluatorCreate","description":"Simple evaluator payload (slug, name, flags, and `data` with `uri` + `parameters`)."}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorCreateRequest","description":"Body for creating an evaluator via the simple surface.\n\nCollapses artifact, variant, and first revision into one call. The\nresponse returns the same flat shape that `/simple/evaluators/query`\nexposes."},"SimpleEvaluatorData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},"SimpleEvaluatorData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleEvaluatorData"},"SimpleEvaluatorEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleEvaluatorEdit"},"SimpleEvaluatorEditRequest":{"properties":{"evaluator":{"$ref":"#/components/schemas/SimpleEvaluatorEdit","description":"Simple evaluator edit payload. Requires the evaluator `id`. Renaming is temporarily disabled."}},"type":"object","required":["evaluator"],"title":"SimpleEvaluatorEditRequest","description":"Body for editing an evaluator via the simple surface."},"SimpleEvaluatorFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleEvaluatorFlags"},"SimpleEvaluatorQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleEvaluatorQuery"},"SimpleEvaluatorQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleEvaluatorQueryFlags"},"SimpleEvaluatorQueryRequest":{"properties":{"evaluator":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluatorQuery"},{"type":"null"}],"description":"Filter on evaluator attributes (slug, slugs, flags, meta)."},"evaluator_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Evaluator Refs","description":"Restrict to these evaluators."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include soft-deleted evaluators.","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleEvaluatorQueryRequest","description":"Body for filtering evaluators via the simple surface."},"SimpleEvaluatorResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 when an evaluator is returned, 0 otherwise.","default":0},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/SimpleEvaluator"},{"type":"null"}],"description":"The flat evaluator record with latest variant and revision merged into `data`."}},"type":"object","title":"SimpleEvaluatorResponse","description":"Envelope for a single simple evaluator."},"SimpleEvaluatorsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of evaluators in `evaluators`.","default":0},"evaluators":{"items":{"$ref":"#/components/schemas/SimpleEvaluator"},"type":"array","title":"Evaluators","description":"Matching flat evaluator records."}},"type":"object","title":"SimpleEvaluatorsResponse","description":"Envelope for a list of simple evaluators."},"SimpleQueriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queries":{"items":{"$ref":"#/components/schemas/SimpleQuery"},"type":"array","title":"Queries","default":[]}},"type":"object","title":"SimpleQueriesResponse"},"SimpleQuery":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleQuery"},"SimpleQueryCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleQueryCreate"},"SimpleQueryCreateRequest":{"properties":{"query":{"$ref":"#/components/schemas/SimpleQueryCreate"}},"type":"object","required":["query"],"title":"SimpleQueryCreateRequest"},"SimpleQueryEdit":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"$ref":"#/components/schemas/QueryRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleQueryEdit"},"SimpleQueryEditRequest":{"properties":{"query":{"$ref":"#/components/schemas/SimpleQueryEdit"}},"type":"object","required":["query"],"title":"SimpleQueryEditRequest"},"SimpleQueryQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/QueryQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"SimpleQueryQuery"},"SimpleQueryQueryRequest":{"properties":{"query":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueryQuery"},{"type":"null"}]},"query_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Query Refs"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","default":false},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueryQueryRequest"},"SimpleQueryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"query":{"anyOf":[{"$ref":"#/components/schemas/SimpleQuery"},{"type":"null"}]}},"type":"object","title":"SimpleQueryResponse"},"SimpleQueue":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}],"default":"pending"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueData"},{"type":"null"}]},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SimpleQueue"},"SimpleQueueCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#/components/schemas/EvaluationStatus"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueData"},{"type":"null"}]}},"type":"object","title":"SimpleQueueCreate"},"SimpleQueueCreateRequest":{"properties":{"queue":{"$ref":"#/components/schemas/SimpleQueueCreate"}},"type":"object","required":["queue"],"title":"SimpleQueueCreateRequest"},"SimpleQueueData":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueKind"},{"type":"null"}]},"queries":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queries"},"testsets":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testsets"},"evaluators":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"additionalProperties":{"type":"string","enum":["custom","human","auto"]},"propertyNames":{"format":"uuid"},"type":"object"},{"type":"null"}],"title":"Evaluators"},"repeats":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeats"},"assignments":{"anyOf":[{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Assignments"},"step_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Step Keys"},"settings":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueSettings"},{"type":"null"}]}},"type":"object","title":"SimpleQueueData"},"SimpleQueueIdResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"type":"object","title":"SimpleQueueIdResponse"},"SimpleQueueIdsRequest":{"properties":{"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids"}},"type":"object","required":["queue_ids"],"title":"SimpleQueueIdsRequest"},"SimpleQueueIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Queue Ids","default":[]}},"type":"object","title":"SimpleQueueIdsResponse"},"SimpleQueueKind":{"type":"string","enum":["queries","testsets","traces","testcases"],"title":"SimpleQueueKind"},"SimpleQueueQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueKind"},{"type":"null"}]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"run_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Run Ids"},"queue_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Queue Ids"}},"type":"object","title":"SimpleQueueQuery"},"SimpleQueueQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueQueryRequest"},"SimpleQueueResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueue"},{"type":"null"}]}},"type":"object","title":"SimpleQueueResponse"},"SimpleQueueScenariosQuery":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"User Ids"}},"type":"object","title":"SimpleQueueScenariosQuery"},"SimpleQueueScenariosQueryRequest":{"properties":{"queue":{"anyOf":[{"$ref":"#/components/schemas/SimpleQueueScenariosQuery"},{"type":"null"}]},"scenario":{"anyOf":[{"$ref":"#/components/schemas/EvaluationScenarioQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosQueryRequest"},"SimpleQueueScenariosResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"scenarios":{"items":{"$ref":"#/components/schemas/EvaluationScenario"},"type":"array","title":"Scenarios","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueueScenariosResponse"},"SimpleQueueSettings":{"properties":{"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size"},"batch_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Offset"}},"type":"object","title":"SimpleQueueSettings"},"SimpleQueueTestcasesCreateRequest":{"properties":{"testcase_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Testcase Ids"}},"type":"object","required":["testcase_ids"],"title":"SimpleQueueTestcasesCreateRequest"},"SimpleQueueTracesCreateRequest":{"properties":{"trace_ids":{"items":{"type":"string"},"type":"array","title":"Trace Ids"}},"type":"object","required":["trace_ids"],"title":"SimpleQueueTracesCreateRequest"},"SimpleQueuesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"queues":{"items":{"$ref":"#/components/schemas/SimpleQueue"},"type":"array","title":"Queues","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"SimpleQueuesResponse"},"SimpleTestset":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Output"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"}},"type":"object","title":"SimpleTestset"},"SimpleTestsetCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleTestsetCreate"},"SimpleTestsetCreateRequest":{"properties":{"testset":{"$ref":"#/components/schemas/SimpleTestsetCreate","description":"Simple testset to create. `data.testcases` is committed as the first revision on a single variant in one call."}},"type":"object","required":["testset"],"title":"SimpleTestsetCreateRequest"},"SimpleTestsetEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleTestsetEdit"},"SimpleTestsetEditRequest":{"properties":{"testset":{"$ref":"#/components/schemas/SimpleTestsetEdit","description":"Simple testset fields to update. If `data.testcases` is provided, a new revision is committed with those testcases."}},"type":"object","required":["testset"],"title":"SimpleTestsetEditRequest"},"SimpleTestsetQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"SimpleTestsetQuery"},"SimpleTestsetQueryRequest":{"properties":{"testset":{"anyOf":[{"$ref":"#/components/schemas/SimpleTestsetQuery"},{"type":"null"}],"description":"Attribute filter on the testset (flags, tags, meta)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Restrict the query to specific testsets."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted testsets."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"SimpleTestsetQueryRequest"},"SimpleTestsetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testset was returned, 0 otherwise.","default":0},"testset":{"anyOf":[{"$ref":"#/components/schemas/SimpleTestset"},{"type":"null"}],"description":"The testset with its latest revision testcases merged into `data.testcases`, and the revision ID on `revision_id`."}},"type":"object","title":"SimpleTestsetResponse"},"SimpleTestsetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of simple testsets returned.","default":0},"testsets":{"items":{"$ref":"#/components/schemas/SimpleTestset"},"type":"array","title":"Testsets","description":"Simple testsets, each with its latest revision testcases merged in."}},"type":"object","title":"SimpleTestsetsResponse"},"SimpleTrace":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"SimpleTrace"},"SimpleTraceChannel":{"type":"string","enum":["otlp","web","sdk","api"],"title":"SimpleTraceChannel"},"SimpleTraceCreate":{"properties":{"origin":{"$ref":"#/components/schemas/SimpleTraceOrigin","default":"custom"},"kind":{"$ref":"#/components/schemas/SimpleTraceKind","default":"adhoc"},"channel":{"$ref":"#/components/schemas/SimpleTraceChannel","default":"api"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"$ref":"#/components/schemas/SimpleTraceReferences"},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"}],"title":"Links"}},"type":"object","required":["data","references","links"],"title":"SimpleTraceCreate"},"SimpleTraceCreateRequest":{"properties":{"trace":{"$ref":"#/components/schemas/SimpleTraceCreate","description":"The trace to create. Must include `data` (the payload being recorded) and typically `origin`, `kind`, and `channel` to describe where it came from. Optional `references` link the trace to Agenta entities (app, variant, revision, evaluator, testset, etc.)."}},"type":"object","required":["trace"],"title":"SimpleTraceCreateRequest","description":"Request body for creating a single-span \"simple\" trace."},"SimpleTraceEdit":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object","title":"Data"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","required":["data"],"title":"SimpleTraceEdit"},"SimpleTraceEditRequest":{"properties":{"trace":{"$ref":"#/components/schemas/SimpleTraceEdit","description":"The fields to update. `data` is required. `tags`, `meta`, `references`, and `links` overwrite their current values when present."}},"type":"object","required":["trace"],"title":"SimpleTraceEditRequest","description":"Request body for editing an existing \"simple\" trace."},"SimpleTraceKind":{"type":"string","enum":["adhoc","eval","play"],"title":"SimpleTraceKind"},"SimpleTraceLinkResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a trace was removed, `0` otherwise.","default":0},"link":{"anyOf":[{"$ref":"#/components/schemas/OTelLink-Output"},{"type":"null"}],"description":"The `(trace_id, span_id)` pair that was removed."}},"type":"object","title":"SimpleTraceLinkResponse","description":"Response from `DELETE /simple/traces/{trace_id}`."},"SimpleTraceOrigin":{"type":"string","enum":["custom","human","auto"],"title":"SimpleTraceOrigin"},"SimpleTraceQuery":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceOrigin"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceKind"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceChannel"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"references":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceReferences"},{"type":"null"}]},"links":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"object"},{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"}},"type":"object","title":"SimpleTraceQuery"},"SimpleTraceQueryRequest":{"properties":{"trace":{"anyOf":[{"$ref":"#/components/schemas/SimpleTraceQuery"},{"type":"null"}],"description":"Filter fields on the trace itself — `origin`, `kind`, `channel`, `tags`, `meta`, `references`, and inbound `links`. Filtering by `trace.links.invocation` is the common pattern for finding annotations on a given span."},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links","description":"Batch GET by the trace's own `(trace_id, span_id)`. Each entry matches the trace whose own identity equals the pair. Distinct from `trace.links`, which filters on inbound links."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."}},"type":"object","title":"SimpleTraceQueryRequest","description":"Request body for `POST /simple/traces/query`."},"SimpleTraceReferences":{"properties":{"query":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"query_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"query_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"application_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"evaluator_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_variant":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"environment_revision":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"testcase":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]},"selector":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Selector"}},"type":"object","title":"SimpleTraceReferences"},"SimpleTraceResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if the trace was returned, `0` otherwise.","default":0},"trace":{"anyOf":[{"$ref":"#/components/schemas/SimpleTrace"},{"type":"null"}],"description":"The created or fetched trace, including server-assigned `trace_id` and `span_id`."}},"type":"object","title":"SimpleTraceResponse","description":"Response from a single-trace create/fetch/edit."},"SimpleTracesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of matching traces in this page.","default":0},"traces":{"items":{"$ref":"#/components/schemas/SimpleTrace"},"type":"array","title":"Traces","description":"The matching traces in the high-level `SimpleTrace` shape.","default":[]}},"type":"object","title":"SimpleTracesResponse","description":"Response from `POST /simple/traces/query`."},"SimpleWorkflow":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Output"},{"type":"null"}]},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"}},"type":"object","title":"SimpleWorkflow"},"SimpleWorkflowCreate":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowCreate"},"SimpleWorkflowCreateRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/SimpleWorkflowCreate","description":"Simple-workflow create payload. Creates the artifact, a default variant, and an initial revision in one call."}},"type":"object","required":["workflow"],"title":"SimpleWorkflowCreateRequest"},"SimpleWorkflowData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},"SimpleWorkflowData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"SimpleWorkflowData"},"SimpleWorkflowEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowData-Input"},{"type":"null"}]}},"type":"object","title":"SimpleWorkflowEdit"},"SimpleWorkflowEditRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/SimpleWorkflowEdit","description":"Simple-workflow edit payload. Updates artifact-level fields and commits a new revision when `data` changes."}},"type":"object","required":["workflow"],"title":"SimpleWorkflowEditRequest"},"SimpleWorkflowFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"SimpleWorkflowFlags"},"SimpleWorkflowQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowQueryFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"SimpleWorkflowQuery"},"SimpleWorkflowQueryFlags":{"properties":{"is_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Application"},"is_evaluator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Evaluator"},"is_snippet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Snippet"},"is_managed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Managed"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"},"is_llm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Llm"},"is_hook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hook"},"is_code":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Code"},"is_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Match"},"is_feedback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Feedback"},"is_agent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent"},"is_skill":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Skill"},"is_chat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat"},"has_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Url"},"has_script":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Script"},"has_handler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Handler"},"is_static":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Static"}},"type":"object","title":"SimpleWorkflowQueryFlags"},"SimpleWorkflowQueryRequest":{"properties":{"workflow":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflowQuery"},{"type":"null"}],"description":"Attribute filter on simple workflows (slug, slugs, flags, tags, meta)."},"workflow_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Workflow Refs","description":"Restrict results to workflows matching these references."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"When true, include archived workflows."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination controls."}},"type":"object","title":"SimpleWorkflowQueryRequest"},"SimpleWorkflowResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a simple workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"$ref":"#/components/schemas/SimpleWorkflow"},{"type":"null"}],"description":"Workflow artifact with its resolved variant and revision merged."}},"type":"object","title":"SimpleWorkflowResponse"},"SimpleWorkflowsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in the response.","default":0},"workflows":{"items":{"$ref":"#/components/schemas/SimpleWorkflow"},"type":"array","title":"Workflows","description":"Workflow artifacts each merged with their resolved variant and revision."}},"type":"object","title":"SimpleWorkflowsResponse"},"Span-Input":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Input"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Input"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Input"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"Span"},"Span-Output":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Output"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Output"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Output"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"Span"},"SpanResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a span was returned, `0` otherwise.","default":0},"span":{"anyOf":[{"$ref":"#/components/schemas/Span-Output"},{"type":"null"}],"description":"The matching span, or `null` if not found."}},"type":"object","title":"SpanResponse"},"SpanType":{"type":"string","enum":["agent","chain","workflow","task","tool","embedding","query","llm","completion","chat","rerank","unknown"],"title":"SpanType"},"SpansNode-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Input"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Input"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Input"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Input"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"SpansNode-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"trace_id":{"type":"string","title":"Trace Id"},"span_id":{"type":"string","title":"Span Id"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"trace_type":{"anyOf":[{"$ref":"#/components/schemas/TraceType"},{"type":"null"}]},"span_type":{"anyOf":[{"$ref":"#/components/schemas/SpanType"},{"type":"null"}]},"span_kind":{"anyOf":[{"$ref":"#/components/schemas/OTelSpanKind"},{"type":"null"}]},"span_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Span Name"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"integer"},{"type":"null"}],"title":"End Time"},"status_code":{"anyOf":[{"$ref":"#/components/schemas/OTelStatusCode"},{"type":"null"}]},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"attributes":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Attributes"},"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelReference-Output"},"type":"array"},{"type":"null"}],"title":"References"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelLink-Output"},"type":"array"},{"type":"null"}],"title":"Links"},"hashes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelHash-Output"},"type":"array"},{"type":"null"}],"title":"Hashes"},"exception":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Exception"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/OTelEvent-Output"},"type":"array"},{"type":"null"}],"title":"Events"}},"type":"object","required":["trace_id","span_id"],"title":"SpansNode"},"SpansQueryRequest":{"properties":{"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}],"description":"Span-level conditions."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."},"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve filtering/windowing from a saved query."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from the latest revision of a specific query variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from a specific query revision. Returns `409` when the revision's stored `formatting.focus` is `trace`."}},"type":"object","title":"SpansQueryRequest","description":"Request body for `POST /spans/query`."},"SpansResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching spans in the window.","default":0},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span-Output"},"type":"array"},{"type":"null"}],"title":"Spans","description":"Flat list of matching spans."}},"type":"object","title":"SpansResponse"},"SpansTree-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"}},"type":"object","title":"SpansTree"},"SpansTree-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"}},"type":"object","title":"SpansTree"},"StandardProviderDTO":{"properties":{"kind":{"$ref":"#/components/schemas/StandardProviderKind"},"provider":{"$ref":"#/components/schemas/StandardProviderSettingsDTO"}},"type":"object","required":["kind","provider"],"title":"StandardProviderDTO"},"StandardProviderKind":{"type":"string","enum":["openai","cohere","anyscale","deepinfra","alephalpha","groq","minimax","mistral","mistralai","anthropic","perplexityai","together_ai","openrouter","gemini"],"title":"StandardProviderKind"},"StandardProviderSettingsDTO":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"StandardProviderSettingsDTO"},"Status":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"stacktrace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stacktrace"}},"type":"object","title":"Status"},"StringOperator":{"type":"string","enum":["startswith","endswith","contains","matches","like"],"title":"StringOperator"},"Testcase-Input":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"Testcase-Output":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Set Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","title":"Testcase"},"TestcaseResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testcase was returned, 0 otherwise.","default":0},"testcase":{"anyOf":[{"$ref":"#/components/schemas/Testcase-Output"},{"type":"null"}],"description":"The testcase blob. `data` carries the user-defined columns; `testcase_dedup_id` (inside `data`) is the caller-supplied dedup key when present."}},"type":"object","title":"TestcaseResponse"},"TestcasesQueryRequest":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids","description":"Explicit list of testcase IDs to fetch. Combine with `testset_id` or testset references to scope the lookup."},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id","description":"Return all testcases stored in this testset. The testset owns its testcases as a content-addressed bag; a revision references a subset of these."},"testset_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset reference used to resolve the latest revision on the default variant. The revision's ordered testcase IDs are used for the lookup and pagination."},"testset_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset variant reference used to resolve the latest revision on that variant."},"testset_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific testset revision reference. The revision's ordered testcase IDs drive the lookup and cursor pagination."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. When a revision reference is used, the cursor walks the revision's deterministic testcase ID list."}},"type":"object","title":"TestcasesQueryRequest"},"TestcasesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of testcases returned on this page.","default":0},"testcases":{"items":{"$ref":"#/components/schemas/Testcase-Output"},"type":"array","title":"Testcases","description":"Testcase blobs matching the query, in revision-order when scoped by a revision reference."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page, if more results exist."}},"type":"object","title":"TestcasesResponse"},"Testset":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Testset"},"TestsetCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetCreate"},"TestsetCreateRequest":{"properties":{"testset":{"$ref":"#/components/schemas/TestsetCreate","description":"Testset artifact to create. The call only creates the artifact row; testcases are added by committing a revision (see /testsets/revisions/commit) or by using the /simple/testsets/ surface."}},"type":"object","required":["testset"],"title":"TestsetCreateRequest"},"TestsetEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetEdit"},"TestsetEditRequest":{"properties":{"testset":{"$ref":"#/components/schemas/TestsetEdit","description":"Testset artifact fields to update. The `id` in the body must match the `testset_id` in the path."}},"type":"object","required":["testset"],"title":"TestsetEditRequest"},"TestsetFlags":{"properties":{},"type":"object","title":"TestsetFlags","description":"Placeholder for testset-level flags.\n\nThis model is intentionally empty but kept as a dedicated type so that:\n- existing references to `flags: Optional[TestsetFlags]` remain valid, and\n- structured flags can be added here in the future without breaking the\n surrounding DTOs."},"TestsetQuery":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"TestsetQuery"},"TestsetQueryRequest":{"properties":{"testset":{"anyOf":[{"$ref":"#/components/schemas/TestsetQuery"},{"type":"null"}],"description":"Attribute filter (name, description, slug, flags, tags, meta, folder)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Restrict the query to specific testsets by reference (id or slug)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted testsets."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetQueryRequest"},"TestsetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a testset was returned, 0 otherwise.","default":0},"testset":{"anyOf":[{"$ref":"#/components/schemas/Testset"},{"type":"null"}],"description":"The testset artifact. Does not include testcases."}},"type":"object","title":"TestsetResponse"},"TestsetRevision":{"properties":{"testset_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"TestsetRevision"},"TestsetRevisionCommit":{"properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"delta":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDelta"},{"type":"null"}]}},"type":"object","title":"TestsetRevisionCommit"},"TestsetRevisionCommitRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionCommit","description":"New revision to commit. Pass either `data` (full replacement of the testcase list) or `delta` (add/remove/replace operations against the base revision) — not both."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionCommitRequest"},"TestsetRevisionCreate":{"properties":{"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetRevisionCreate"},"TestsetRevisionCreateRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionCreate","description":"Revision to create on an existing variant. Typically used to seed an empty revision; use /testsets/revisions/commit to set testcases."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response. Defaults to true when the response would carry revision data."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionCreateRequest"},"TestsetRevisionData-Input":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},"TestsetRevisionData-Output":{"properties":{"testcase_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Testcase Ids"},"testcases":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Output"},"type":"array"},{"type":"null"}],"title":"Testcases"}},"additionalProperties":false,"type":"object","title":"TestsetRevisionData"},"TestsetRevisionDelta":{"properties":{"rows":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDeltaRows"},{"type":"null"}]},"columns":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionDeltaColumns"},{"type":"null"}]}},"type":"object","title":"TestsetRevisionDelta","description":"Operations to apply to a testset revision."},"TestsetRevisionDeltaColumns":{"properties":{"add":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaColumns","description":"Column-level operations applied to ALL testcases in the revision."},"TestsetRevisionDeltaRows":{"properties":{"add":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Add"},"remove":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Remove"},"replace":{"anyOf":[{"items":{"$ref":"#/components/schemas/Testcase-Input"},"type":"array"},{"type":"null"}],"title":"Replace"}},"type":"object","title":"TestsetRevisionDeltaRows","description":"Row-level operations applied to testcases in the revision."},"TestsetRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetRevisionEdit"},"TestsetRevisionEditRequest":{"properties":{"testset_revision":{"$ref":"#/components/schemas/TestsetRevisionEdit","description":"Revision fields to update. The `id` in the body must match the `testset_revision_id` in the path. Only metadata fields are editable; content is committed as a new revision."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects in the response."}},"type":"object","required":["testset_revision"],"title":"TestsetRevisionEditRequest"},"TestsetRevisionQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"authors":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Authors"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"dates":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Dates"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"TestsetRevisionQuery"},"TestsetRevisionQueryRequest":{"properties":{"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevisionQuery"},{"type":"null"}],"description":"Attribute filter on the revision (name, description, slug, author, date, message)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Scope revisions to these testsets."},"testset_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Variant Refs","description":"Scope revisions to these variants."},"testset_revision_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Revision Refs","description":"Restrict to specific revisions by reference (id, slug, or version)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted revisions."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision. Defaults to true."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetRevisionQueryRequest"},"TestsetRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a revision was returned, 0 otherwise.","default":0},"testset_revision":{"anyOf":[{"$ref":"#/components/schemas/TestsetRevision"},{"type":"null"}],"description":"The testset revision. `data.testcase_ids` is the ordered list of testcase IDs; `data.testcases` is populated when `include_testcases` is true."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"TestsetRevisionResponse"},"TestsetRevisionRetrieveRequest":{"properties":{"testset_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of an arbitrary variant of this testset."},"testset_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"testset_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Testset revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `testset_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"include_testcase_ids":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcase Ids","description":"Include the ordered list of testcase IDs. Defaults to true (opt-out)."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects. Defaults to true (opt-out). Note: this opt-out default is the opposite of `/queries/revisions/retrieve`, where trace materialization is opt-in."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Windowing applied to the testcases list when materialized."}},"type":"object","title":"TestsetRevisionRetrieveRequest"},"TestsetRevisionsLog":{"properties":{"testset_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"testset_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"TestsetRevisionsLog"},"TestsetRevisionsLogRequest":{"properties":{"testset_revisions":{"$ref":"#/components/schemas/TestsetRevisionsLog","description":"Scope for the log: one of `testset_id`, `testset_variant_id`, or `testset_revision_id`. Optional `depth` limits how far back to walk."},"include_testcases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Testcases","description":"Include full testcase objects for each returned revision."}},"type":"object","required":["testset_revisions"],"title":"TestsetRevisionsLogRequest"},"TestsetRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions returned.","default":0},"testset_revisions":{"items":{"$ref":"#/components/schemas/TestsetRevision"},"type":"array","title":"Testset Revisions","description":"Testset revisions matching the query, in the requested order."}},"type":"object","title":"TestsetRevisionsResponse"},"TestsetVariant":{"properties":{"testset_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Testset Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetVariant"},"TestsetVariantCreate":{"properties":{"testset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Testset Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetVariantCreate"},"TestsetVariantCreateRequest":{"properties":{"testset_variant":{"$ref":"#/components/schemas/TestsetVariantCreate","description":"Variant to create on an existing testset. Pass `testset_id` to identify the parent artifact."}},"type":"object","required":["testset_variant"],"title":"TestsetVariantCreateRequest"},"TestsetVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"TestsetVariantEdit"},"TestsetVariantEditRequest":{"properties":{"testset_variant":{"$ref":"#/components/schemas/TestsetVariantEdit","description":"Variant fields to update. The `id` in the body must match the `testset_variant_id` in the path."}},"type":"object","required":["testset_variant"],"title":"TestsetVariantEditRequest"},"TestsetVariantFork":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"TestsetVariantFork"},"TestsetVariantForkRequest":{"properties":{"testset_variant":{"$ref":"#/components/schemas/TestsetVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"testset_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"testset_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["testset_variant","testset_variant_ref"],"title":"TestsetVariantForkRequest"},"TestsetVariantQuery":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/TestsetFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Slugs"}},"type":"object","title":"TestsetVariantQuery"},"TestsetVariantQueryRequest":{"properties":{"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/TestsetVariantQuery"},{"type":"null"}],"description":"Attribute filter on the variant (name, description, slug, flags, tags, meta)."},"testset_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Refs","description":"Scope to variants whose parent testset matches one of these references."},"testset_variant_refs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"title":"Testset Variant Refs","description":"Restrict the query to specific variants by reference (id or slug)."},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived","description":"Include soft-deleted variants."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor-based pagination. See the Query Pattern guide."}},"type":"object","title":"TestsetVariantQueryRequest"},"TestsetVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"1 if a variant was returned, 0 otherwise.","default":0},"testset_variant":{"anyOf":[{"$ref":"#/components/schemas/TestsetVariant"},{"type":"null"}],"description":"The testset variant (branch)."}},"type":"object","title":"TestsetVariantResponse"},"TestsetVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants returned.","default":0},"testset_variants":{"items":{"$ref":"#/components/schemas/TestsetVariant"},"type":"array","title":"Testset Variants","description":"Testset variants matching the query."}},"type":"object","title":"TestsetVariantsResponse"},"TestsetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of testsets returned on this page.","default":0},"testsets":{"items":{"$ref":"#/components/schemas/Testset"},"type":"array","title":"Testsets","description":"Testset artifacts matching the query, without testcases."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page, if more results exist."}},"type":"object","title":"TestsetsResponse"},"TextOptions":{"properties":{"case_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Case Sensitive","default":false},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exact Match","default":false}},"type":"object","title":"TextOptions"},"ToolAuthScheme":{"type":"string","enum":["oauth","api_key"],"title":"ToolAuthScheme"},"ToolCall":{"properties":{"data":{"$ref":"#/components/schemas/ToolCallData"}},"type":"object","required":["data"],"title":"ToolCall","description":"Request envelope — wraps the raw OpenAI tool call."},"ToolCallData":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolCallFunction"}},"type":"object","required":["id","function"],"title":"ToolCallData","description":"OpenAI tool_calls array item — passed verbatim from the LLM."},"ToolCallFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolCallFunction","description":"Mirrors OpenAI function call: {name, arguments}."},"ToolCallResponse":{"properties":{"call":{"$ref":"#/components/schemas/ToolResult"}},"type":"object","required":["call"],"title":"ToolCallResponse"},"ToolCatalogAction":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"}},"type":"object","required":["key","name"],"title":"ToolCatalogAction"},"ToolCatalogActionDetails":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"read_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Only"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["key","name"],"title":"ToolCatalogActionDetails"},"ToolCatalogActionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"action":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogAction"},{"$ref":"#/components/schemas/ToolCatalogActionDetails"},{"type":"null"}],"title":"Action"}},"type":"object","title":"ToolCatalogActionResponse"},"ToolCatalogActionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogAction"},{"$ref":"#/components/schemas/ToolCatalogActionDetails"}]},"type":"array","title":"Actions","default":[]}},"type":"object","title":"ToolCatalogActionsResponse"},"ToolCatalogCategoriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"categories":{"items":{"$ref":"#/components/schemas/ToolCatalogCategory"},"type":"array","title":"Categories","default":[]}},"type":"object","title":"ToolCatalogCategoriesResponse"},"ToolCatalogCategory":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"ToolCatalogCategory"},"ToolCatalogIntegration":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegration"},"ToolCatalogIntegrationDetails":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"},"actions":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolCatalogAction"},"type":"array"},{"type":"null"}],"title":"Actions"}},"type":"object","required":["key","name"],"title":"ToolCatalogIntegrationDetails"},"ToolCatalogIntegrationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogIntegration"},{"$ref":"#/components/schemas/ToolCatalogIntegrationDetails"},{"type":"null"}],"title":"Integration"}},"type":"object","title":"ToolCatalogIntegrationResponse"},"ToolCatalogIntegrationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogIntegration"},{"$ref":"#/components/schemas/ToolCatalogIntegrationDetails"}]},"type":"array","title":"Integrations","default":[]}},"type":"object","title":"ToolCatalogIntegrationsResponse"},"ToolCatalogProvider":{"properties":{"key":{"$ref":"#/components/schemas/ToolProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"}},"type":"object","required":["key","name"],"title":"ToolCatalogProvider"},"ToolCatalogProviderDetails":{"properties":{"key":{"$ref":"#/components/schemas/ToolProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"},"integrations":{"anyOf":[{"items":{"$ref":"#/components/schemas/ToolCatalogIntegration"},"type":"array"},{"type":"null"}],"title":"Integrations"}},"type":"object","required":["key","name"],"title":"ToolCatalogProviderDetails"},"ToolCatalogProviderResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"provider":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogProvider"},{"$ref":"#/components/schemas/ToolCatalogProviderDetails"},{"type":"null"}],"title":"Provider"}},"type":"object","title":"ToolCatalogProviderResponse"},"ToolCatalogProvidersResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"providers":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolCatalogProvider"},{"$ref":"#/components/schemas/ToolCatalogProviderDetails"}]},"type":"array","title":"Providers","default":[]}},"type":"object","title":"ToolCatalogProvidersResponse"},"ToolConnection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"$ref":"#/components/schemas/ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"$ref":"#/components/schemas/ToolConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnection"},"ToolConnectionCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"$ref":"#/components/schemas/ToolProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"$ref":"#/components/schemas/ToolConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"ToolConnectionCreate"},"ToolConnectionCreateData":{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"$ref":"#/components/schemas/ToolAuthScheme"},{"type":"null"}]},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"auth_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Config Id"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"no_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"No Auth"}},"type":"object","title":"ToolConnectionCreateData"},"ToolConnectionCreateRequest":{"properties":{"connection":{"$ref":"#/components/schemas/ToolConnectionCreate"}},"type":"object","required":["connection"],"title":"ToolConnectionCreateRequest"},"ToolConnectionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"$ref":"#/components/schemas/ToolConnection"},{"type":"null"}]}},"type":"object","title":"ToolConnectionResponse"},"ToolConnectionState":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"ToolConnectionState","description":"The connection state of one integration, derived per the design's state\nmachine. ``ready`` reuses an existing connection; the other two need a human."},"ToolConnectionStatus":{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"ToolConnectionStatus"},"ToolConnectionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connections":{"items":{"$ref":"#/components/schemas/ToolConnection"},"type":"array","title":"Connections","default":[]}},"type":"object","title":"ToolConnectionsResponse"},"ToolProviderKind":{"type":"string","enum":["composio","agenta"],"title":"ToolProviderKind"},"ToolResolveRequest":{"properties":{"tools":{"items":{"anyOf":[{"$ref":"#/components/schemas/BuiltinToolConfig"},{"$ref":"#/components/schemas/GatewayToolConfig"}]},"type":"array","title":"Tools"}},"type":"object","title":"ToolResolveRequest"},"ToolResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"builtins":{"items":{"type":"string"},"type":"array","title":"Builtins"},"custom":{"items":{"$ref":"#/components/schemas/ResolvedTool"},"type":"array","title":"Custom"}},"type":"object","title":"ToolResolveResponse"},"ToolResult":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/ToolResultData"},{"type":"null"}]}},"type":"object","title":"ToolResult","description":"Response envelope with Agenta identity, status, and the OpenAI tool message."},"ToolResultData":{"properties":{"role":{"type":"string","title":"Role","default":"tool"},"tool_call_id":{"type":"string","title":"Tool Call Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["tool_call_id","content"],"title":"ToolResultData","description":"OpenAI tool message — passed verbatim back to the LLM."},"Trace-Input":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Input"},{"items":{"$ref":"#/components/schemas/SpansNode-Input"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"Trace-Output":{"properties":{"spans":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SpansNode-Output"},{"items":{"$ref":"#/components/schemas/SpansNode-Output"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Spans"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","title":"Trace"},"TraceIdResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a `trace_id` was returned, `0` otherwise.","default":0},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id","description":"32-char hex UUID identifying the trace that was created or edited."}},"type":"object","title":"TraceIdResponse"},"TraceIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of distinct trace IDs in this response.","default":0},"trace_ids":{"items":{"type":"string"},"type":"array","title":"Trace Ids","description":"32-char hex UUIDs of the traces that were ingested. Compare against the number you submitted to detect partial failures.","default":[]}},"type":"object","title":"TraceIdsResponse"},"TraceRequest":{"properties":{"trace":{"anyOf":[{"$ref":"#/components/schemas/Trace-Input"},{"type":"null"}],"description":"A single trace record (trace_id plus nested spans). The `trace_id` must match the path parameter on edit endpoints."}},"type":"object","title":"TraceRequest","description":"Ingest or edit payload for a single canonical `Trace`."},"TraceResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` if a trace was returned, `0` otherwise.","default":0},"trace":{"anyOf":[{"$ref":"#/components/schemas/Trace-Output"},{"type":"null"}],"description":"The trace in the canonical `Trace` shape (`trace_id` + nested `spans` tree)."}},"type":"object","title":"TraceResponse"},"TraceType":{"type":"string","enum":["invocation","annotation","unknown"],"title":"TraceType"},"TracesQueryRequest":{"properties":{"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Input"},{"type":"null"}],"description":"Span-level conditions. A trace matches when any of its spans matches."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range (see [Query Pattern](/reference/api-guide/query-pattern#windowing))."},"query_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve filtering/windowing from a saved query by `id`/`slug`. Only one of the three `query_*_ref` fields is needed."},"query_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from the latest revision of a specific query variant."},"query_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Resolve from a specific query revision. Returns `409` when the revision's stored `formatting.focus` is `span`."}},"type":"object","title":"TracesQueryRequest","description":"Request body for `POST /traces/query`."},"TracesRequest":{"properties":{"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Input"},"type":"array"},{"type":"null"}],"title":"Traces","description":"List of trace records. Each record is a `trace_id` plus the nested `spans` tree. Equivalent to the map-shaped payload accepted by `POST /tracing/spans/ingest`."}},"type":"object","title":"TracesRequest","description":"Ingest payload in the canonical `Traces` list shape.\n\nUsed by `POST /traces/ingest`. Each entry is one trace with its\n`trace_id` and a nested `spans` tree."},"TracesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of matching traces in the window.","default":0},"traces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Trace-Output"},"type":"array"},{"type":"null"}],"title":"Traces","description":"List of traces in the canonical `Traces` shape. For the map-shaped payload keyed by `trace_id`, call `POST /tracing/spans/query` with `focus=\"trace\"`."}},"type":"object","title":"TracesResponse"},"TracingQuery":{"properties":{"formatting":{"anyOf":[{"$ref":"#/components/schemas/Formatting"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]},"filtering":{"anyOf":[{"$ref":"#/components/schemas/Filtering-Output"},{"type":"null"}]}},"type":"object","title":"TracingQuery"},"TriggerAuthScheme":{"type":"string","enum":["oauth","api_key"],"title":"TriggerAuthScheme"},"TriggerCapabilitiesResult":{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/TriggerCapability"},"type":"array","title":"Capabilities"},"connections":{"items":{"$ref":"#/components/schemas/TriggerConnectionRequirement"},"type":"array","title":"Connections"},"guidance":{"$ref":"#/components/schemas/TriggerDiscoveryGuidance"},"ready":{"type":"boolean","title":"Ready","default":false},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","title":"TriggerCapabilitiesResult"},"TriggerCapability":{"properties":{"use_case":{"type":"string","title":"Use Case"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"event":{"anyOf":[{"$ref":"#/components/schemas/DiscoveredTriggerEvent"},{"type":"null"}]},"alternatives":{"items":{"$ref":"#/components/schemas/DiscoveredTriggerAlternative"},"type":"array","title":"Alternatives"},"connection":{"anyOf":[{"$ref":"#/components/schemas/TriggerCapabilityConnection"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["use_case"],"title":"TriggerCapability"},"TriggerCapabilityConnection":{"properties":{"state":{"$ref":"#/components/schemas/TriggerDiscoveryConnectionState"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["state"],"title":"TriggerCapabilityConnection"},"TriggerCatalogEvent":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"}},"type":"object","required":["key","name"],"title":"TriggerCatalogEvent"},"TriggerCatalogEventDetails":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"integration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["key","name"],"title":"TriggerCatalogEventDetails"},"TriggerCatalogEventResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"event":{"anyOf":[{"$ref":"#/components/schemas/TriggerCatalogEventDetails"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogEventResponse"},"TriggerCatalogEventsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"events":{"items":{"$ref":"#/components/schemas/TriggerCatalogEvent"},"type":"array","title":"Events"}},"type":"object","title":"TriggerCatalogEventsResponse"},"TriggerCatalogIntegration":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"actions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actions Count"},"auth_schemes":{"anyOf":[{"items":{"$ref":"#/components/schemas/TriggerAuthScheme"},"type":"array"},{"type":"null"}],"title":"Auth Schemes"}},"type":"object","required":["key","name"],"title":"TriggerCatalogIntegration"},"TriggerCatalogIntegrationResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"integration":{"anyOf":[{"$ref":"#/components/schemas/TriggerCatalogIntegration"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogIntegrationResponse"},"TriggerCatalogIntegrationsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"total":{"type":"integer","title":"Total","default":0},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"integrations":{"items":{"$ref":"#/components/schemas/TriggerCatalogIntegration"},"type":"array","title":"Integrations"}},"type":"object","title":"TriggerCatalogIntegrationsResponse"},"TriggerCatalogProvider":{"properties":{"key":{"$ref":"#/components/schemas/TriggerProviderKind"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"integrations_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Integrations Count"}},"type":"object","required":["key","name"],"title":"TriggerCatalogProvider"},"TriggerCatalogProviderResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"provider":{"anyOf":[{"$ref":"#/components/schemas/TriggerCatalogProvider"},{"type":"null"}]}},"type":"object","title":"TriggerCatalogProviderResponse"},"TriggerCatalogProvidersResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"providers":{"items":{"$ref":"#/components/schemas/TriggerCatalogProvider"},"type":"array","title":"Providers"}},"type":"object","title":"TriggerCatalogProvidersResponse"},"TriggerConnectAffordance":{"properties":{"endpoint":{"type":"string","title":"Endpoint","default":"POST /triggers/connections/"},"body":{"additionalProperties":true,"type":"object","title":"Body"}},"type":"object","required":["body"],"title":"TriggerConnectAffordance"},"TriggerConnection":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"provider_key":{"$ref":"#/components/schemas/TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Data"},"status":{"anyOf":[{"$ref":"#/components/schemas/TriggerConnectionStatus"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnection"},"TriggerConnectionCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"provider_key":{"$ref":"#/components/schemas/TriggerProviderKind"},"integration_key":{"type":"string","title":"Integration Key"},"data":{"anyOf":[{"$ref":"#/components/schemas/TriggerConnectionCreateData"},{"type":"null"}]}},"type":"object","required":["provider_key","integration_key"],"title":"TriggerConnectionCreate"},"TriggerConnectionCreateData":{"properties":{"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"auth_scheme":{"anyOf":[{"$ref":"#/components/schemas/TriggerAuthScheme"},{"type":"null"}]},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"auth_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Config Id"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"no_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"No Auth"}},"type":"object","title":"TriggerConnectionCreateData"},"TriggerConnectionCreateRequest":{"properties":{"connection":{"$ref":"#/components/schemas/TriggerConnectionCreate"}},"type":"object","required":["connection"],"title":"TriggerConnectionCreateRequest"},"TriggerConnectionRequirement":{"properties":{"integration":{"type":"string","title":"Integration"},"state":{"$ref":"#/components/schemas/TriggerDiscoveryConnectionState"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"connect":{"anyOf":[{"$ref":"#/components/schemas/TriggerConnectAffordance"},{"type":"null"}]}},"type":"object","required":["integration","state"],"title":"TriggerConnectionRequirement"},"TriggerConnectionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connection":{"anyOf":[{"$ref":"#/components/schemas/TriggerConnection"},{"type":"null"}]}},"type":"object","title":"TriggerConnectionResponse"},"TriggerConnectionStatus":{"properties":{"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","title":"TriggerConnectionStatus"},"TriggerConnectionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"connections":{"items":{"$ref":"#/components/schemas/TriggerConnection"},"type":"array","title":"Connections"}},"type":"object","title":"TriggerConnectionsResponse"},"TriggerDeliveriesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"deliveries":{"items":{"$ref":"#/components/schemas/TriggerDelivery"},"type":"array","title":"Deliveries"}},"type":"object","title":"TriggerDeliveriesResponse"},"TriggerDelivery":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"$ref":"#/components/schemas/Status"},"data":{"anyOf":[{"$ref":"#/components/schemas/TriggerDeliveryData"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["status","event_id"],"title":"TriggerDelivery"},"TriggerDeliveryData":{"properties":{"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"},"references":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},{"type":"null"}],"title":"References"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"is_test":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Test"}},"type":"object","title":"TriggerDeliveryData"},"TriggerDeliveryQuery":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Schedule Id"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"TriggerDeliveryQuery"},"TriggerDeliveryQueryRequest":{"properties":{"delivery":{"anyOf":[{"$ref":"#/components/schemas/TriggerDeliveryQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerDeliveryQueryRequest"},"TriggerDeliveryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"delivery":{"anyOf":[{"$ref":"#/components/schemas/TriggerDelivery"},{"type":"null"}]}},"type":"object","title":"TriggerDeliveryResponse"},"TriggerDiscoveryConnectionState":{"type":"string","enum":["ready","needs_auth","needs_input"],"title":"TriggerDiscoveryConnectionState"},"TriggerDiscoveryGuidance":{"properties":{"plan_steps":{"items":{"type":"string"},"type":"array","title":"Plan Steps"},"pitfalls":{"items":{"type":"string"},"type":"array","title":"Pitfalls"}},"type":"object","title":"TriggerDiscoveryGuidance"},"TriggerDiscoveryQuery":{"properties":{"use_cases":{"items":{"type":"string"},"type":"array","title":"Use Cases"},"provider":{"type":"string","title":"Provider","default":"composio"},"limit_alternatives":{"type":"integer","minimum":0.0,"title":"Limit Alternatives","default":3}},"type":"object","required":["use_cases"],"title":"TriggerDiscoveryQuery","description":"Request body for ``POST /triggers/discover``."},"TriggerEventAck":{"properties":{"status":{"type":"string","title":"Status","default":"accepted"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","title":"TriggerEventAck"},"TriggerProviderKind":{"type":"string","enum":["composio"],"title":"TriggerProviderKind"},"TriggerSchedule":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerSchedule"},"TriggerScheduleCreate":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"$ref":"#/components/schemas/TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerScheduleCreate"},"TriggerScheduleCreateRequest":{"properties":{"schedule":{"$ref":"#/components/schemas/TriggerScheduleCreate"}},"type":"object","required":["schedule"],"title":"TriggerScheduleCreateRequest"},"TriggerScheduleData":{"properties":{"event_key":{"type":"string","title":"Event Key"},"schedule":{"type":"string","title":"Schedule"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"$ref":"#/components/schemas/Selector"},{"type":"null"}]}},"type":"object","required":["event_key","schedule"],"title":"TriggerScheduleData"},"TriggerScheduleEdit":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerScheduleFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/TriggerScheduleData"}},"type":"object","required":["data"],"title":"TriggerScheduleEdit"},"TriggerScheduleEditRequest":{"properties":{"schedule":{"$ref":"#/components/schemas/TriggerScheduleEdit"}},"type":"object","required":["schedule"],"title":"TriggerScheduleEditRequest"},"TriggerScheduleFlags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"TriggerScheduleFlags"},"TriggerScheduleQuery":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"}},"type":"object","title":"TriggerScheduleQuery"},"TriggerScheduleQueryRequest":{"properties":{"schedule":{"anyOf":[{"$ref":"#/components/schemas/TriggerScheduleQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleQueryRequest"},"TriggerScheduleResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedule":{"anyOf":[{"$ref":"#/components/schemas/TriggerSchedule"},{"type":"null"}]}},"type":"object","title":"TriggerScheduleResponse"},"TriggerSchedulesResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"schedules":{"items":{"$ref":"#/components/schemas/TriggerSchedule"},"type":"array","title":"Schedules"}},"type":"object","title":"TriggerSchedulesResponse"},"TriggerSubscription":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Id"},"data":{"$ref":"#/components/schemas/TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscription"},"TriggerSubscriptionCreate":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"data":{"$ref":"#/components/schemas/TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscriptionCreate"},"TriggerSubscriptionCreateRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/TriggerSubscriptionCreate"}},"type":"object","required":["subscription"],"title":"TriggerSubscriptionCreateRequest"},"TriggerSubscriptionData":{"properties":{"event_key":{"type":"string","title":"Event Key"},"trigger_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trigger Config"},"inputs_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Inputs Fields"},"references":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Reference"},"type":"object"},{"type":"null"}],"title":"References"},"selector":{"anyOf":[{"$ref":"#/components/schemas/Selector"},{"type":"null"}]}},"type":"object","required":["event_key"],"title":"TriggerSubscriptionData"},"TriggerSubscriptionEdit":{"properties":{"flags":{"$ref":"#/components/schemas/TriggerSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"data":{"$ref":"#/components/schemas/TriggerSubscriptionData"}},"type":"object","required":["connection_id","data"],"title":"TriggerSubscriptionEdit"},"TriggerSubscriptionEditRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/TriggerSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"TriggerSubscriptionEditRequest"},"TriggerSubscriptionFlags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true},"is_valid":{"type":"boolean","title":"Is Valid","default":true},"is_test":{"type":"boolean","title":"Is Test","default":false}},"type":"object","title":"TriggerSubscriptionFlags"},"TriggerSubscriptionQuery":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"connection_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Connection Id"},"event_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Key"}},"type":"object","title":"TriggerSubscriptionQuery"},"TriggerSubscriptionQueryRequest":{"properties":{"subscription":{"anyOf":[{"$ref":"#/components/schemas/TriggerSubscriptionQuery"},{"type":"null"}]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionQueryRequest"},"TriggerSubscriptionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"$ref":"#/components/schemas/TriggerSubscription"},{"type":"null"}]}},"type":"object","title":"TriggerSubscriptionResponse"},"TriggerSubscriptionsResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscriptions":{"items":{"$ref":"#/components/schemas/TriggerSubscription"},"type":"array","title":"Subscriptions"}},"type":"object","title":"TriggerSubscriptionsResponse"},"UpdateProjectRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"make_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Make Default"}},"type":"object","title":"UpdateProjectRequest"},"UpdateSecretDTO":{"properties":{"header":{"anyOf":[{"$ref":"#/components/schemas/Header"},{"type":"null"}]},"secret":{"anyOf":[{"$ref":"#/components/schemas/SecretDTO"},{"type":"null"}]}},"type":"object","title":"UpdateSecretDTO"},"UpdateWorkspace":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"UpdateWorkspace"},"UserIdsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of user IDs in this page.","default":0},"user_ids":{"items":{"type":"string"},"type":"array","title":"User Ids","description":"Distinct values of `ag.user.id` in this page.","default":[]},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor for the next page. Pass verbatim as `windowing.next`."}},"type":"object","title":"UserIdsResponse"},"UserRole":{"properties":{"email":{"type":"string","title":"Email"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"organization_id":{"type":"string","title":"Organization Id"}},"type":"object","required":["email","organization_id"],"title":"UserRole"},"UserUpdate":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","title":"UserUpdate"},"UsersQueryRequest":{"properties":{"realtime":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Realtime","description":"When `true`, paginate by `last_active`. When `false` or unset, paginate by the stable `first_active` cursor."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Cursor pagination and time range."}},"type":"object","title":"UsersQueryRequest","description":"Request body for `POST /tracing/users/query`."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookDeliveriesResponse":{"properties":{"count":{"type":"integer","title":"Count"},"deliveries":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array","title":"Deliveries","default":[]}},"type":"object","required":["count"],"title":"WebhookDeliveriesResponse"},"WebhookDelivery":{"properties":{"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"$ref":"#/components/schemas/Status"},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryData"},{"type":"null"}]},"subscription_id":{"type":"string","format":"uuid","title":"Subscription Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"}},"type":"object","required":["status","subscription_id","event_id"],"title":"WebhookDelivery"},"WebhookDeliveryCreate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"$ref":"#/components/schemas/Status"},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryData"},{"type":"null"}]},"subscription_id":{"type":"string","format":"uuid","title":"Subscription Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"}},"type":"object","required":["status","subscription_id","event_id"],"title":"WebhookDeliveryCreate"},"WebhookDeliveryCreateRequest":{"properties":{"delivery":{"$ref":"#/components/schemas/WebhookDeliveryCreate"}},"type":"object","required":["delivery"],"title":"WebhookDeliveryCreateRequest"},"WebhookDeliveryData":{"properties":{"event_type":{"anyOf":[{"$ref":"#/components/schemas/WebhookEventType"},{"type":"null"}]},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"},"response":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryResponseInfo"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["url"],"title":"WebhookDeliveryData"},"WebhookDeliveryQuery":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"type":"null"}]},"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"WebhookDeliveryQuery"},"WebhookDeliveryQueryRequest":{"properties":{"delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryQuery"},{"type":"null"}]},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"WebhookDeliveryQueryRequest"},"WebhookDeliveryResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDelivery"},{"type":"null"}]}},"type":"object","title":"WebhookDeliveryResponse"},"WebhookDeliveryResponseInfo":{"properties":{"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","title":"WebhookDeliveryResponseInfo"},"WebhookEventType":{"type":"string","enum":["webhooks.subscriptions.tested","traces.fetched","traces.queried","queries.revisions.retrieved","queries.revisions.fetched","queries.revisions.queried","queries.revisions.logged","queries.revisions.committed","testcases.fetched","testcases.queried","testsets.revisions.retrieved","testsets.revisions.fetched","testsets.revisions.queried","testsets.revisions.logged","testsets.revisions.committed","workflows.revisions.retrieved","workflows.revisions.fetched","workflows.revisions.queried","workflows.revisions.logged","workflows.revisions.committed","environments.revisions.retrieved","environments.revisions.fetched","environments.revisions.queried","environments.revisions.logged","environments.revisions.committed"],"title":"WebhookEventType","description":"Subscribable event types — a strict subset of EventType.\n\nValues are derived from EventType so the strings stay in sync.\nTo add a new subscribable event type, it must first exist in EventType.\nWhen extending this enum, regenerate Fern clients and update the\n\"Available event types\" section in `04-webhooks.mdx`."},"WebhookProviderDTO":{"properties":{"provider":{"$ref":"#/components/schemas/WebhookProviderSettingsDTO"}},"type":"object","required":["provider"],"title":"WebhookProviderDTO"},"WebhookProviderSettingsDTO":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"WebhookProviderSettingsDTO"},"WebhookSubscription":{"properties":{"flags":{"$ref":"#/components/schemas/WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Secret Id"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscription"},"WebhookSubscriptionCreate":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionCreate"},"WebhookSubscriptionCreateRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/WebhookSubscriptionCreate"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionCreateRequest"},"WebhookSubscriptionData":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers"},"payload_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Fields"},"auth_mode":{"anyOf":[{"type":"string","enum":["signature","authorization"]},{"type":"null"}],"title":"Auth Mode"},"event_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array"},{"type":"null"}],"title":"Event Types"}},"type":"object","required":["url"],"title":"WebhookSubscriptionData"},"WebhookSubscriptionEdit":{"properties":{"flags":{"$ref":"#/components/schemas/WebhookSubscriptionFlags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"$ref":"#/components/schemas/WebhookSubscriptionData"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["data"],"title":"WebhookSubscriptionEdit"},"WebhookSubscriptionEditRequest":{"properties":{"subscription":{"$ref":"#/components/schemas/WebhookSubscriptionEdit"}},"type":"object","required":["subscription"],"title":"WebhookSubscriptionEditRequest"},"WebhookSubscriptionFlags":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"WebhookSubscriptionFlags"},"WebhookSubscriptionQuery":{"properties":{"flags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Flags"},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"WebhookSubscriptionQuery"},"WebhookSubscriptionQueryRequest":{"properties":{"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscriptionQuery"},{"type":"null"}]},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Archived"},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionQueryRequest"},"WebhookSubscriptionResponse":{"properties":{"count":{"type":"integer","title":"Count","default":0},"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscription"},{"type":"null"}]}},"type":"object","title":"WebhookSubscriptionResponse"},"WebhookSubscriptionTestRequest":{"properties":{"subscription_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subscription Id"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/WebhookSubscriptionEdit"},{"$ref":"#/components/schemas/WebhookSubscriptionCreate"},{"type":"null"}],"title":"Subscription"}},"type":"object","title":"WebhookSubscriptionTestRequest"},"WebhookSubscriptionsResponse":{"properties":{"count":{"type":"integer","title":"Count"},"subscriptions":{"items":{"$ref":"#/components/schemas/WebhookSubscription"},"type":"array","title":"Subscriptions","default":[]}},"type":"object","required":["count"],"title":"WebhookSubscriptionsResponse"},"Windowing":{"properties":{"newest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest"},"oldest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest"},"next":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"order":{"anyOf":[{"type":"string","enum":["ascending","descending"]},{"type":"null"}],"title":"Order"},"interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"}},"type":"object","title":"Windowing"},"Workflow":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowArtifactFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"Workflow"},"WorkflowArtifactFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowArtifactFlags"},"WorkflowCatalogFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false}},"type":"object","title":"WorkflowCatalogFlags"},"WorkflowCatalogHarness":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"}},"type":"object","required":["key"],"title":"WorkflowCatalogHarness"},"WorkflowCatalogHarnessResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a harness record is returned, `0` when not found.","default":0},"harness":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogHarness"},{"type":"null"}],"description":"A harness record referenced by a template's harness field via `x-ag-harness-ref`."}},"type":"object","title":"WorkflowCatalogHarnessResponse"},"WorkflowCatalogHarnessesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of harness records available.","default":0},"harnesses":{"items":{"$ref":"#/components/schemas/WorkflowCatalogHarness"},"type":"array","title":"Harnesses","description":"Harness records shipped with the product (each carries its `capabilities`)."}},"type":"object","title":"WorkflowCatalogHarnessesResponse"},"WorkflowCatalogPreset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogPreset"},"WorkflowCatalogPresetResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the preset is returned, `0` when not found.","default":0},"preset":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogPreset"},{"type":"null"}],"description":"Named parameter set defined against a template."}},"type":"object","title":"WorkflowCatalogPresetResponse"},"WorkflowCatalogPresetsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of presets returned.","default":0},"presets":{"items":{"$ref":"#/components/schemas/WorkflowCatalogPreset"},"type":"array","title":"Presets","description":"Named parameter sets defined against a template."}},"type":"object","title":"WorkflowCatalogPresetsResponse"},"WorkflowCatalogTemplate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogFlags"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","required":["key"],"title":"WorkflowCatalogTemplate"},"WorkflowCatalogTemplateResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when the template is returned, `0` when not found.","default":0},"template":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogTemplate"},{"type":"null"}],"description":"Workflow blueprint (key, name, description, flags, default data)."}},"type":"object","title":"WorkflowCatalogTemplateResponse"},"WorkflowCatalogTemplatesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of templates returned.","default":0},"templates":{"items":{"$ref":"#/components/schemas/WorkflowCatalogTemplate"},"type":"array","title":"Templates","description":"Workflow blueprints shipped with the product."}},"type":"object","title":"WorkflowCatalogTemplatesResponse"},"WorkflowCatalogType":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"type":"string","title":"Key"},"json_schema":{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object","title":"Json Schema"}},"type":"object","required":["key","json_schema"],"title":"WorkflowCatalogType"},"WorkflowCatalogTypeResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a type definition is returned, `0` when not found.","default":0},"type":{"anyOf":[{"$ref":"#/components/schemas/WorkflowCatalogType"},{"type":"null"}],"description":"JSON Schema fragment referenced by workflow input/output schemas via `x-ag-type-ref`."}},"type":"object","title":"WorkflowCatalogTypeResponse"},"WorkflowCatalogTypesResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of type definitions available.","default":0},"types":{"items":{"$ref":"#/components/schemas/WorkflowCatalogType"},"type":"array","title":"Types","description":"Shared JSON Schema fragments shipped with the product."}},"type":"object","title":"WorkflowCatalogTypesResponse"},"WorkflowCreate":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowCreate"},"WorkflowCreateRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowCreate","description":"Workflow artifact to create. Must include a project-unique `slug`; `name`, `description`, `flags`, `tags`, and `meta` are optional."}},"type":"object","required":["workflow"],"title":"WorkflowCreateRequest"},"WorkflowEdit":{"properties":{"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowEdit"},"WorkflowEditRequest":{"properties":{"workflow":{"$ref":"#/components/schemas/WorkflowEdit","description":"Workflow fields to update. `id` is required and must match the path parameter; only supplied fields are modified."}},"type":"object","required":["workflow"],"title":"WorkflowEditRequest"},"WorkflowFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowFlags","description":"Legacy full workflow flag set."},"WorkflowResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a workflow is returned, `0` when none matched.","default":0},"workflow":{"anyOf":[{"$ref":"#/components/schemas/Workflow"},{"type":"null"}],"description":"The workflow artifact."}},"type":"object","title":"WorkflowResponse"},"WorkflowRevision-Input":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Input"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"WorkflowRevision-Output":{"properties":{"workflow_variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Variant Slug"},"variant_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Slug"},"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"author":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author"},"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Output"},{"type":"null"}]}},"type":"object","title":"WorkflowRevision"},"WorkflowRevisionCommit":{"properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"data":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionData-Input"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"delta":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevisionDelta"},{"type":"null"}]}},"type":"object","title":"WorkflowRevisionCommit"},"WorkflowRevisionCommitRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionCommit","description":"Revision to append to a variant's history. Requires `workflow_variant_id` and optional `message`; `data` carries the new configuration."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCommitRequest"},"WorkflowRevisionCreate":{"properties":{"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowRevisionCreate"},"WorkflowRevisionCreateRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionCreate","description":"Revision to create on an existing variant. The revision is immutable once persisted; to change the payload, commit a new revision."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionCreateRequest"},"WorkflowRevisionData-Input":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Input"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},"WorkflowRevisionData-Output":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"runtime":{"anyOf":[{"type":"string","enum":["python","typescript","javascript"]},{"type":"null"}],"title":"Runtime"},"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script"},"schemas":{"anyOf":[{"$ref":"#/components/schemas/JsonSchemas-Output"},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Parameters"}},"additionalProperties":false,"type":"object","title":"WorkflowRevisionData"},"WorkflowRevisionDelta":{"properties":{"set":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Set"},"remove":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove"}},"type":"object","title":"WorkflowRevisionDelta","description":"Delta operations on a workflow revision's data tree.\n\n- ``set``: a partial data tree deep-merged onto the base revision's data\n (nested dicts merge; scalars and lists replace).\n- ``remove``: dotted key paths to delete from the data tree (e.g.\n ``parameters.agent.tools``)."},"WorkflowRevisionDeployRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact to deploy. One of the workflow refs is required."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant to deploy. Resolves to the latest revision of this variant."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific workflow revision to deploy."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment artifact. One of the environment refs is required."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment variant."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Target environment revision."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Reference key to set on the environment revision. Defaults to `.revision` when omitted."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Commit message recorded on the resulting environment revision."}},"type":"object","title":"WorkflowRevisionDeployRequest"},"WorkflowRevisionEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowRevisionEdit"},"WorkflowRevisionEditRequest":{"properties":{"workflow_revision":{"$ref":"#/components/schemas/WorkflowRevisionEdit","description":"Revision fields to update (lifecycle metadata only). Data and configuration are immutable — commit a new revision to change them."}},"type":"object","required":["workflow_revision"],"title":"WorkflowRevisionEditRequest"},"WorkflowRevisionFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false},"is_managed":{"type":"boolean","title":"Is Managed","default":false},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"is_llm":{"type":"boolean","title":"Is Llm","default":false},"is_hook":{"type":"boolean","title":"Is Hook","default":false},"is_code":{"type":"boolean","title":"Is Code","default":false},"is_match":{"type":"boolean","title":"Is Match","default":false},"is_feedback":{"type":"boolean","title":"Is Feedback","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"is_skill":{"type":"boolean","title":"Is Skill","default":false},"is_chat":{"type":"boolean","title":"Is Chat","default":false},"has_url":{"type":"boolean","title":"Has Url","default":false},"has_script":{"type":"boolean","title":"Has Script","default":false},"has_handler":{"type":"boolean","title":"Has Handler","default":false},"is_static":{"type":"boolean","title":"Is Static","default":false}},"type":"object","title":"WorkflowRevisionFlags"},"WorkflowRevisionResolveRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact; resolves against its latest revision."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant; resolves against its latest revision."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific workflow revision to resolve."},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Input"},{"type":"null"}],"description":"Resolve the references embedded in this revision payload directly, without fetching it first."},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth","description":"Maximum recursive depth for nested `@ag.references`.","default":10},"max_embeds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Embeds","description":"Maximum number of embeds to resolve in one call.","default":100},"error_policy":{"anyOf":[{"$ref":"#/components/schemas/ErrorPolicy"},{"type":"null"}],"description":"How to handle unresolved references: `EXCEPTION` or `IGNORE`.","default":"exception"}},"type":"object","title":"WorkflowRevisionResolveRequest"},"WorkflowRevisionResolveResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Output"},{"type":"null"}],"description":"The workflow revision with `@ag.references` replaced by their resolved payloads."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Metadata describing which references were resolved, depth reached, and errors."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References (artifact / variant / revision) actually used to retrieve this revision."}},"type":"object","title":"WorkflowRevisionResolveResponse"},"WorkflowRevisionResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a revision is returned, `0` when none matched.","default":0},"workflow_revision":{"anyOf":[{"$ref":"#/components/schemas/WorkflowRevision-Output"},{"type":"null"}],"description":"The workflow revision."},"resolution_info":{"anyOf":[{"$ref":"#/components/schemas/ResolutionInfo"},{"type":"null"}],"description":"Reference-resolution metadata; populated when `resolve=true` on retrieve."},"retrieval_info":{"anyOf":[{"$ref":"#/components/schemas/RetrievalInfo"},{"type":"null"}],"description":"References used to retrieve the top-level revision."}},"type":"object","title":"WorkflowRevisionResponse"},"WorkflowRevisionRetrieveRequest":{"properties":{"workflow_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow artifact to look up. Identifies the artifact by `id` or `slug` (both project-unique). When no variant_ref or revision_ref is provided, returns the latest revision of the workflow's default variant."},"workflow_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow variant to look up. Identifies the variant by `id` or `slug` (both project-unique). When no revision_ref is provided, returns the latest revision of this variant."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Workflow revision to look up. `id` alone identifies a revision (project-unique). `slug` alone identifies a revision (project-unique). `version` alone is a per-variant sequence number and is **not** sufficient on its own; it must be combined with a `workflow_variant_ref`. Sending only `version` without a variant ref returns HTTP 400."},"environment_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment artifact backing the deployment to resolve from."},"environment_variant_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Environment variant backing the deployment to resolve from."},"environment_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Specific environment revision to resolve from."},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"Key into the environment revision's reference map. Required when retrieving via environment refs."},"resolve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Resolve","description":"When true, resolve `@ag.references` tokens embedded in the revision configuration before returning it."}},"type":"object","title":"WorkflowRevisionRetrieveRequest","description":"Request body for `POST /workflows/revisions/retrieve`.\n\nResolves to a single revision by one or more reference types. Every\nreference supplied must agree with the resolved revision; contradictions\nreturn HTTP 400. For environment-backed lookup, `key` may be omitted when\n`workflow_ref` is provided, in which case it defaults to\n`.revision`."},"WorkflowRevisionsLog":{"properties":{"workflow_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Revision Id"},"revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revision Id"},"workflow_variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Variant Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Depth"}},"type":"object","title":"WorkflowRevisionsLog"},"WorkflowRevisionsLogRequest":{"properties":{"workflow_revisions":{"$ref":"#/components/schemas/WorkflowRevisionsLog","description":"Log query. Supply `workflow_id`, `workflow_variant_id`, or `workflow_revision_id` to scope the log, and an optional `depth`."}},"type":"object","required":["workflow_revisions"],"title":"WorkflowRevisionsLogRequest"},"WorkflowRevisionsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of revisions in this page.","default":0},"workflow_revisions":{"items":{"$ref":"#/components/schemas/WorkflowRevision-Output"},"type":"array","title":"Workflow Revisions","description":"Workflow revisions matching the query, ordered by commit time."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowRevisionsResponse"},"WorkflowVariant":{"properties":{"workflow_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Slug"},"artifact_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Slug"},"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Output"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Output"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"created_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Id"},"updated_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Id"},"deleted_by_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deleted By Id"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariant"},"WorkflowVariantCreate":{"properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantCreate"},"WorkflowVariantCreateRequest":{"properties":{"workflow_variant":{"$ref":"#/components/schemas/WorkflowVariantCreate","description":"Variant to create under an existing workflow. Requires `workflow_id` (the artifact) and a project-unique `slug`."}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantCreateRequest"},"WorkflowVariantEdit":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"WorkflowVariantEdit"},"WorkflowVariantEditRequest":{"properties":{"workflow_variant":{"$ref":"#/components/schemas/WorkflowVariantEdit","description":"Variant fields to update. `id` is required and must match the path parameter."}},"type":"object","required":["workflow_variant"],"title":"WorkflowVariantEditRequest"},"WorkflowVariantFlags":{"properties":{"is_application":{"type":"boolean","title":"Is Application","default":false},"is_evaluator":{"type":"boolean","title":"Is Evaluator","default":false},"is_snippet":{"type":"boolean","title":"Is Snippet","default":false}},"type":"object","title":"WorkflowVariantFlags"},"WorkflowVariantFork":{"properties":{"flags":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariantFlags"},{"type":"null"}]},"tags":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/LabelJson-Input"},"type":"object"},{"type":"null"}],"title":"Tags"},"meta":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/FullJson-Input"},"type":"object"},{"type":"null"}],"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"WorkflowVariantFork"},"WorkflowVariantForkRequest":{"properties":{"workflow_variant":{"$ref":"#/components/schemas/WorkflowVariantFork","description":"Config for the new variant (slug, name, description, flags)."},"workflow_variant_ref":{"$ref":"#/components/schemas/Reference","description":"Source variant to fork from."},"workflow_revision_ref":{"anyOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Pin the fork to this revision; defaults to the source variant's head."}},"type":"object","required":["workflow_variant","workflow_variant_ref"],"title":"WorkflowVariantForkRequest"},"WorkflowVariantResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"`1` when a variant is returned, `0` when none matched.","default":0},"workflow_variant":{"anyOf":[{"$ref":"#/components/schemas/WorkflowVariant"},{"type":"null"}],"description":"The workflow variant."}},"type":"object","title":"WorkflowVariantResponse"},"WorkflowVariantsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of variants in this page.","default":0},"workflow_variants":{"items":{"$ref":"#/components/schemas/WorkflowVariant"},"type":"array","title":"Workflow Variants","description":"Workflow variants matching the query."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor."}},"type":"object","title":"WorkflowVariantsResponse"},"WorkflowsResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Number of workflows in this page.","default":0},"workflows":{"items":{"$ref":"#/components/schemas/Workflow"},"type":"array","title":"Workflows","description":"Workflow artifacts matching the query."},"windowing":{"anyOf":[{"$ref":"#/components/schemas/Windowing"},{"type":"null"}],"description":"Pagination cursor; pass `windowing.next` back to fetch the following page."}},"type":"object","title":"WorkflowsResponse"},"Workspace":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","required":["name","type"],"title":"Workspace"},"WorkspaceMemberResponse":{"properties":{"user":{"additionalProperties":true,"type":"object","title":"User"},"roles":{"items":{"$ref":"#/components/schemas/WorkspacePermission"},"type":"array","title":"Roles"}},"type":"object","required":["user","roles"],"title":"WorkspaceMemberResponse"},"WorkspacePermission":{"properties":{"role_name":{"type":"string","title":"Role Name"},"role_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Description"},"permissions":{"anyOf":[{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"type":"object","required":["role_name"],"title":"WorkspacePermission"},"WorkspaceResponse":{"properties":{"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"organization":{"type":"string","title":"Organization"},"members":{"anyOf":[{"items":{"$ref":"#/components/schemas/WorkspaceMemberResponse"},"type":"array"},{"type":"null"}],"title":"Members"}},"type":"object","required":["id","name","type","organization"],"title":"WorkspaceResponse"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","name":"Authorization","in":"header"}}},"tags":[{"name":"Status","description":"API server liveness and readiness status."},{"name":"Organizations","description":"Manage organizations, workspaces, SSO domains, and identity providers."},{"name":"Workspaces","description":"Manage workspaces within an organization and their members."},{"name":"Projects","description":"Manage projects within a workspace."},{"name":"Users","description":"User profile and account management — view profile, update username, reset password."},{"name":"Keys","description":"Create and revoke API keys used to authenticate programmatic requests."},{"name":"Workflows","description":"Workflow definitions — the runnable pipelines that back an application."},{"name":"Applications","description":"LLM applications — create, update, list, and delete apps."},{"name":"Evaluators","description":"Evaluator definitions — the metrics and judges used in evaluation runs."},{"name":"Testsets","description":"Test datasets — collections of input/output pairs used in evaluations."},{"name":"Testcases","description":"Individual test cases within a testset."},{"name":"Queries","description":"Saved query definitions used to filter and retrieve trace data."},{"name":"Traces","description":"Ingest and query traces, spans, and metrics from running applications."},{"name":"Invocations","description":"Run an application against a payload and capture the resulting trace."},{"name":"Annotations","description":"Attach evaluator-style feedback to existing traces and spans."},{"name":"Evaluations","description":"Evaluation runs — execute evaluators against variants and testsets."},{"name":"Environments","description":"Deployment environments (e.g. production, staging) and their active variants."},{"name":"Secrets","description":"Manage provider credentials and secret values stored in the vault."},{"name":"Tools","description":"External tool connections and OAuth integrations available to applications."},{"name":"Triggers","description":"Inbound provider event triggers and their watchable event catalog."},{"name":"Sessions","description":"Agent sessions — runner coordination (invoke/cancel/steer/attach/detach/heartbeat/liveness), state persistence (durable SDK state and sandbox resume pointer), records, and streams."},{"name":"Interactions","description":"Human-in-the-loop interaction requests raised by running agents — approvals, inputs, and tool confirmations."},{"name":"Folders","description":"Organize applications and other resources into folder hierarchies."},{"name":"Mounts","description":"Durable object-store mounts for agent working directories."},{"name":"Webhooks","description":"Register and manage webhooks that fire on platform events."},{"name":"OpenTelemetry","description":"OTLP-compatible endpoints for ingesting traces directly from OpenTelemetry-instrumented services."},{"name":"Access","description":"Authentication discovery, organization access checks, and SSO callback endpoints."},{"name":"Billing","description":"Subscription, plan, and usage endpoints for workspace billing."},{"name":"Admin","description":"Internal administration endpoints — restricted to platform operators."},{"name":"Legacy","description":"Stable legacy endpoints retained for existing integrations — not deprecated, but new integrations should prefer the canonical surface."},{"name":"Deprecated","description":"Deprecated endpoints kept for backwards compatibility — avoid in new integrations."}],"security":[{"APIKeyHeader":[]}],"servers":[{"url":"/api"},{"url":"https://eu.cloud.agenta.ai/api"}]} \ No newline at end of file diff --git a/docs/docs/self-host/reference/01-configuration.mdx b/docs/docs/self-host/reference/01-configuration.mdx index ba2aef14ef..37dcfa1361 100644 --- a/docs/docs/self-host/reference/01-configuration.mdx +++ b/docs/docs/self-host/reference/01-configuration.mdx @@ -158,7 +158,7 @@ never by guessing at shape or entropy. | `AGENTA_SERVICES_MIDDLEWARE_CACHING_ENABLED` | `agenta.services.middleware.caching_enabled` | `agenta.services.middleware.cachingEnabled` | :::warning Custom-code evaluator runner -`AGENTA_SERVICES_CODE_SANDBOX_RUNNER` selects how [custom-code evaluators](/evaluation/configure-evaluators/custom-evaluator) execute: +`AGENTA_SERVICES_CODE_SANDBOX_RUNNER` selects how [custom-code evaluators](/1.0/evaluation/configure-evaluators/custom-evaluator) execute: - `local` (default): raw execution in the services process with **no sandbox**. Any author who can create a custom-code evaluator can run arbitrary code on the host. This is what makes self-hosting work with zero configuration; the deployment logs a warning while it's active. - `restricted`: in-process Python sandbox with limited builtins and an allowlist of pure-standard-library imports. No filesystem, network, or host access. Set this to harden a shared/multi-tenant deployment. diff --git a/docs/docusaurus.config.dev.ts b/docs/docusaurus.config.dev.ts index db2fa24d17..cf9868c61c 100644 --- a/docs/docusaurus.config.dev.ts +++ b/docs/docusaurus.config.dev.ts @@ -1,615 +1,41 @@ // @ts-check -import { themes as prismThemes } from "prism-react-renderer"; -import type * as Preset from "@docusaurus/preset-classic"; import type { Config } from "@docusaurus/types"; -import type * as Plugin from "@docusaurus/types/src/plugin"; -import type * as OpenApiPlugin from "docusaurus-plugin-openapi-docs"; -const config: Config = { - title: "Docs - Agenta", - tagline: "The open-source workspace for your agents.", - favicon: "images/favicon.ico", - // Local development configuration - url: "http://localhost:5000", - baseUrl: "/", - organizationName: "Agenta-AI", - projectName: "agenta", - onBrokenLinks: "throw", - onBrokenMarkdownLinks: "throw", - onBrokenAnchors: "throw", - titleDelimiter: "-", - i18n: { - defaultLocale: "en", - locales: ["en"], - }, - - // No production scripts for local development - scripts: [], - - presets: [ - [ - "classic", - { - docs: { - path: "docs", - routeBasePath: "/", - sidebarPath: "./sidebars.ts", - editUrl: "https://github.com/Agenta-AI/agenta/tree/main/docs", - docItemComponent: "@theme/ApiItem", - breadcrumbs: false, - }, - blog: { - routeBasePath: "/changelog", - blogTitle: "Changelog", - blogDescription: "New features, improvements, and fixes in Agenta.", - postsPerPage: 10, - // Keep internal assets (social copy, etc.) out of the published blog. - // The first four globs restate the Docusaurus defaults. - exclude: [ - "**/_*.{js,jsx,ts,tsx,md,mdx}", - "**/_*/**", - "**/*.test.{js,jsx,ts,tsx}", - "**/__tests__/**", - "announcement-assets/**", - ], - showReadingTime: false, - feedOptions: { - type: ["rss", "atom"], - }, - blogSidebarCount: 0, - editUrl: "https://github.com/Agenta-AI/agenta/tree/main/docs", - onInlineTags: "ignore", - // Short entries are shown in full on the list page; only long - // entries carry a {/* truncate */} marker. - onUntruncatedBlogPosts: "ignore", - }, - theme: { - customCss: "./src/css/custom.css", - }, - } satisfies Preset.Options, - ], - ], - - themeConfig: { - image: "images/social-card.png", - docs: { - sidebar: { - hideable: false, - autoCollapseCategories: false, - }, - }, - navbar: { - logo: { - alt: "agenta-ai", - src: "images/Agenta-logo-full-light.png", - srcDark: "images/Agenta-logo-full-dark-accent.png", - }, - hideOnScroll: false, - items: [ - { - type: "doc", - sidebarId: "docsSidebar", - docId: "getting-started/introduction", - position: "left", - label: "Docs", - customProps: { - icon: { - name: "fileText", - }, - }, - }, - { - type: "docSidebar", - sidebarId: "guidesSidebar", - position: "left", - label: "Tutorials", - customProps: { - icon: { - name: "bookOpen", - }, - }, - }, - { - type: "docSidebar", - sidebarId: "refrenceSidebar", - position: "left", - label: "Reference", - customProps: { - icon: { - name: "code", - }, - }, - }, - { - to: "/roadmap", - position: "left", - label: "Roadmap", - customProps: { - icon: { - name: "route", - }, - }, - }, - { - to: "/changelog", - position: "left", - label: "Changelog", - customProps: { - icon: { - name: "clock", - }, - }, - }, - { - type: "docSidebar", - sidebarId: "selfHostSidebar", - position: "left", - label: "Self-host", - customProps: { - icon: { - name: "server", - }, - }, - }, - { - type: "docSidebar", - sidebarId: "administrationSidebar", - position: "left", - label: "Enterprise", - customProps: { - icon: { - name: "shield", - }, - }, - }, - { - type: "search", - position: "right", - }, - { - href: "https://cal.com/mahmoud-mabrouk-ogzgey/demo", - position: "right", - html: "", - }, - { - href: "https://cloud.agenta.ai/", - position: "right", - html: "", - }, - { - href: "https://github.com/Agenta-AI/agenta", - position: "right", - html: '', - }, - { - href: "https://join.slack.com/t/agenta-hq/shared_invite/zt-37pnbp5s6-mbBrPL863d_oLB61GSNFjw", - html: '', - position: "right", - }, - ], - }, - prism: { - theme: prismThemes.github, - darkTheme: prismThemes.vsDark, - - prism: { - - additionalLanguages: ["ruby", "csharp", "php", "java", "powershell", "json", "bash"], - - magicComments: [ - // Remember to extend the default highlight class name as well! - { - className: "theme-code-block-highlighted-line", - line: "highlight-next-line", - block: { start: "highlight-start", end: "highlight-end" }, - }, - { - className: "code-block-error-line", - line: "highlight-error", - }, - ], - }, - languageTabs: [ - { - highlight: "python", - language: "python", - logoClass: "python", - }, - { - highlight: "bash", - language: "curl", - logoClass: "bash", - }, - { - highlight: "csharp", - language: "csharp", - logoClass: "csharp", - }, - { - highlight: "go", - language: "go", - logoClass: "go", - }, - { - highlight: "javascript", - language: "nodejs", - logoClass: "nodejs", - }, - { - highlight: "ruby", - language: "ruby", - logoClass: "ruby", - }, - { - highlight: "php", - language: "php", - logoClass: "php", - }, - { - highlight: "java", - language: "java", - logoClass: "java", - variant: "unirest", - }, - { - highlight: "powershell", - language: "powershell", - logoClass: "powershell", - }, - ], - } satisfies Preset.ThemeConfig, - algolia: { - askAi: 'I14hRlCxbWzW', - appId: "0HZ4ONM2EC", - apiKey: "18ab633e81d706cbda7c78d25d0fe763", - indexName: "agenta", - }, - // For image zoom plugin - zoom: { - config: { - margin: 50, - }, - }, - }, - plugins: [ - async function myPlugin(context, options) { - return { - name: "docusaurus-tailwindcss", - configurePostCss(postcssOptions) { - // Appends TailwindCSS - postcssOptions.plugins.push(require("tailwindcss")); - return postcssOptions; - }, - }; - }, - [ - "docusaurus-plugin-openapi-docs", - { - id: "openapi", - docsPluginId: "classic", - config: { - agenta: { - specPath: "docs/reference/openapi.json", - outputDir: "docs/reference/api", - downloadUrl: - "https://raw.githubusercontent.com/Agenta-AI/agenta/refs/heads/main/docs/docs/reference/openapi.json", - sidebarOptions: { - groupPathsBy: "tag", - categoryLinkSource: "tag", - }, - } satisfies OpenApiPlugin.Options, - } satisfies Plugin.PluginOptions, - }, - ], - // PostHog disabled for local development - [ - "posthog-docusaurus", - { - apiKey: "dummy", - appUrl: "http://localhost:5000", - enableInDevelopment: false, - api_host: "https://alef.agenta.ai", - ui_host: "https://us.posthog.com", - }, - ], - [ - "@docusaurus/plugin-client-redirects", - { - redirects: [ - { - from: "/changelog/main", - to: "/changelog", - }, - { - from: "/prompt-management/creating-a-custom-template", - to: "/custom-workflows/quick-start", - }, - { - from: "/self-host/deploy_remotely/host-remotely", - to: "/self-host/guides/deploy-remotely", - }, - { - from: "/self-host/deploy_remotely/host-on-kubernetes", - to: "/self-host/guides/deploy-to-kubernetes", - }, - { - from: "/self-host/migration/applying-schema-migration", - to: "/self-host/upgrading", - }, - { - from: "/self-host/guides/deploy-the-agent-runner", - to: "/self-host/agent-execution/how-agents-run", - }, - { - from: "/self-host/guides/custom-agent-runner-images", - to: "/self-host/agent-execution/customize-the-agent-runtime", - }, - { - from: "/self-host/guides/agent-daytona-sandboxes", - to: "/self-host/agent-execution/daytona", - }, - { - from: "/self-host/agent-execution/runner-configuration", - to: "/self-host/configuration", - }, - { - from: "/reference/sdk/quick_start", - to: "/reference/sdk/configuration-management", - }, - { - from: "/prompt-management/overview", - to: "/prompt-engineering/concepts", - }, - { - from: "/prompt-management/quick-start", - to: "/prompt-engineering/quick-start", - }, - { - from: "/prompt-management/prompt-management-sdk", - to: "/prompt-engineering/managing-prompts-programatically/create-and-commit", - }, - { - from: "/prompt-management/adding-custom-providers", - to: "/prompt-engineering/playground/custom-providers", - }, - { - from: "/prompt-management/using-the-playground", - to: "/prompt-engineering/playground/using-playground", - }, - { - from: "/prompt-management/integration/how-to-integrate-with-agenta", - to: "/prompt-engineering/integrating-prompts/integrating-with-agenta", - }, - { - from: "/prompt-management/integration/fetch-prompts", - to: "/prompt-engineering/integrating-prompts/fetch-prompt-programatically", - }, - { - from: "/prompt-management/integration/proxy-calls", - to: "/prompt-engineering/integrating-prompts/proxy-calls", - }, - { - from: "/self-host/host-locally", - to: "/self-host/quick-start", - }, - { - from: "/self-host/host-remotely", - to: "/self-host/guides/deploy-remotely", - }, - { - from: "/self-host/host-on-kubernetes", - to: "/self-host/guides/deploy-to-kubernetes", - }, - { - from: "/self-host/applying-schema-migration", - to: "/self-host/upgrading", - }, - // Contributing restructure redirects (old misc paths -> new top-level paths) - { - from: "/misc/contributing/getting-started", - to: "/contributing/overview", - }, - { - from: "/misc/contributing/overview", - to: "/contributing/overview", - }, - { - from: "/misc/contributing/first-pr", - to: "/contributing/first-pr", - }, - { - from: "/misc/contributing/development-mode", - to: "/contributing/guides/development-mode", - }, - { - from: "/misc/contributing/guides/development-mode", - to: "/contributing/guides/development-mode", - }, - { - from: "/misc/contributing/file-issue", - to: "/contributing/guides/file-issue", - }, - { - from: "/misc/contributing/guides/file-issue", - to: "/contributing/guides/file-issue", - }, - { - from: "/misc/contributing/community-projects", - to: "/contributing/guides/community-projects", - }, - { - from: "/misc/contributing/guides/community-projects", - to: "/contributing/guides/community-projects", - }, - { - from: "/misc/contributing/guides/testing", - to: "/contributing/guides/testing", - }, - { - from: "/misc/contributing/guides/formatting-and-linting", - to: "/contributing/guides/formatting-and-linting", - }, - // Prompt Engineering restructure redirects - { - from: "/prompt-engineering/overview", - to: "/prompt-engineering/concepts", - }, - { - from: "/prompt-engineering/prompt-management/how-to-integrate-with-agenta", - to: "/prompt-engineering/integrating-prompts/integrating-with-agenta", - }, - { - from: "/prompt-engineering/prompt-management/prompt-management-sdk", - to: "/prompt-engineering/managing-prompts-programatically/create-and-commit", - }, - { - from: "/prompt-engineering/prompt-management/proxy-calls", - to: "/prompt-engineering/integrating-prompts/proxy-calls", - }, - { - from: "/prompt-engineering/playground/using-the-playground", - to: "/prompt-engineering/playground/using-playground", - }, - { - from: "/prompt-engineering/playground/adding-custom-providers", - to: "/prompt-engineering/playground/custom-providers", - }, - // Evaluation restructure redirects - { - from: "/evaluation/create-test-sets", - to: "/evaluation/managing-test-sets/upload-csv", - }, - { - from: "/evaluation/no-code-evaluation", - to: "/evaluation/evaluation-from-ui/running-evaluations", - }, - { - from: "/evaluation/sdk-evaluation", - to: "/evaluation/concepts", - }, - { - from: "/evaluation/configure-evaluators", - to: "/evaluation/configure-evaluators/overview", - }, - { - from: "/evaluation/human_evaluation", - to: "/evaluation/human-evaluation/quick-start", - }, - { - from: "/evaluation/annotate-api", - to: "/observability/trace-with-python-sdk/annotate-traces", - }, - { - from: "/evaluation/evaluators/classification-entiry-extraction", - to: "/evaluation/configure-evaluators/classification-entity-extraction", - }, - { - from: "/evaluation/evaluators/pattern-matching", - to: "/evaluation/configure-evaluators/regex-evaluator", - }, - { - from: "/evaluation/configure-evaluators/pattern-matching", - to: "/evaluation/configure-evaluators/regex-evaluator", - }, - { - from: "/evaluation/evaluators/semantic-similarity", - to: "/evaluation/configure-evaluators/semantic-similarity", - }, - { - from: "/evaluation/evaluators/llm-as-a-judge", - to: "/evaluation/configure-evaluators/llm-as-a-judge", - }, - { - from: "/evaluation/evaluators/rag-evaluators", - to: "/evaluation/configure-evaluators/rag-evaluators", - }, - { - from: "/evaluation/evaluators/custom-evaluator", - to: "/evaluation/configure-evaluators/custom-evaluator", - }, - { - from: "/evaluation/evaluators/webhook-evaluator", - to: "/evaluation/configure-evaluators/webhook-evaluator", - }, - { - from: "/evaluation/quick-start-ui", - to: "/evaluation/evaluation-from-ui/quick-start", - }, - { - from: "/evaluation/quick-start-sdk", - to: "/evaluation/concepts", - }, - { - from: "/evaluation/overview", - to: "/evaluation/concepts", - }, - // Observability restructure redirects - { - from: "/observability/observability-sdk", - to: "/observability/trace-with-python-sdk/setup-tracing", - }, - { - from: "/observability/opentelemetry", - to: "/observability/trace-with-opentelemetry/distributed-tracing", - }, - { - from: "/observability/otel-semconv", - to: "/observability/trace-with-opentelemetry/semantic-conventions", - }, - { - from: "/observability/overview", - to: "/observability/concepts", - }, - { - from: "/observability/quickstart", - to: "/observability/quickstart-python", - }, - { - from: "/observability/trace-with-opentelemetry/setup-tracing", - to: "/observability/trace-with-opentelemetry/getting-started", - }, - { - from: "/observability/using-the-ui/filtering-traces", - to: "/observability/concepts", - }, - { - from: "/observability/concepts/semantic-conventions", - to: "/observability/trace-with-opentelemetry/semantic-conventions", - }, - { - from: "/reference/api", - to: "/reference/api/category", - } - ], - createRedirects(existingPath) { - if (existingPath.includes('/reference/sdk/core_functions')) { - return [ - existingPath.replace('reference/sdk/core_functions', 'reference/sdk/deprecated-v2/core_functions'), - ]; - } - return undefined; - }, - - }, - ], - - [ - "@docusaurus/plugin-ideal-image", - { - quality: 85, - max: 1600, // max resized image's size. - min: 600, // min resized image's size. if original is lower, use that size. - steps: 3, // the max number of images generated between min and max (inclusive) - disableInDev: false, - }, - ], - - "docusaurus-plugin-image-zoom", - ], - - themes: ["docusaurus-theme-openapi-docs"], -}; - -export default async function createConfig() { - return config; +import createBaseConfig from "./docusaurus.config"; + +/** + * Local development config, used by `pnpm start`. + * + * It reuses the production config and overrides only what has to differ on a + * developer machine: the site URL and base path, the third-party analytics + * scripts, and the PostHog settings. Navigation, sidebars, redirects and + * plugins deliberately live in docusaurus.config.ts alone, so the local site + * always shows the same structure as production. + */ +export default async function createDevConfig(): Promise { + const baseConfig = await createBaseConfig(); + + return { + ...baseConfig, + + url: "http://localhost:5000", + // Production serves the docs under /docs/; locally they sit at the root. + baseUrl: "/", + + // No Google Analytics or Hotjar locally. + scripts: [], + + plugins: (baseConfig.plugins ?? []).map((plugin) => + Array.isArray(plugin) && plugin[0] === "posthog-docusaurus" + ? [ + plugin[0], + { + ...(plugin[1] as Record), + apiKey: "dummy", + appUrl: "http://localhost:5000", + }, + ] + : plugin, + ), + }; } diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index b22e591e9d..d008efe016 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -51,6 +51,21 @@ const config: Config = { editUrl: "https://github.com/Agenta-AI/agenta/tree/main/docs", docItemComponent: "@theme/ApiItem", breadcrumbs: false, + // The current docs (the agent product) are the default and keep the + // existing URLs. Version 1.0 is the frozen documentation of the + // previous product, served under /1.0/. + lastVersion: "current", + versions: { + current: { + label: "v2.0", + path: "", + }, + "1.0": { + label: "v1.0", + path: "1.0", + banner: "unmaintained", + }, + }, }, blog: { routeBasePath: "/changelog", @@ -100,6 +115,12 @@ const config: Config = { }, hideOnScroll: false, items: [ + { + type: "docsVersionDropdown", + position: "right", + dropdownItemsAfter: [], + dropdownActiveClassDisabled: true, + }, { type: "doc", sidebarId: "docsSidebar", @@ -112,20 +133,23 @@ const config: Config = { }, }, }, + // Hidden during the agent-focused docs rework. The tutorials pages and + // their sidebar still exist and stay reachable by direct URL. + // { + // type: "docSidebar", + // sidebarId: "guidesSidebar", + // position: "left", + // label: "Tutorials", + // customProps: { + // icon: { + // name: "bookOpen", + // }, + // }, + // }, { - type: "docSidebar", - sidebarId: "guidesSidebar", - position: "left", - label: "Tutorials", - customProps: { - icon: { - name: "bookOpen", - }, - }, - }, - { - type: "docSidebar", - sidebarId: "refrenceSidebar", + // Plain link: the REST reference is not versioned, it only exists in + // the current version. + to: "/reference/api-guide/overview", position: "left", label: "Reference", customProps: { @@ -134,17 +158,19 @@ const config: Config = { }, }, }, - { - type: "docSidebar", - sidebarId: "integrationsSidebar", - position: "left", - label: "Integrations", - customProps: { - icon: { - name: "puzzle", - }, - }, - }, + // Hidden during the agent-focused docs rework. The integrations pages and + // their sidebar still exist and stay reachable by direct URL. + // { + // type: "docSidebar", + // sidebarId: "integrationsSidebar", + // position: "left", + // label: "Integrations", + // customProps: { + // icon: { + // name: "puzzle", + // }, + // }, + // }, { to: "/roadmap", position: "left", @@ -166,8 +192,8 @@ const config: Config = { }, }, { - type: "docSidebar", - sidebarId: "selfHostSidebar", + // Plain link: self-hosting is not versioned. + to: "/self-host/overview", position: "left", label: "Self-host", customProps: { @@ -177,8 +203,8 @@ const config: Config = { }, }, { - type: "docSidebar", - sidebarId: "administrationSidebar", + // Plain link: the enterprise pages are not versioned. + to: "/administration/security/overview", position: "left", label: "Enterprise", customProps: { @@ -353,7 +379,7 @@ const config: Config = { }, { from: "/prompt-management/creating-a-custom-template", - to: "/custom-workflows/quick-start", + to: "/1.0/custom-workflows/quick-start", }, { from: "/self-host/deploy_remotely/host-remotely", @@ -385,39 +411,39 @@ const config: Config = { }, { from: "/reference/sdk/quick_start", - to: "/reference/sdk/configuration-management", + to: "/1.0/reference/sdk/configuration-management", }, { from: "/prompt-management/overview", - to: "/prompt-engineering/concepts", + to: "/1.0/prompt-engineering/concepts", }, { from: "/prompt-management/quick-start", - to: "/prompt-engineering/quick-start", + to: "/1.0/prompt-engineering/quick-start", }, { from: "/prompt-management/prompt-management-sdk", - to: "/prompt-engineering/managing-prompts-programatically/create-and-commit", + to: "/1.0/prompt-engineering/managing-prompts-programatically/create-and-commit", }, { from: "/prompt-management/adding-custom-providers", - to: "/prompt-engineering/playground/custom-providers", + to: "/1.0/prompt-engineering/playground/custom-providers", }, { from: "/prompt-management/using-the-playground", - to: "/prompt-engineering/playground/using-playground", + to: "/1.0/prompt-engineering/playground/using-playground", }, { from: "/prompt-management/integration/how-to-integrate-with-agenta", - to: "/prompt-engineering/integrating-prompts/integrating-with-agenta", + to: "/1.0/prompt-engineering/integrating-prompts/integrating-with-agenta", }, { from: "/prompt-management/integration/fetch-prompts", - to: "/prompt-engineering/integrating-prompts/fetch-prompt-programatically", + to: "/1.0/prompt-engineering/integrating-prompts/fetch-prompt-programatically", }, { from: "/prompt-management/integration/proxy-calls", - to: "/prompt-engineering/integrating-prompts/proxy-calls", + to: "/1.0/prompt-engineering/integrating-prompts/proxy-calls", }, { from: "/self-host/host-locally", @@ -456,22 +482,6 @@ const config: Config = { from: "/misc/contributing/guides/development-mode", to: "/contributing/guides/development-mode", }, - { - from: "/misc/contributing/file-issue", - to: "/contributing/guides/file-issue", - }, - { - from: "/misc/contributing/guides/file-issue", - to: "/contributing/guides/file-issue", - }, - { - from: "/misc/contributing/community-projects", - to: "/contributing/guides/community-projects", - }, - { - from: "/misc/contributing/guides/community-projects", - to: "/contributing/guides/community-projects", - }, { from: "/misc/contributing/guides/testing", to: "/contributing/guides/testing", @@ -488,129 +498,129 @@ const config: Config = { // Prompt Engineering restructure redirects { from: "/prompt-engineering/overview", - to: "/prompt-engineering/concepts", + to: "/1.0/prompt-engineering/concepts", }, { from: "/prompt-engineering/prompt-management/how-to-integrate-with-agenta", - to: "/prompt-engineering/integrating-prompts/integrating-with-agenta", + to: "/1.0/prompt-engineering/integrating-prompts/integrating-with-agenta", }, { from: "/prompt-engineering/prompt-management/prompt-management-sdk", - to: "/prompt-engineering/managing-prompts-programatically/create-and-commit", + to: "/1.0/prompt-engineering/managing-prompts-programatically/create-and-commit", }, { from: "/prompt-engineering/prompt-management/proxy-calls", - to: "/prompt-engineering/integrating-prompts/proxy-calls", + to: "/1.0/prompt-engineering/integrating-prompts/proxy-calls", }, { from: "/prompt-engineering/playground/using-the-playground", - to: "/prompt-engineering/playground/using-playground", + to: "/1.0/prompt-engineering/playground/using-playground", }, { from: "/prompt-engineering/playground/adding-custom-providers", - to: "/prompt-engineering/playground/custom-providers", + to: "/1.0/prompt-engineering/playground/custom-providers", }, // Evaluation restructure redirects { from: "/evaluation/create-test-sets", - to: "/evaluation/managing-test-sets/upload-csv", + to: "/1.0/evaluation/managing-test-sets/upload-csv", }, { from: "/evaluation/no-code-evaluation", - to: "/evaluation/evaluation-from-ui/running-evaluations", + to: "/1.0/evaluation/evaluation-from-ui/running-evaluations", }, { from: "/evaluation/sdk-evaluation", - to: "/evaluation/concepts", + to: "/1.0/evaluation/concepts", }, { from: "/evaluation/configure-evaluators", - to: "/evaluation/configure-evaluators/overview", + to: "/1.0/evaluation/configure-evaluators/overview", }, { from: "/evaluation/human_evaluation", - to: "/evaluation/human-evaluation/quick-start", + to: "/1.0/evaluation/human-evaluation/quick-start", }, { from: "/evaluation/annotate-api", - to: "/observability/trace-with-python-sdk/annotate-traces", + to: "/1.0/observability/trace-with-python-sdk/annotate-traces", }, { from: "/evaluation/evaluators/classification-entiry-extraction", - to: "/evaluation/configure-evaluators/classification-entity-extraction", + to: "/1.0/evaluation/configure-evaluators/classification-entity-extraction", }, { from: "/evaluation/evaluators/pattern-matching", - to: "/evaluation/configure-evaluators/regex-evaluator", + to: "/1.0/evaluation/configure-evaluators/regex-evaluator", }, { from: "/evaluation/configure-evaluators/pattern-matching", - to: "/evaluation/configure-evaluators/regex-evaluator", + to: "/1.0/evaluation/configure-evaluators/regex-evaluator", }, { from: "/evaluation/evaluators/semantic-similarity", - to: "/evaluation/configure-evaluators/semantic-similarity", + to: "/1.0/evaluation/configure-evaluators/semantic-similarity", }, { from: "/evaluation/evaluators/llm-as-a-judge", - to: "/evaluation/configure-evaluators/llm-as-a-judge", + to: "/1.0/evaluation/configure-evaluators/llm-as-a-judge", }, { from: "/evaluation/evaluators/rag-evaluators", - to: "/evaluation/configure-evaluators/rag-evaluators", + to: "/1.0/evaluation/configure-evaluators/rag-evaluators", }, { from: "/evaluation/evaluators/custom-evaluator", - to: "/evaluation/configure-evaluators/custom-evaluator", + to: "/1.0/evaluation/configure-evaluators/custom-evaluator", }, { from: "/evaluation/evaluators/webhook-evaluator", - to: "/evaluation/configure-evaluators/webhook-evaluator", + to: "/1.0/evaluation/configure-evaluators/webhook-evaluator", }, { from: "/evaluation/quick-start-ui", - to: "/evaluation/evaluation-from-ui/quick-start", + to: "/1.0/evaluation/evaluation-from-ui/quick-start", }, { from: "/evaluation/quick-start-sdk", - to: "/evaluation/concepts", + to: "/1.0/evaluation/concepts", }, { from: "/evaluation/overview", - to: "/evaluation/concepts", + to: "/1.0/evaluation/concepts", }, // Observability restructure redirects { from: "/observability/observability-sdk", - to: "/observability/trace-with-python-sdk/setup-tracing", + to: "/1.0/observability/trace-with-python-sdk/setup-tracing", }, { from: "/observability/opentelemetry", - to: "/observability/trace-with-opentelemetry/distributed-tracing", + to: "/1.0/observability/trace-with-opentelemetry/distributed-tracing", }, { from: "/observability/otel-semconv", - to: "/observability/trace-with-opentelemetry/semantic-conventions", + to: "/1.0/observability/trace-with-opentelemetry/semantic-conventions", }, { from: "/observability/overview", - to: "/observability/concepts", + to: "/1.0/observability/concepts", }, { from: "/observability/quickstart", - to: "/observability/quickstart-python", + to: "/1.0/observability/quickstart-python", }, { from: "/observability/trace-with-opentelemetry/setup-tracing", - to: "/observability/trace-with-opentelemetry/getting-started", + to: "/1.0/observability/trace-with-opentelemetry/getting-started", }, { from: "/observability/using-the-ui/filtering-traces", - to: "/observability/concepts", + to: "/1.0/observability/concepts", }, { from: "/observability/concepts/semantic-conventions", - to: "/observability/trace-with-opentelemetry/semantic-conventions", + to: "/1.0/observability/trace-with-opentelemetry/semantic-conventions", }, { from: "/reference/api", @@ -619,55 +629,61 @@ const config: Config = { // Observability integrations -> new Integrations section { from: "/observability/integrations/openai", - to: "/integrations/llm-providers/openai/observability", + to: "/1.0/integrations/llm-providers/openai/observability", }, { from: "/observability/integrations/langchain", - to: "/integrations/frameworks/langchain/observability", + to: "/1.0/integrations/frameworks/langchain/observability", }, { from: "/observability/integrations/instructor", - to: "/integrations/libraries/instructor/observability", + to: "/1.0/integrations/libraries/instructor/observability", }, { from: "/observability/integrations/litellm", - to: "/integrations/llm-providers/litellm/observability", + to: "/1.0/integrations/llm-providers/litellm/observability", }, { from: "/observability/integrations/llamaindex", - to: "/integrations/frameworks/llamaindex/observability", + to: "/1.0/integrations/frameworks/llamaindex/observability", }, { from: "/observability/integrations/langgraph", - to: "/integrations/frameworks/langgraph/observability", + to: "/1.0/integrations/frameworks/langgraph/observability", }, { from: "/observability/integrations/openai-agents", - to: "/integrations/frameworks/openai-agents/observability", + to: "/1.0/integrations/frameworks/openai-agents/observability", }, { from: "/observability/integrations/pydanticai", - to: "/integrations/frameworks/pydanticai/observability", + to: "/1.0/integrations/frameworks/pydanticai/observability", }, { from: "/observability/integrations/dspy", - to: "/integrations/frameworks/dspy/observability", + to: "/1.0/integrations/frameworks/dspy/observability", }, { from: "/observability/integrations/agno", - to: "/integrations/frameworks/agno/observability", + to: "/1.0/integrations/frameworks/agno/observability", }, { from: "/observability/integrations/google-adk", - to: "/integrations/frameworks/google-adk/observability", + to: "/1.0/integrations/frameworks/google-adk/observability", } ], - createRedirects(existingPath) { + createRedirects(existingPath: string) { if (existingPath.includes('/reference/sdk/core_functions')) { return [ existingPath.replace('reference/sdk/core_functions', 'reference/sdk/deprecated-v2/core_functions'), ]; } + // Every page of the frozen 1.0 documentation also answers at the URL + // it had before versioning, so old links and search results keep + // working. + if (existingPath.startsWith('/1.0/')) { + return [existingPath.replace('/1.0/', '/')]; + } return undefined; }, diff --git a/docs/patches/docusaurus-plugin-llms-txt@0.1.3.patch b/docs/patches/docusaurus-plugin-llms-txt@0.1.3.patch index abc3e643ca..f378de0361 100644 --- a/docs/patches/docusaurus-plugin-llms-txt@0.1.3.patch +++ b/docs/patches/docusaurus-plugin-llms-txt@0.1.3.patch @@ -1,16 +1,33 @@ diff --git a/lib/parseDocuments.js b/lib/parseDocuments.js -index c703296fad630f0a9ec18ae5ef944a652e3af0f1..d14e68ac9a8c4382aa98380086a1e3e7f51bad53 100644 +index c703296fad630f0a9ec18ae5ef944a652e3af0f1..1ec3e6ccc470adf1e24f21cc08d788c08b22ffe0 100644 --- a/lib/parseDocuments.js +++ b/lib/parseDocuments.js -@@ -24,6 +24,11 @@ function extractTitle(content, frontMatter) { +@@ -24,15 +24,23 @@ function extractTitle(content, frontMatter) { return title || ""; } function extractSectionName(route, siteConfig) { -+ // Blog and non-docs routes have no sidebar. Return a fallback section name. -+ if (!route.sidebar) { ++ // Name the section after the first URL segment. Used whenever the route ++ // cannot be matched to exactly one navbar entry: blog and other non-docs ++ // routes have no sidebar, a docs sidebar may deliberately have no navbar ++ // entry, and older docs versions have their own sidebars. ++ const fallbackSectionName = () => { + const firstSegment = route.path.split('/').filter(Boolean)[0] || 'Documentation'; + return firstSegment.charAt(0).toUpperCase() + firstSegment.slice(1); ++ }; ++ if (!route.sidebar) { ++ return fallbackSectionName(); + } const navbars = siteConfig.themeConfig.navbar || {}; - const matching_sidebars = navbars.items.filter((item) => item.sidebarId === route.sidebar); +- const matching_sidebars = navbars.items.filter((item) => item.sidebarId === route.sidebar); ++ const matching_sidebars = (navbars.items || []).filter((item) => item.sidebarId === route.sidebar); if (matching_sidebars.length == 1) { + return matching_sidebars[0].label; + } +- else { +- logger_1.default.error('Multiple sidebars found for route ' + route.path); +- throw new Error('Multiple sidebars found for route ' + route.path); +- } ++ return fallbackSectionName(); + } + function extractSingleRouteMetadata(route, siteConfig) { + let description = null; diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 09d7c9827c..2e3673e9f7 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -14,7 +14,7 @@ overrides: patchedDependencies: docusaurus-plugin-llms-txt@0.1.3: - hash: 5wbdgy4gwv3tv3sdkfub3dn45m + hash: c884fd8033a0051ee0bab1494f8aa0c6e4e3fc018cf4c4859da56208364f6309 path: patches/docusaurus-plugin-llms-txt@0.1.3.patch importers: @@ -62,7 +62,7 @@ importers: version: 2.0.0(@docusaurus/theme-classic@3.10.1(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3)) docusaurus-plugin-llms-txt: specifier: 0.1.3 - version: 0.1.3(patch_hash=5wbdgy4gwv3tv3sdkfub3dn45m)(@docusaurus/core@3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3))(react@18.3.1) + version: 0.1.3(patch_hash=c884fd8033a0051ee0bab1494f8aa0c6e4e3fc018cf4c4859da56208364f6309)(@docusaurus/core@3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3))(react@18.3.1) docusaurus-plugin-openapi-docs: specifier: ^5.0.2 version: 5.0.2(@docusaurus/plugin-content-docs@3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3))(@docusaurus/utils-validation@3.10.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@docusaurus/utils@3.10.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/json-schema@7.0.15)(react@18.3.1) @@ -1555,36 +1555,42 @@ packages: engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] + libc: [glibc] '@parcel/watcher-linux-arm-musl@2.5.6': resolution: {integrity: sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] + libc: [musl] '@parcel/watcher-linux-arm64-glibc@2.5.6': resolution: {integrity: sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] '@parcel/watcher-linux-arm64-musl@2.5.6': resolution: {integrity: sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] + libc: [musl] '@parcel/watcher-linux-x64-glibc@2.5.6': resolution: {integrity: sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] + libc: [glibc] '@parcel/watcher-linux-x64-musl@2.5.6': resolution: {integrity: sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] + libc: [musl] '@parcel/watcher-win32-arm64@2.5.6': resolution: {integrity: sha512-3ukyebjc6eGlw9yRt678DxVF7rjXatWiHvTXqphZLvo7aC5NdEgFufVwjFfY51ijYEWpXbqF5jtrK275z52D4Q==} @@ -9818,7 +9824,7 @@ snapshots: medium-zoom: 1.1.0 validate-peer-dependencies: 2.2.0 - docusaurus-plugin-llms-txt@0.1.3(patch_hash=5wbdgy4gwv3tv3sdkfub3dn45m)(@docusaurus/core@3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3))(react@18.3.1): + docusaurus-plugin-llms-txt@0.1.3(patch_hash=c884fd8033a0051ee0bab1494f8aa0c6e4e3fc018cf4c4859da56208364f6309)(@docusaurus/core@3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3))(react@18.3.1): dependencies: '@docusaurus/core': 3.10.1(@mdx-js/react@3.1.1(@types/react@19.2.14)(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.9.3) fs-extra: 11.3.5 diff --git a/docs/sidebars.ts b/docs/sidebars.ts index c76ae49659..a17213ebea 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -8,6 +8,18 @@ const CATEGORY_UTILITIES: any = { className: "sidebar-section-title", }; +// Sections kept out of the main reading path: present in the sidebar, closed +// until the reader opens them. +const CATEGORY_SECONDARY: any = { + type: "category", + collapsed: true, + collapsible: true, + className: "sidebar-section-title", +}; + +// These sidebars describe the current version of the docs (the agent product). +// The previous product's documentation is frozen in versioned_docs/version-1.0 +// and has its own sidebars in versioned_sidebars/version-1.0-sidebars.json. const sidebars: SidebarsConfig = { docsSidebar: [ { @@ -15,115 +27,42 @@ const sidebars: SidebarsConfig = { ...CATEGORY_UTILITIES, items: [{ type: "autogenerated", dirName: "getting-started" }], }, + // Learn is hidden for now: its tutorials are underscore-prefixed while they + // are reworked. An autogenerated category over an empty directory fails the + // build, so the whole entry stays commented until a tutorial is unhidden. + // { + // label: "Learn", + // ...CATEGORY_UTILITIES, + // items: [{ type: "autogenerated", dirName: "learn" }], + // }, { - label: "Prompt Engineering", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "prompt-engineering" }, - { - type: "category", - collapsed: true, - collapsible: true, - label: "Tutorials", - items: ["tutorials/sdk/manage-prompts-with-SDK", - "tutorials/rag-to-production/tracing-and-prompt-management"] - }], - }, - { - label: "Evaluation", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "evaluation" }, - { - type: "category", - collapsed: true, - collapsible: true, - label: "Tutorials", - items: ["tutorials/cookbooks/capture-user-feedback"] - }], - }, - { - label: "Observability", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "observability" }, - { - type: "category", - collapsed: true, - collapsible: true, - label: "Integrations", - items: [ - "integrations/frameworks/langchain/observability", - "integrations/frameworks/llamaindex/observability", - "integrations/frameworks/langgraph/observability", - "integrations/frameworks/openai-agents/observability", - "integrations/frameworks/pydanticai/observability", - "integrations/frameworks/dspy/observability", - "integrations/frameworks/agno/observability", - "integrations/frameworks/google-adk/observability", - "integrations/llm-providers/openai/observability", - "integrations/llm-providers/litellm/observability", - "integrations/libraries/instructor/observability", - ] - }, - { - type: "category", - collapsed: true, - collapsible: true, - label: "Tutorials", - items: ["tutorials/cookbooks/capture-user-feedback", - "tutorials/cookbooks/observability_langchain", - "tutorials/rag-to-production/tracing-and-prompt-management"] - }], - }, - - { - label: "Custom Workflows", + label: "Concepts", ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "custom-workflows" } - ], + items: [{ type: "autogenerated", dirName: "concepts" }], }, { - label: "Concepts", + label: "Guides", ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "concepts" }], + items: [{ type: "autogenerated", dirName: "guides" }], }, { label: "Contributing", - ...CATEGORY_UTILITIES, + ...CATEGORY_SECONDARY, items: [{ type: "autogenerated", dirName: "contributing" }], }, { label: "Misc", - ...CATEGORY_UTILITIES, + ...CATEGORY_SECONDARY, items: [{ type: "autogenerated", dirName: "misc" }], }, - - ], - guidesSidebar: [ - { - label: "RAG to Production", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "tutorials/rag-to-production" }], - }, - { - label: "Cookbooks", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "tutorials/cookbooks" }], - }, - { - label: "Video Tutorials", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "tutorials/videos" }], - }, - { - label: "SDK", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "tutorials/sdk" }], - }, ], refrenceSidebar: [ + // The Python SDK reference documents the previous product, so it lives in + // version 1.0 and is listed in that version's sidebar. { - label: "Python SDK", + label: "Agents", ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "reference/sdk" }], + items: [{ type: "autogenerated", dirName: "reference/agents" }], }, { label: "REST API Guide", @@ -159,29 +98,9 @@ const sidebars: SidebarsConfig = { { label: "Access Control", ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "administration/access-control" }], - }, - ], - integrationsSidebar: [ - { - label: "Integrations", - ...CATEGORY_UTILITIES, - items: ["integrations/overview"], - }, - { - label: "Frameworks", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "integrations/frameworks" }], - }, - { - label: "LLM Providers", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "integrations/llm-providers" }], - }, - { - label: "Libraries", - ...CATEGORY_UTILITIES, - items: [{ type: "autogenerated", dirName: "integrations/libraries" }], + items: [ + { type: "autogenerated", dirName: "administration/access-control" }, + ], }, ], }; diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 7679714caa..8715d03989 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -1309,3 +1309,9 @@ section.row > .col--6 { flex: 0 0 100% !important; width: 100% !important; } + +/* The version selector next to the logo already tells the reader which version + they are on, so the per-page version chip is redundant. */ +.theme-doc-version-badge { + display: none; +} diff --git a/docs/src/data/roadmap.ts b/docs/src/data/roadmap.ts index 84acc7d8c4..ba6d865584 100644 --- a/docs/src/data/roadmap.ts +++ b/docs/src/data/roadmap.ts @@ -26,81 +26,19 @@ export const shippedFeatures: ShippedFeature[] = [ // Evaluation: 86B7FF // Integration: FFA500 // Security: 000000 + // Agent Builder: BCFF78 + // Reliability: FF6B6B + // Approvals: FFC53D + // Multimodality: 5CC8FF + // Channels: 2DD4BF + // Mobile: F472B6 { - id: "playground-evaluation-workbench", - title: "Evaluate While You Iterate in the Playground", - description: - "Attach evaluators to playground sessions and see scores inline as you iterate on prompts. Connect test sets to keep prompt iteration and data curation in one loop.", - changelogPath: "/docs/changelog/playground-evaluation-workbench", - shippedAt: "2026-06-09", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - { - name: "Evaluation", - color: "86B7FF", - }, - ], - }, - { - id: "annotation-queues", - title: "Annotation Queues", - description: - "Build a review queue from traces or test set rows, attach a scoring schema, and route it to reviewers. Export finished queues as labeled test sets that feed straight into your evaluators.", - changelogPath: "/docs/changelog/annotation-queues", - shippedAt: "2026-05-18", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - { - name: "Evaluation", - color: "86B7FF", - }, - ], - }, - { - id: "deployment-webhooks", - title: "Webhooks and GitHub Automations for Prompt Deployments", - description: - "Trigger CI and repository workflows when you deploy a prompt. Send deployment events to your own HTTPS endpoint or call GitHub directly with repository dispatch and workflow dispatch.", - changelogPath: "/docs/changelog/deployment-webhooks-and-github-automations", - shippedAt: "2026-03-11", - labels: [ - { - name: "Integration", - color: "FFA500", - }, - ], - }, - { - id: "tool-integrations", - title: "Tool Integrations in the Playground", - description: - "Connect 150+ external tools (Gmail, Slack, Notion, Google Sheets, GitHub) to your prompts directly from the playground. Authenticate with OAuth, attach tool actions, and execute tool calls with one click.", - changelogPath: "/docs/changelog/tool-integrations", - shippedAt: "2026-02-27", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - { - name: "Integration", - color: "FFA500", - }, - ], - }, - { - id: "ai-prompt-refinement", - title: "AI-Powered Prompt Refinement in the Playground", + id: "agents-from-ui", + title: "Creating Agents from the UI", description: - "Refine prompts with AI directly in the playground. Describe what you want to improve and get a refined version with an explanation of the changes.", - changelogPath: "/docs/changelog/refine-ai", - shippedAt: "2026-02-25", + "Build and configure AI agents directly from the Agenta UI. Define agent workflows, select tools, and set up orchestration logic without writing code. Test and iterate on agent behavior in the playground, then deploy to production with versioning and observability built in.", + changelogPath: "/docs/changelog/agenta-is-now-a-workspace-for-building-agents", + shippedAt: "2026-07-21", labels: [ { name: "Playground", @@ -124,9 +62,9 @@ export const shippedFeatures: ShippedFeature[] = [ }, { id: "prompt-folders", - title: "Folders for Prompt Organization", + title: "Folders for Agent Organization", description: - "Create folders and subfolders to organize prompts. Drag prompts between folders and search across everything.", + "Create folders and subfolders to organize your agents. Drag them between folders and search across everything.", changelogPath: "/docs/changelog/prompt-folders", shippedAt: "2026-02-04", labels: [ @@ -136,467 +74,126 @@ export const shippedFeatures: ShippedFeature[] = [ }, ], }, +]; +export const inProgressFeatures: PlannedFeature[] = [ { - id: "trace-linking", - title: "Navigation Links from Traces to App/Environment/Variant", - description: - "Clickable links in observability traces to navigate to the application, variant, version, and environment used in each trace. Jump directly to the configuration that generated a specific trace.", - changelogPath: "/docs/changelog/trace-navigation-links", - shippedAt: "2026-01-28", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "date-range-filtering", - title: "Date Range Filtering in Metrics Dashboard", - description: - "Filter traces by date range in the metrics dashboard. View metrics for the last 6 hours, 24 hours, 7 days, or 30 days.", - changelogPath: "/docs/changelog/chat-sessions-observability", - shippedAt: "2026-01-09", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "testset-versioning", - title: "Test Set Versioning and New UI", - description: - "Track test set changes with versioning. Every edit creates a new version. Evaluations link to specific versions for reliable comparisons. Plus a rebuilt UI that scales to 100K+ rows with inline editing for chat messages and JSON.", - changelogPath: "/docs/changelog/testset-versioning", - shippedAt: "2026-01-20", - labels: [ - { - name: "Evaluation", - color: "86B7FF", - }, - ], - }, - { - id: "chat-session-view", - title: "Chat Sessions in Observability", - description: - "Track multi-turn conversations with session grouping. All traces with the same session ID are automatically grouped together, showing complete conversation flows with cost, latency, and token metrics per session.", - changelogPath: "/docs/changelog/chat-sessions-observability", - shippedAt: "2026-01-09", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "pdf-support-playground", - title: "PDF Support in the Playground", - description: - "Attach PDF documents to chat messages in the playground. Upload files, provide URLs, or use file IDs from provider APIs. Works with OpenAI, Gemini, and Claude models. PDFs are supported in evaluations and observability traces.", - changelogPath: "/docs/changelog/pdf-support-in-playground", - shippedAt: "2025-12-17", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - { - name: "Evaluation", - color: "86B7FF", - }, - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "provider-built-in-tools", - title: "Provider Built-in Tools in the Playground", - description: - "Use provider built-in tools like web search, code execution, and file search directly in the Playground. Supported providers include OpenAI, Anthropic, and Gemini. Tools are saved with prompts and automatically used via the LLM gateway.", - changelogPath: "/docs/changelog/provider-built-in-tools", - shippedAt: "2025-12-11", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "projects-within-organizations", - title: "Projects within Organizations", - description: - "Create projects within organizations to divide work between different AI products. Each project scopes its prompts, traces, and evaluations independently.", - changelogPath: "/docs/changelog/projects-within-organizations", - shippedAt: "2025-12-04", - labels: [ - { - name: "Misc", - color: "000000", - }, - ], - }, - { - id: "jinja2-playground", - title: "Jinja2 Template Support in the Playground", - description: - "Use Jinja2 templating in prompts to add conditional logic, filters, and template blocks. The template format is stored in the configuration schema, and the SDK handles rendering automatically.", - changelogPath: "/docs/changelog/jinja2-template-support", - shippedAt: "2025-11-17", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "evaluation-sdk", - title: "Programmatic Evaluation through the SDK", - description: - "Run evaluations programmatically from code with full control over test data and evaluation logic. Evaluate agents built with any framework and view results in the Agenta dashboard.", - changelogPath: "/docs/changelog/evaluation-sdk", - shippedAt: "2025-11-11", - labels: [ - { - name: "Evaluation", - color: "86B7FF", - }, - ], - }, - { - id: "online-evaluation", - title: "Online Evaluation", + id: "durable-sessions", + title: "Durable Agent Sessions", description: - "Automatically evaluate every request to your LLM application in production. Catch hallucinations and off-brand responses as they happen instead of discovering them through user complaints.", - changelogPath: "/docs/changelog/online-evaluation", - shippedAt: "2025-11-11", + "Keep the full conversation when the process running an agent restarts. The runner rebuilds session history from stored records on a cold start, so an agent resumes exactly where it left off instead of losing or replaying earlier turns.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5443", labels: [ { - name: "Evaluation", - color: "86B7FF", + name: "Reliability", + color: "FF6B6B", }, ], }, { - id: "llm-judge-structured-output", - title: "Customize LLM-as-a-Judge Output Schemas", + id: "voice-and-attachments", + title: "Voice and Attachments", description: - "Configure LLM-as-a-Judge evaluators with custom output schemas. Use binary, multiclass, or custom JSON formats. Enable reasoning for better evaluation quality.", - changelogPath: "/docs/changelog/customize-llm-as-a-judge-output-schemas", - shippedAt: "2025-11-10", + "Talk to an agent with voice input, and attach files or drive uploads to a message. Adds input beyond text so agents can work with what the user says and shares, not just typed prompts.", + githubUrl: "https://github.com/Agenta-AI/agenta/pull/5439", labels: [ { - name: "Evaluation", - color: "86B7FF", + name: "Multimodality", + color: "5CC8FF", }, ], }, { - id: "structured-output-playground", - title: "Structured Output Support in the Playground", + id: "batch-tool-approvals", + title: "Batch Tool Approvals", description: - "Define and validate structured output formats in the playground. Save structured output schemas as part of your prompt configuration.", - changelogPath: "/docs/changelog/structured-output-support-in-the-playground", - shippedAt: "2025-04-15", + "Approve or deny several tool calls together in one step, including a deny-all option, instead of handling one approval card at a time. Makes the human-in-the-loop approval flow faster when an agent requests many tools at once.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5391", labels: [ { - name: "Playground", - color: "BCFF78", + name: "Approvals", + color: "FFC53D", }, ], }, { - id: "vertex-ai-provider-support", - title: "Vertex AI Provider Support", + id: "build-kit-context", + title: "A Build Kit That Manages Its Own Context", description: - "Use Google Cloud's Vertex AI models including Gemini and partner models in the playground, Model Hub, and through Gateway endpoints.", - changelogPath: "/docs/changelog/vertex-ai-provider-support", - shippedAt: "2025-10-24", + "Give agents with many tools and large tool results a reliable context. Tools are revealed to the model in stages as the toolset grows, and oversized tool outputs are capped so a single large result does not break a long conversation.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5341", labels: [ { - name: "Integration", + name: "Build Kit", color: "FFA500", }, - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "filtering-by-annotation", - title: "Filtering Traces by Annotation", - description: - "Filter and search for traces based on their annotations. Find traces with low scores or feedback quickly using the rebuilt filtering system.", - changelogPath: "/docs/changelog/filtering-traces-by-annotation", - shippedAt: "2025-10-14", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "evaluation-results-dashboard", - title: "New Evaluation Results Dashboard", - description: - "Completely redesigned evaluation results dashboard with performance plots, side-by-side comparison, improved testcases view, focused detail view, configuration visibility, and run naming.", - changelogPath: "/docs/changelog/new-evaluation-results-dashboard", - shippedAt: "2025-09-26", - labels: [ - { - name: "Evaluation", - color: "86B7FF", - }, - ], - }, - { - id: "deep-url-support", - title: "Deep URL Support for Sharable Links", - description: - "URLs now include workspace context, making them shareable between team members. Fixed workspace bugs with page refresh and workspace selection.", - changelogPath: "/docs/changelog/deep-url-support-for-sharable-links", - shippedAt: "2025-09-24", - labels: [ - { - name: "Misc", - color: "000000", - }, - ], - }, - { - id: "speed-improvements-playground", - title: "Speed Improvements in the Playground", - description: - "We improved the speed of the playground (creation of prompts, navigation, etc.) especially with hundreds of revisions.", - changelogPath: "/docs/changelog/speed-improvements-in-the-playground", - shippedAt: "2025-09-19", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "markdown-support", - title: "Markdown support ", - description: - "You can view prompt and messages in markdown both in the playground and in the observability drawer.", - changelogPath: "/docs/changelog/major-playground-improvements-and-enhancements", - shippedAt: "2025-08-07", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "images-in-playground", - title: "Image Support in playground", - description: - "You can now upload images to the playground and use them in your prompts.", - changelogPath: "/docs/changelog/support-for-images-in-playground", - shippedAt: "2025-07-29", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "llamaindex-integration", - title: "LLamaIndex Integration", - description: "You can trace your calls from LlamaIndex in one line.", - changelogPath: "/docs/changelog/llamaindex-integration", - shippedAt: "2025-06-17", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "annotate-llm-response", - title: "Endpoint to Capture User Feedback for Traces", - description: - "You can now use the annotation API to add annotations (e.g. scores, feedback) to LLM responses traced in Agenta.", - changelogPath: "/docs/changelog/annotate-your-llm-response-preview", - shippedAt: "2025-05-15", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - { - id: "tool-support-playground", - title: "Tool Support in the Playground", - description: - "You can now define and test tools in the playground. You can save tool definitions as part of your prompts.", - changelogPath: "/docs/changelog/tool-support-in-the-playground", - shippedAt: "2025-05-10", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, ], }, ]; -export const inProgressFeatures: PlannedFeature[] = [ - { - id: "navigation-in-the-playground", - title: "Improving Navigation between Testsets in the Playground", - description: - "We are making it easy to use and navigate in the playground with large testsets.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/2731", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, - { - id: "prompt-snippets", - title: "Prompt Snippets", - description: - "Create reusable prompt snippets that can be referenced across multiple prompts. Reference specific versions or always use the latest version to maintain consistency across prompt variants.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/2858", - labels: [ - { - name: "Playground", - color: "BCFF78", - }, - ], - }, + +export const plannedFeatures: PlannedFeature[] = [ { - id: "open-spans-playground", - title: "Open Observability Spans Directly in the Playground", + id: "channels", + title: "Channels: Slack, Telegram, and More", description: - "Add a button in observability to open any chat span directly in the playground. Creates a stateless playground session pre-filled with the exact prompt, configuration, and inputs for immediate iteration.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/2862", + "Connect an agent to the messaging surfaces people already use. A channel routes an incoming Slack or Telegram message to an agent session and delivers the agent's reply back to that same surface.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5510", labels: [ { - name: "Playground", - color: "BCFF78", - }, - { - name: "Observability", - color: "DE74FF", + name: "Channels", + color: "2DD4BF", }, ], }, { - id: "evaluator-playground-updates", - title: "Updates to the Evaluator Playground", + id: "mobile", + title: "Agenta on Mobile", description: - "A richer editing experience for LLM-as-a-Judge and other evaluators, with inline test runs and the ability to evaluate evaluators against a labeled test set to measure agreement with ground truth.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/4011", + "Use the core agent experience from a phone. Chat with an agent, approve or deny tool calls, and browse past runs on a small screen.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5511", labels: [ { - name: "Evaluation", - color: "86B7FF", + name: "Mobile", + color: "F472B6", }, ], }, - { - id: "agents-from-ui", - title: "Creating Agents from the UI", + id: "skill-registry", + title: "Skill Registry", description: - "Build and configure AI agents directly from the Agenta UI. Define agent workflows, select tools, and set up orchestration logic without writing code. Test and iterate on agent behavior in the playground, then deploy to production with versioning and observability built in.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/3705", + "Publish a skill once, then browse and install it into any agent, with versioning. Teams reuse skills instead of defining the same one by hand on every agent.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5512", labels: [ { - name: "Playground", + name: "Agent Builder", color: "BCFF78", }, ], }, { - id: "annotation-queue-label-testsets", - title: "Annotation Queue to Label Test Sets", + id: "mcp-gateway", + title: "MCP Gateway", description: - "Turn annotated traces into labeled test cases directly from an annotation queue. Export reviewed traces with ground-truth labels as a new or existing test set in one action.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/4010", + "Reach MCP tools through one managed entry point. MCP servers are registered centrally, and an agent's tool calls route through the gateway with shared authentication and access policy, instead of configuring each server on every agent.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5513", labels: [ { - name: "Evaluation", - color: "86B7FF", - }, - { - name: "Observability", - color: "DE74FF", - }, - ], - }, -]; - -export const plannedFeatures: PlannedFeature[] = [ - { - id: "trace-usage-limits", - title: "Usage Limits for Traces (Hard and Soft Caps)", - description: - "Set usage limits for traces at the project level. Configure a hard cap to stop accepting new traces once the limit is reached, or a soft cap to receive an alert while continuing to accept traces. Gives teams cost predictability and control in production.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/3784", - labels: [ - { - name: "Observability", - color: "DE74FF", - }, - ], - }, - - { - id: "prompt-caching-sdk", - title: "Prompt Caching in the SDK", - description: "We are adding the ability to cache prompts in the SDK.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/2734", - labels: [ - { - name: "SDK", - color: "DE74FF", + name: "Tools & Triggers", + color: "FFA500", }, ], }, - { - id: "tagging", - title: "Tagging Traces, Testsets, Evaluations and Prompts", + id: "custom-triggers", + title: "Custom Triggers", description: - "We are adding the ability to tag traces, testsets, evaluations and prompts. This is useful for organizing and filtering your data.", - githubUrl: "https://github.com/Agenta-AI/agenta/discussions/2736", + "Start an agent from sources beyond the Composio catalog, including direct webhooks and AI-configured or user-defined events. Triggers today are limited to Composio events; this opens them to custom sources.", + githubUrl: "https://github.com/Agenta-AI/agenta/issues/5514", labels: [ { - name: "Evaluation", - color: "86B7FF", + name: "Tools & Triggers", + color: "FFA500", }, ], }, - - // Example: - // { - // id: "plg-cost-dashboard", - // title: "Cost Dashboard", - // description: "Track token usage and cost across environments and models.", - // githubUrl: "https://github.com/Agenta-AI/agenta/discussions/5678", - // }, ]; diff --git a/docs/src/pages/roadmap.tsx b/docs/src/pages/roadmap.tsx index 5ceadd9650..1a509edba4 100644 --- a/docs/src/pages/roadmap.tsx +++ b/docs/src/pages/roadmap.tsx @@ -36,6 +36,11 @@ const GITHUB_OWNER = 'Agenta-AI'; const GITHUB_REPO = 'agenta'; const NEW_DISCUSSION_URL = `https://github.com/${GITHUB_OWNER}/${GITHUB_REPO}/discussions/new?category=ideas`; +// The list of GitHub discussions is hidden until there are enough of them to be +// worth showing. The fetching and rendering code below stays in place; flip this +// to true to bring the list back. +const SHOW_DISCUSSIONS = false; + // We will use the Discussions list API via the REST endpoint. // Note: For unauthenticated requests there is a low rate-limit. You can // set an environment var in production to add a token if needed and pass it @@ -433,7 +438,9 @@ export default function RoadmapPage() { Feature Requests

- Upvote or comment on the features you care about or request a new feature. + {SHOW_DISCUSSIONS + ? 'Upvote or comment on the features you care about or request a new feature.' + : 'Tell us what you need. Feature requests go to GitHub Discussions, where you and others can comment on them.'}

- + {SHOW_DISCUSSIONS && } ); diff --git a/docs/src/theme/Navbar/Content/index.tsx b/docs/src/theme/Navbar/Content/index.tsx index 60f1744e2d..a0ed0216b1 100644 --- a/docs/src/theme/Navbar/Content/index.tsx +++ b/docs/src/theme/Navbar/Content/index.tsx @@ -41,10 +41,12 @@ ${JSON.stringify(item, null, 2)}`, function NavbarContentLayout({ left, right, + versionSelector, mobileSidebarToggle, }: { left: React.ReactNode; right: React.ReactNode; + versionSelector: React.ReactNode; mobileSidebarToggle: React.ReactNode; }) { return ( @@ -54,6 +56,9 @@ function NavbarContentLayout({
{mobileSidebarToggle} + {versionSelector && ( +
{versionSelector}
+ )}
@@ -75,7 +80,13 @@ export default function NavbarContent(): JSX.Element { const mobileSidebar = useNavbarMobileSidebar(); const items = useNavbarItems(); - const [leftItems, rightItems] = splitNavbarItems(items); + // The docs version selector sits next to the logo, not in the link rows. + const versionItems = items.filter( + (item) => item.type === 'docsVersionDropdown', + ); + const [leftItems, rightItems] = splitNavbarItems( + items.filter((item) => item.type !== 'docsVersionDropdown'), + ); // Filter out search from right items as we're placing it in center const filteredRightItems = rightItems.filter( @@ -90,6 +101,9 @@ export default function NavbarContent(): JSX.Element { mobileSidebarToggle={ !mobileSidebar.disabled ? : null } + versionSelector={ + versionItems.length ? : null + } left={ <> diff --git a/docs/src/theme/Navbar/Content/styles.module.css b/docs/src/theme/Navbar/Content/styles.module.css index 00c9021535..778f8e5929 100644 --- a/docs/src/theme/Navbar/Content/styles.module.css +++ b/docs/src/theme/Navbar/Content/styles.module.css @@ -18,6 +18,68 @@ flex: 0 0 auto; } +/* Small version pill sitting immediately right of the logo. */ +.versionSelector { + display: flex; + align-items: center; + margin-left: 4px; +} + +.versionSelector :global(.navbar__link) { + /* Inline-flex so the pill's padding grows its parent, which the menu is positioned against. */ + display: inline-flex; + align-items: center; + font-size: 13px; + line-height: 18px; + font-weight: var(--ifm-font-weight-semibold); + color: var(--sidebar-link-color); + padding: 3px 8px; + border: none; + border-radius: 4px; + background-color: transparent; + transition: background-color 120ms ease; +} + +.versionSelector :global(.navbar__link:hover) { + color: var(--sidebar-link-color); + background-color: var(--ifm-color-emphasis-200); +} + +/* Theme padding on the dropdown item would push the menu off the pill's left edge. */ +.versionSelector :global(.navbar__item.dropdown) { + padding: 4px 0; +} + +/* Menu hugs its short labels and lines its text up under the pill's text. */ +.versionSelector :global(.dropdown__menu) { + min-width: 0; + width: max-content; + left: -5px; + top: calc(100% + 2px); + padding: 4px; + border: 1px solid var(--ifm-color-emphasis-300); + border-radius: 6px; + box-shadow: 0 4px 12px rgb(0 0 0 / 8%); +} + +/* Item text matches the pill and the rest of the navbar rather than body size. */ +.versionSelector :global(.dropdown__link) { + font-size: 12px; + line-height: 18px; + font-weight: var(--ifm-font-weight-semibold); + color: var(--sidebar-link-color); + padding: 4px 8px; + margin: 0; + border-radius: 4px; +} + +/* The 5% overlay is a quiet fill that works on both the light and dark menu. */ +.versionSelector :global(.dropdown__link:hover), +.versionSelector :global(.dropdown__link--active) { + color: var(--sidebar-link-color); + background-color: var(--ifm-hover-overlay); +} + .navbarCenter { display: flex; align-items: center; diff --git a/docs/static/images/agents/advanced-build-kit-embedded-tools.png b/docs/static/images/agents/advanced-build-kit-embedded-tools.png new file mode 100644 index 0000000000..0b5bbf781e Binary files /dev/null and b/docs/static/images/agents/advanced-build-kit-embedded-tools.png differ diff --git a/docs/static/images/agents/advanced-execution-environment-daytona.png b/docs/static/images/agents/advanced-execution-environment-daytona.png new file mode 100644 index 0000000000..9f145c1fca Binary files /dev/null and b/docs/static/images/agents/advanced-execution-environment-daytona.png differ diff --git a/docs/static/images/agents/advanced-execution-environment.png b/docs/static/images/agents/advanced-execution-environment.png new file mode 100644 index 0000000000..73cd0cc115 Binary files /dev/null and b/docs/static/images/agents/advanced-execution-environment.png differ diff --git a/docs/static/images/agents/advanced-permissions-policy-options.png b/docs/static/images/agents/advanced-permissions-policy-options.png new file mode 100644 index 0000000000..a818ec269b Binary files /dev/null and b/docs/static/images/agents/advanced-permissions-policy-options.png differ diff --git a/docs/static/images/agents/advanced-permissions.png b/docs/static/images/agents/advanced-permissions.png new file mode 100644 index 0000000000..e89bb34540 Binary files /dev/null and b/docs/static/images/agents/advanced-permissions.png differ diff --git a/docs/static/images/agents/advanced-playground-build-kit.png b/docs/static/images/agents/advanced-playground-build-kit.png new file mode 100644 index 0000000000..4ee7c74d24 Binary files /dev/null and b/docs/static/images/agents/advanced-playground-build-kit.png differ diff --git a/docs/static/images/agents/agent-overview.png b/docs/static/images/agents/agent-overview.png new file mode 100644 index 0000000000..3d969ebe9b Binary files /dev/null and b/docs/static/images/agents/agent-overview.png differ diff --git a/docs/static/images/agents/agent-three-layers.svg b/docs/static/images/agents/agent-three-layers.svg new file mode 100644 index 0000000000..d32d694946 --- /dev/null +++ b/docs/static/images/agents/agent-three-layers.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + Your configuration + what you build, and what you change over time + + + Instructions + + + Tools + + + Skills + + + Permissions + + + Files + + + + loaded at the start of every session + + + + Harness + runs the loop, calls the tools, manages the context + + + + + messages + reply + + + + Model + diff --git a/docs/static/images/agents/agents-list-create.png b/docs/static/images/agents/agents-list-create.png new file mode 100644 index 0000000000..faa558aba4 Binary files /dev/null and b/docs/static/images/agents/agents-list-create.png differ diff --git a/docs/static/images/agents/agents-list.png b/docs/static/images/agents/agents-list.png new file mode 100644 index 0000000000..94927031ff Binary files /dev/null and b/docs/static/images/agents/agents-list.png differ diff --git a/docs/static/images/agents/chat-approval-card.png b/docs/static/images/agents/chat-approval-card.png new file mode 100644 index 0000000000..8956aac3b1 Binary files /dev/null and b/docs/static/images/agents/chat-approval-card.png differ diff --git a/docs/static/images/agents/chat-run-with-file-artifact.png b/docs/static/images/agents/chat-run-with-file-artifact.png new file mode 100644 index 0000000000..6b039ca679 Binary files /dev/null and b/docs/static/images/agents/chat-run-with-file-artifact.png differ diff --git a/docs/static/images/agents/commit-dialog.png b/docs/static/images/agents/commit-dialog.png new file mode 100644 index 0000000000..d951e0876c Binary files /dev/null and b/docs/static/images/agents/commit-dialog.png differ diff --git a/docs/static/images/agents/config-files-section.png b/docs/static/images/agents/config-files-section.png new file mode 100644 index 0000000000..30743d5d2c Binary files /dev/null and b/docs/static/images/agents/config-files-section.png differ diff --git a/docs/static/images/agents/credentials-subscription.png b/docs/static/images/agents/credentials-subscription.png new file mode 100644 index 0000000000..b9bb78d967 Binary files /dev/null and b/docs/static/images/agents/credentials-subscription.png differ diff --git a/docs/static/images/agents/deploy-dialog.png b/docs/static/images/agents/deploy-dialog.png new file mode 100644 index 0000000000..ca9d88fab7 Binary files /dev/null and b/docs/static/images/agents/deploy-dialog.png differ diff --git a/docs/static/images/agents/files-drawer-agent-files.png b/docs/static/images/agents/files-drawer-agent-files.png new file mode 100644 index 0000000000..3e47df04fd Binary files /dev/null and b/docs/static/images/agents/files-drawer-agent-files.png differ diff --git a/docs/static/images/agents/files-drawer.png b/docs/static/images/agents/files-drawer.png new file mode 100644 index 0000000000..3e19305989 Binary files /dev/null and b/docs/static/images/agents/files-drawer.png differ diff --git a/docs/static/images/agents/harness-claude-code.png b/docs/static/images/agents/harness-claude-code.png new file mode 100644 index 0000000000..410f1e400f Binary files /dev/null and b/docs/static/images/agents/harness-claude-code.png differ diff --git a/docs/static/images/agents/harness-loop.svg b/docs/static/images/agents/harness-loop.svg new file mode 100644 index 0000000000..6bb05de3c1 --- /dev/null +++ b/docs/static/images/agents/harness-loop.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + You + + + + Harness + Claude Code or Pi + + + + Model + messages in, message out + + + + Tool + + + + task + + + + conversation, instructions, tool list + + + + an answer, or a tool call + + + + runs it + + + + result + + + + the answer, once no tool call is left + diff --git a/docs/static/images/agents/home-template-selected.png b/docs/static/images/agents/home-template-selected.png new file mode 100644 index 0000000000..03b55c79c4 Binary files /dev/null and b/docs/static/images/agents/home-template-selected.png differ diff --git a/docs/static/images/agents/home-templates-and-usage.png b/docs/static/images/agents/home-templates-and-usage.png new file mode 100644 index 0000000000..7a9caa2b10 Binary files /dev/null and b/docs/static/images/agents/home-templates-and-usage.png differ diff --git a/docs/static/images/agents/home-usage-expanded.png b/docs/static/images/agents/home-usage-expanded.png new file mode 100644 index 0000000000..4b7a17a879 Binary files /dev/null and b/docs/static/images/agents/home-usage-expanded.png differ diff --git a/docs/static/images/agents/home-what-do-you-want-to-build.png b/docs/static/images/agents/home-what-do-you-want-to-build.png new file mode 100644 index 0000000000..b0e1ccd214 Binary files /dev/null and b/docs/static/images/agents/home-what-do-you-want-to-build.png differ diff --git a/docs/static/images/agents/instructions-agents-md-editor.png b/docs/static/images/agents/instructions-agents-md-editor.png new file mode 100644 index 0000000000..1547f45cec Binary files /dev/null and b/docs/static/images/agents/instructions-agents-md-editor.png differ diff --git a/docs/static/images/agents/mcp-new-server-drawer.png b/docs/static/images/agents/mcp-new-server-drawer.png new file mode 100644 index 0000000000..da1af90ec1 Binary files /dev/null and b/docs/static/images/agents/mcp-new-server-drawer.png differ diff --git a/docs/static/images/agents/mcp-section.png b/docs/static/images/agents/mcp-section.png new file mode 100644 index 0000000000..e4a26a0590 Binary files /dev/null and b/docs/static/images/agents/mcp-section.png differ diff --git a/docs/static/images/agents/model-and-harness-dialog.png b/docs/static/images/agents/model-and-harness-dialog.png new file mode 100644 index 0000000000..493ef81ab6 Binary files /dev/null and b/docs/static/images/agents/model-and-harness-dialog.png differ diff --git a/docs/static/images/agents/model-and-harness-panel.png b/docs/static/images/agents/model-and-harness-panel.png new file mode 100644 index 0000000000..8d32e6258b Binary files /dev/null and b/docs/static/images/agents/model-and-harness-panel.png differ diff --git a/docs/static/images/agents/model-picker-anthropic-models.png b/docs/static/images/agents/model-picker-anthropic-models.png new file mode 100644 index 0000000000..10253e1e8d Binary files /dev/null and b/docs/static/images/agents/model-picker-anthropic-models.png differ diff --git a/docs/static/images/agents/model-picker-providers.png b/docs/static/images/agents/model-picker-providers.png new file mode 100644 index 0000000000..4afe0302ab Binary files /dev/null and b/docs/static/images/agents/model-picker-providers.png differ diff --git a/docs/static/images/agents/observability-sessions.png b/docs/static/images/agents/observability-sessions.png new file mode 100644 index 0000000000..e35b4bb890 Binary files /dev/null and b/docs/static/images/agents/observability-sessions.png differ diff --git a/docs/static/images/agents/observability-trace-detail.png b/docs/static/images/agents/observability-trace-detail.png new file mode 100644 index 0000000000..74f2f90923 Binary files /dev/null and b/docs/static/images/agents/observability-trace-detail.png differ diff --git a/docs/static/images/agents/observability-traces.png b/docs/static/images/agents/observability-traces.png new file mode 100644 index 0000000000..696f907e2e Binary files /dev/null and b/docs/static/images/agents/observability-traces.png differ diff --git a/docs/static/images/agents/playground-build-mode.png b/docs/static/images/agents/playground-build-mode.png new file mode 100644 index 0000000000..39f41c4107 Binary files /dev/null and b/docs/static/images/agents/playground-build-mode.png differ diff --git a/docs/static/images/agents/playground-chat-mode.png b/docs/static/images/agents/playground-chat-mode.png new file mode 100644 index 0000000000..d8a089c4b7 Binary files /dev/null and b/docs/static/images/agents/playground-chat-mode.png differ diff --git a/docs/static/images/agents/project-observability.png b/docs/static/images/agents/project-observability.png new file mode 100644 index 0000000000..9c9b66c5f1 Binary files /dev/null and b/docs/static/images/agents/project-observability.png differ diff --git a/docs/static/images/agents/registry-deployments.png b/docs/static/images/agents/registry-deployments.png new file mode 100644 index 0000000000..14b3abb5e9 Binary files /dev/null and b/docs/static/images/agents/registry-deployments.png differ diff --git a/docs/static/images/agents/registry-revisions.png b/docs/static/images/agents/registry-revisions.png new file mode 100644 index 0000000000..0e75812eeb Binary files /dev/null and b/docs/static/images/agents/registry-revisions.png differ diff --git a/docs/static/images/agents/schedules-new-schedule.png b/docs/static/images/agents/schedules-new-schedule.png new file mode 100644 index 0000000000..1063a0c1f8 Binary files /dev/null and b/docs/static/images/agents/schedules-new-schedule.png differ diff --git a/docs/static/images/agents/settings-llms.png b/docs/static/images/agents/settings-llms.png new file mode 100644 index 0000000000..f1a7e0c38d Binary files /dev/null and b/docs/static/images/agents/settings-llms.png differ diff --git a/docs/static/images/agents/settings-tools-connections.png b/docs/static/images/agents/settings-tools-connections.png new file mode 100644 index 0000000000..d275579253 Binary files /dev/null and b/docs/static/images/agents/settings-tools-connections.png differ diff --git a/docs/static/images/agents/settings-triggers.png b/docs/static/images/agents/settings-triggers.png new file mode 100644 index 0000000000..9443e89e77 Binary files /dev/null and b/docs/static/images/agents/settings-triggers.png differ diff --git a/docs/static/images/agents/skills-new-skill-dialog.png b/docs/static/images/agents/skills-new-skill-dialog.png new file mode 100644 index 0000000000..6c40c67073 Binary files /dev/null and b/docs/static/images/agents/skills-new-skill-dialog.png differ diff --git a/docs/static/images/agents/subscription-event-form.png b/docs/static/images/agents/subscription-event-form.png new file mode 100644 index 0000000000..aa24c24dac Binary files /dev/null and b/docs/static/images/agents/subscription-event-form.png differ diff --git a/docs/static/images/agents/tool-definition-dialog.png b/docs/static/images/agents/tool-definition-dialog.png new file mode 100644 index 0000000000..0302887b59 Binary files /dev/null and b/docs/static/images/agents/tool-definition-dialog.png differ diff --git a/docs/static/images/agents/tool-detail-permission.png b/docs/static/images/agents/tool-detail-permission.png new file mode 100644 index 0000000000..0f62a73f9d Binary files /dev/null and b/docs/static/images/agents/tool-detail-permission.png differ diff --git a/docs/static/images/agents/tool-reference-workflow.png b/docs/static/images/agents/tool-reference-workflow.png new file mode 100644 index 0000000000..0946e71f0b Binary files /dev/null and b/docs/static/images/agents/tool-reference-workflow.png differ diff --git a/docs/static/images/agents/tools-add-app-tools.png b/docs/static/images/agents/tools-add-app-tools.png new file mode 100644 index 0000000000..09b1cbc907 Binary files /dev/null and b/docs/static/images/agents/tools-add-app-tools.png differ diff --git a/docs/static/images/agents/tools-add-tool-menu.png b/docs/static/images/agents/tools-add-tool-menu.png new file mode 100644 index 0000000000..1eae67a77b Binary files /dev/null and b/docs/static/images/agents/tools-add-tool-menu.png differ diff --git a/docs/static/images/agents/tools-github-actions.png b/docs/static/images/agents/tools-github-actions.png new file mode 100644 index 0000000000..515f35c3db Binary files /dev/null and b/docs/static/images/agents/tools-github-actions.png differ diff --git a/docs/static/images/agents/tools-panel-connected-app.png b/docs/static/images/agents/tools-panel-connected-app.png new file mode 100644 index 0000000000..e8334ee42f Binary files /dev/null and b/docs/static/images/agents/tools-panel-connected-app.png differ diff --git a/docs/static/images/agents/triggers-choose-a-trigger.png b/docs/static/images/agents/triggers-choose-a-trigger.png new file mode 100644 index 0000000000..f746bccdb6 Binary files /dev/null and b/docs/static/images/agents/triggers-choose-a-trigger.png differ diff --git a/docs/static/images/agents/triggers-github-events.png b/docs/static/images/agents/triggers-github-events.png new file mode 100644 index 0000000000..ca2e011c19 Binary files /dev/null and b/docs/static/images/agents/triggers-github-events.png differ diff --git a/docs/vercel.json b/docs/vercel.json index 6a18ec843e..66836aae17 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -1,4 +1,5 @@ { + "installCommand": "npx --yes pnpm@10.30.0 install --frozen-lockfile", "rewrites": [ { "source": "/docs/:path*", diff --git a/docs/versioned_docs/version-1.0/_partials/find-slugs-in-ui.mdx b/docs/versioned_docs/version-1.0/_partials/find-slugs-in-ui.mdx new file mode 100644 index 0000000000..171d17077c --- /dev/null +++ b/docs/versioned_docs/version-1.0/_partials/find-slugs-in-ui.mdx @@ -0,0 +1,10 @@ +:::tip Find slugs in the web UI +You can copy any of these slugs directly from the Agenta web UI using the **Copy Slug** action: + +- **App slug** — app overview page → actions dropdown next to the app title → **Copy Slug** +- **Variant slug** — registry table → row actions (⋯) → **Copy Slug** +- **Testset slug** — testsets table → row actions (⋯) → **Copy Slug** +- **Evaluator slug** — evaluators table → row actions (⋯) → **Copy Slug** + +Each entity also has a **Copy ID** action in the same menu if you need the UUID instead. +::: diff --git a/docs/docs/concepts/01-concepts.mdx b/docs/versioned_docs/version-1.0/concepts/01-concepts.mdx similarity index 100% rename from docs/docs/concepts/01-concepts.mdx rename to docs/versioned_docs/version-1.0/concepts/01-concepts.mdx diff --git a/docs/docs/custom-workflows/01-overview.mdx b/docs/versioned_docs/version-1.0/custom-workflows/01-overview.mdx similarity index 98% rename from docs/docs/custom-workflows/01-overview.mdx rename to docs/versioned_docs/version-1.0/custom-workflows/01-overview.mdx index 3c92a1e710..174e47b942 100644 --- a/docs/docs/custom-workflows/01-overview.mdx +++ b/docs/versioned_docs/version-1.0/custom-workflows/01-overview.mdx @@ -58,7 +58,7 @@ You run your own server with the Agenta SDK. Agenta calls your server with the c In development, you run the service on your infrastructure and expose it (using ngrok or similar) so that the PM can use the playground. Agenta sends requests to your service with the configuration. Your service runs the business logic and calls your LLM gateway. -In production, you fetch the configuration from Agenta and run independently. Agenta is not in your request path. See [Integration](/custom-workflows/integration) for details. +In production, you fetch the configuration from Agenta and run independently. Agenta is not in your request path. See [Integration](/1.0/custom-workflows/integration) for details. ## What you can configure diff --git a/docs/docs/custom-workflows/02-quick-start.mdx b/docs/versioned_docs/version-1.0/custom-workflows/02-quick-start.mdx similarity index 96% rename from docs/docs/custom-workflows/02-quick-start.mdx rename to docs/versioned_docs/version-1.0/custom-workflows/02-quick-start.mdx index bca7b9bac5..a0e4724735 100644 --- a/docs/docs/custom-workflows/02-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/custom-workflows/02-quick-start.mdx @@ -228,5 +228,5 @@ The traces panel shows each step of your workflow, including LLM calls and their ## Next steps -- [Integration](/custom-workflows/integration): How Agenta integrates with your service in dev and prod -- [Observability](/observability/overview): Add detailed tracing to your workflow +- [Integration](/1.0/custom-workflows/integration): How Agenta integrates with your service in dev and prod +- [Observability](/1.0/observability/overview): Add detailed tracing to your workflow diff --git a/docs/docs/custom-workflows/03-configuration-types.mdx b/docs/versioned_docs/version-1.0/custom-workflows/03-configuration-types.mdx similarity index 100% rename from docs/docs/custom-workflows/03-configuration-types.mdx rename to docs/versioned_docs/version-1.0/custom-workflows/03-configuration-types.mdx diff --git a/docs/docs/custom-workflows/04-integration.mdx b/docs/versioned_docs/version-1.0/custom-workflows/04-integration.mdx similarity index 100% rename from docs/docs/custom-workflows/04-integration.mdx rename to docs/versioned_docs/version-1.0/custom-workflows/04-integration.mdx diff --git a/docs/docs/evaluation/01-quick-start-ui.mdx b/docs/versioned_docs/version-1.0/evaluation/01-quick-start-ui.mdx similarity index 100% rename from docs/docs/evaluation/01-quick-start-ui.mdx rename to docs/versioned_docs/version-1.0/evaluation/01-quick-start-ui.mdx diff --git a/docs/docs/evaluation/03-concepts.mdx b/docs/versioned_docs/version-1.0/evaluation/03-concepts.mdx similarity index 89% rename from docs/docs/evaluation/03-concepts.mdx rename to docs/versioned_docs/version-1.0/evaluation/03-concepts.mdx index e781a28de1..82ec9d838a 100644 --- a/docs/docs/evaluation/03-concepts.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/03-concepts.mdx @@ -51,6 +51,6 @@ Agenta supports multiple evaluation workflows: ## Next steps -- [Configure evaluators](/evaluation/configure-evaluators/overview) for your use case -- [Create test sets](/evaluation/managing-test-sets/upload-csv) from various sources -- [Run your first evaluation](/evaluation/evaluation-from-ui/running-evaluations) from the UI +- [Configure evaluators](/1.0/evaluation/configure-evaluators/overview) for your use case +- [Create test sets](/1.0/evaluation/managing-test-sets/upload-csv) from various sources +- [Run your first evaluation](/1.0/evaluation/evaluation-from-ui/running-evaluations) from the UI diff --git a/docs/docs/evaluation/_02-quick-start-sdk.mdx b/docs/versioned_docs/version-1.0/evaluation/_02-quick-start-sdk.mdx similarity index 79% rename from docs/docs/evaluation/_02-quick-start-sdk.mdx rename to docs/versioned_docs/version-1.0/evaluation/_02-quick-start-sdk.mdx index 854b62b6bc..f90d319101 100644 --- a/docs/docs/evaluation/_02-quick-start-sdk.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_02-quick-start-sdk.mdx @@ -7,4 +7,4 @@ sidebar_position: 2 import { Redirect } from '@docusaurus/router'; - + diff --git a/docs/docs/evaluation/_evaluation-from-sdk/01-quick-start.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/01-quick-start.mdx similarity index 81% rename from docs/docs/evaluation/_evaluation-from-sdk/01-quick-start.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/01-quick-start.mdx index ccc62414bc..35383bbdb3 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/01-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/01-quick-start.mdx @@ -78,7 +78,7 @@ print(result) ## Next steps -- Learn about [setup and configuration](/evaluation/evaluation-from-sdk/setup-configuration) -- Explore [managing test sets with the SDK](/evaluation/evaluation-from-sdk/managing-test-sets) -- Understand [configuring evaluators](/evaluation/evaluation-from-sdk/configuring-evaluators) -- See how to [run evaluations](/evaluation/evaluation-from-sdk/running-evaluations) in detail +- Learn about [setup and configuration](/1.0/evaluation/evaluation-from-sdk/setup-configuration) +- Explore [managing test sets with the SDK](/1.0/evaluation/evaluation-from-sdk/managing-test-sets) +- Understand [configuring evaluators](/1.0/evaluation/evaluation-from-sdk/configuring-evaluators) +- See how to [run evaluations](/1.0/evaluation/evaluation-from-sdk/running-evaluations) in detail diff --git a/docs/docs/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx similarity index 79% rename from docs/docs/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx index 1bf90a3308..7b9f59ef7d 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/02-setup-configuration.mdx @@ -55,6 +55,6 @@ ag.init() ## Next steps -- Learn about [managing test sets](/evaluation/evaluation-from-sdk/managing-test-sets) -- Explore [configuring evaluators](/evaluation/evaluation-from-sdk/configuring-evaluators) -- Start [running evaluations](/evaluation/evaluation-from-sdk/running-evaluations) +- Learn about [managing test sets](/1.0/evaluation/evaluation-from-sdk/managing-test-sets) +- Explore [configuring evaluators](/1.0/evaluation/evaluation-from-sdk/configuring-evaluators) +- Start [running evaluations](/1.0/evaluation/evaluation-from-sdk/running-evaluations) diff --git a/docs/docs/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx similarity index 87% rename from docs/docs/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx index f6c6aa5157..158a9208da 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/03-managing-test-sets.mdx @@ -63,6 +63,6 @@ The SDK does not currently expose delete helpers. To archive or delete testsets ## Next steps -- Learn about [configuring evaluators](/evaluation/evaluation-from-sdk/configuring-evaluators) -- Start [running evaluations](/evaluation/evaluation-from-sdk/running-evaluations) -- Explore [viewing results](/evaluation/evaluation-from-sdk/viewing-results) +- Learn about [configuring evaluators](/1.0/evaluation/evaluation-from-sdk/configuring-evaluators) +- Start [running evaluations](/1.0/evaluation/evaluation-from-sdk/running-evaluations) +- Explore [viewing results](/1.0/evaluation/evaluation-from-sdk/viewing-results) diff --git a/docs/docs/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx similarity index 80% rename from docs/docs/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx index 5eb4955b2e..3bbb84b572 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/04-configuring-evaluators.mdx @@ -43,6 +43,6 @@ Built-in evaluators accept parameters (like `correct_answer_key`) when you const ## Next steps -- Learn about [running evaluations](/evaluation/evaluation-from-sdk/running-evaluations) -- Explore [viewing results](/evaluation/evaluation-from-sdk/viewing-results) -- See all [evaluator types](/evaluation/configure-evaluators/overview) +- Learn about [running evaluations](/1.0/evaluation/evaluation-from-sdk/running-evaluations) +- Explore [viewing results](/1.0/evaluation/evaluation-from-sdk/viewing-results) +- See all [evaluator types](/1.0/evaluation/configure-evaluators/overview) diff --git a/docs/docs/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx similarity index 84% rename from docs/docs/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx index 036aeb41e3..cfcc112a06 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/05-running-evaluations.mdx @@ -37,5 +37,5 @@ result = asyncio.run(main()) ## Next steps -- Learn about [viewing results](/evaluation/evaluation-from-sdk/viewing-results) -- Explore [advanced evaluation patterns](/evaluation/evaluation-from-sdk/setup-configuration) +- Learn about [viewing results](/1.0/evaluation/evaluation-from-sdk/viewing-results) +- Explore [advanced evaluation patterns](/1.0/evaluation/evaluation-from-sdk/setup-configuration) diff --git a/docs/docs/evaluation/_evaluation-from-sdk/06-viewing-results.mdx b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/06-viewing-results.mdx similarity index 71% rename from docs/docs/evaluation/_evaluation-from-sdk/06-viewing-results.mdx rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/06-viewing-results.mdx index c17e0c819a..254355e516 100644 --- a/docs/docs/evaluation/_evaluation-from-sdk/06-viewing-results.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/06-viewing-results.mdx @@ -30,6 +30,6 @@ asyncio.run(main()) ## Next steps -- Learn about [human evaluation](/evaluation/human-evaluation/quick-start) -- Explore [comparing evaluations in the UI](/evaluation/evaluation-from-ui/comparing-runs) -- See all [evaluator types](/evaluation/configure-evaluators/overview) +- Learn about [human evaluation](/1.0/evaluation/human-evaluation/quick-start) +- Explore [comparing evaluations in the UI](/1.0/evaluation/evaluation-from-ui/comparing-runs) +- See all [evaluator types](/1.0/evaluation/configure-evaluators/overview) diff --git a/docs/docs/evaluation/_evaluation-from-sdk/_category_.json b/docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/_category_.json similarity index 100% rename from docs/docs/evaluation/_evaluation-from-sdk/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/_evaluation-from-sdk/_category_.json diff --git a/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/01-overview.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/01-overview.mdx new file mode 100644 index 0000000000..9c7949e8c8 --- /dev/null +++ b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/01-overview.mdx @@ -0,0 +1,85 @@ +--- +title: "Configure Evaluators" +sidebar_label: "Overview" +description: "Set up evaluators for your use case" +sidebar_position: 1 +--- + +import Image from "@theme/IdealImage"; + +This guide shows you how to configure evaluators for your LLM application. + +## Configuring evaluators + +To create a new evaluator, click the `Create New` button in the `Evaluators` page. + +## Selecting evaluators + +Agenta offers a growing list of pre-built evaluators suitable for most use cases. You can also [create custom evaluators](/1.0/evaluation/configure-evaluators/custom-evaluator) by writing your own Python function or [use webhooks](/1.0/evaluation/configure-evaluators/webhook-evaluator) for evaluation. + +
+Available Evaluators + +| **Evaluator Name** | **Use Case** | **Type** | **Description** | +| ------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------------ | -------------------------------------------------------------------------------- | +| [Exact Match](/1.0/evaluation/configure-evaluators/classification-entity-extraction#exact-match) | Classification/Entity Extraction | Pattern Matching | Checks if the output exactly matches the expected result. | +| [Contains JSON](/1.0/evaluation/configure-evaluators/classification-entity-extraction#contains-json) | Classification/Entity Extraction | Pattern Matching | Ensures the output contains valid JSON. | +| [Regex Test](/1.0/evaluation/configure-evaluators/regex-evaluator) | Classification/Entity Extraction | Pattern Matching | Checks if the output matches a given regex pattern. | +| [JSON Multi-Field Match](/1.0/evaluation/configure-evaluators/classification-entity-extraction#json-multi-field-match) | Classification/Entity Extraction | Pattern Matching | Compares multiple fields within JSON objects and reports per-field scores. | +| [JSON Diff Match](/1.0/evaluation/configure-evaluators/classification-entity-extraction#json-diff-match) | Classification/Entity Extraction | Similarity Metrics | Compares generated JSON with a ground truth JSON based on schema or values. | +| [Similarity Match](/1.0/evaluation/configure-evaluators/semantic-similarity#similarity-match) | Text Generation / Chatbot | Similarity Metrics | Compares generated output with expected using Jaccard similarity. | +| [Semantic Similarity Match](/1.0/evaluation/configure-evaluators/semantic-similarity#semantic-similarity-match) | Text Generation / Chatbot | Semantic Analysis | Compares the meaning of the generated output with the expected result. | +| [Starts With](/1.0/evaluation/configure-evaluators/regex-evaluator) | Text Generation / Chatbot | Pattern Matching | Checks if the output starts with a specified prefix. | +| [Ends With](/1.0/evaluation/configure-evaluators/regex-evaluator) | Text Generation / Chatbot | Pattern Matching | Checks if the output ends with a specified suffix. | +| [Contains](/1.0/evaluation/configure-evaluators/regex-evaluator) | Text Generation / Chatbot | Pattern Matching | Checks if the output contains a specific substring. | +| [Contains Any](/1.0/evaluation/configure-evaluators/regex-evaluator) | Text Generation / Chatbot | Pattern Matching | Checks if the output contains any of a list of substrings. | +| [Contains All](/1.0/evaluation/configure-evaluators/regex-evaluator) | Text Generation / Chatbot | Pattern Matching | Checks if the output contains all of a list of substrings. | +| [Levenshtein Distance](/1.0/evaluation/configure-evaluators/semantic-similarity#levenshtein-distance) | Text Generation / Chatbot | Similarity Metrics | Calculates the Levenshtein distance between output and expected result. | +| [LLM-as-a-judge](/1.0/evaluation/configure-evaluators/llm-as-a-judge) | Text Generation / Chatbot | LLM-based | Sends outputs to an LLM model for critique and evaluation. | +| [RAG Faithfulness](/1.0/evaluation/configure-evaluators/rag-evaluators) | RAG / Text Generation / Chatbot | LLM-based | Evaluates if the output is faithful to the retrieved documents in RAG workflows. | +| [RAG Context Relevancy](/1.0/evaluation/configure-evaluators/rag-evaluators) | RAG / Text Generation / Chatbot | LLM-based | Measures the relevancy of retrieved documents to the given question in RAG. | +| [Custom Code Evaluation](/1.0/evaluation/configure-evaluators/custom-evaluator) | Custom Logic | Custom | Define custom evaluators in Python, JavaScript, or TypeScript. Access inputs, outputs, and full trace data (spans, latency, token usage). | +| [Webhook Evaluator](/1.0/evaluation/configure-evaluators/webhook-evaluator) | Custom Logic | Custom | Sends output to a webhook for external evaluation. | + +
+ +
+ Create new evaluator +
+ +## Evaluators' playground + +Each evaluator comes with its unique playground. For instance, in the screen below, the LLM-as-a-judge evaluator requires you to specify the prompt to use for the evaluation. You'll find detailed information about these parameters on each evaluator's documentation page. + +
+ LLM-as-a-judge evaluator playground +
+ +The evaluator playground lets you test your evaluator with sample input to make sure it's configured correctly. + +To use it, follow these steps: +1. Load a test case from a test set +2. Select a prompt and run it +3. Run the evaluator to see the result + +You can adjust the configuration until you are happy with the result. When finished, commit your changes. + + +## Next steps + +Explore the different evaluator types: + +- [Classification and Entity Extraction](/1.0/evaluation/configure-evaluators/classification-entity-extraction) +- [Pattern Matching](/1.0/evaluation/configure-evaluators/regex-evaluator) +- [Semantic Similarity](/1.0/evaluation/configure-evaluators/semantic-similarity) +- [LLM as a Judge](/1.0/evaluation/configure-evaluators/llm-as-a-judge) +- [RAG Evaluators](/1.0/evaluation/configure-evaluators/rag-evaluators) +- [Custom Evaluators](/1.0/evaluation/configure-evaluators/custom-evaluator) +- [Webhook Evaluators](/1.0/evaluation/configure-evaluators/webhook-evaluator) diff --git a/docs/docs/evaluation/configure-evaluators/02-classification-entity-extraction.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/02-classification-entity-extraction.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/02-classification-entity-extraction.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/02-classification-entity-extraction.mdx diff --git a/docs/docs/evaluation/configure-evaluators/04-semantic-similarity.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/04-semantic-similarity.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/04-semantic-similarity.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/04-semantic-similarity.mdx diff --git a/docs/docs/evaluation/configure-evaluators/05-llm-as-a-judge.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/05-llm-as-a-judge.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/05-llm-as-a-judge.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/05-llm-as-a-judge.mdx diff --git a/docs/docs/evaluation/configure-evaluators/06-rag-evaluators.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/06-rag-evaluators.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/06-rag-evaluators.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/06-rag-evaluators.mdx diff --git a/docs/docs/evaluation/configure-evaluators/07-custom-evaluator.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/07-custom-evaluator.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/07-custom-evaluator.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/07-custom-evaluator.mdx diff --git a/docs/docs/evaluation/configure-evaluators/08-webhook-evaluator.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/08-webhook-evaluator.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/08-webhook-evaluator.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/08-webhook-evaluator.mdx diff --git a/docs/docs/evaluation/configure-evaluators/_category_.json b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/_category_.json similarity index 100% rename from docs/docs/evaluation/configure-evaluators/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/_category_.json diff --git a/docs/docs/evaluation/configure-evaluators/regex-evaluator.mdx b/docs/versioned_docs/version-1.0/evaluation/configure-evaluators/regex-evaluator.mdx similarity index 100% rename from docs/docs/evaluation/configure-evaluators/regex-evaluator.mdx rename to docs/versioned_docs/version-1.0/evaluation/configure-evaluators/regex-evaluator.mdx diff --git a/docs/docs/evaluation/evaluation-from-sdk/01-quick-start.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/01-quick-start.mdx similarity index 93% rename from docs/docs/evaluation/evaluation-from-sdk/01-quick-start.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/01-quick-start.mdx index 2eb857e8dc..03fa3f3b23 100644 --- a/docs/docs/evaluation/evaluation-from-sdk/01-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/01-quick-start.mdx @@ -238,10 +238,10 @@ When you run an evaluation, here's what happens: Now that you've created your first evaluation, you can: -- Learn how to [configure custom evaluators](/evaluation/evaluation-from-sdk/configuring-evaluators) with different scoring logic -- Explore [built-in evaluators](/evaluation/evaluation-from-sdk/configuring-evaluators#built-in-evaluators) like LLM-as-a-judge -- Understand how to [configure your application](/evaluation/evaluation-from-sdk/configuring-applications) for different use cases -- Run [multiple evaluators](/evaluation/evaluation-from-sdk/running-evaluations) in a single evaluation +- Learn how to [configure custom evaluators](/1.0/evaluation/evaluation-from-sdk/configuring-evaluators) with different scoring logic +- Explore [built-in evaluators](/1.0/evaluation/evaluation-from-sdk/configuring-evaluators#built-in-evaluators) like LLM-as-a-judge +- Understand how to [configure your application](/1.0/evaluation/evaluation-from-sdk/configuring-applications) for different use cases +- Run [multiple evaluators](/1.0/evaluation/evaluation-from-sdk/running-evaluations) in a single evaluation ## Common Patterns diff --git a/docs/docs/evaluation/evaluation-from-sdk/02-managing-testsets.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/02-managing-testsets.mdx similarity index 100% rename from docs/docs/evaluation/evaluation-from-sdk/02-managing-testsets.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/02-managing-testsets.mdx diff --git a/docs/docs/evaluation/evaluation-from-sdk/03-configuring-applications.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/03-configuring-applications.mdx similarity index 100% rename from docs/docs/evaluation/evaluation-from-sdk/03-configuring-applications.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/03-configuring-applications.mdx diff --git a/docs/docs/evaluation/evaluation-from-sdk/04-configuring-evaluators.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/04-configuring-evaluators.mdx similarity index 100% rename from docs/docs/evaluation/evaluation-from-sdk/04-configuring-evaluators.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/04-configuring-evaluators.mdx diff --git a/docs/docs/evaluation/evaluation-from-sdk/05-running-evaluations.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/05-running-evaluations.mdx similarity index 100% rename from docs/docs/evaluation/evaluation-from-sdk/05-running-evaluations.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/05-running-evaluations.mdx diff --git a/docs/docs/evaluation/evaluation-from-sdk/_category_.json b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/_category_.json similarity index 100% rename from docs/docs/evaluation/evaluation-from-sdk/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-sdk/_category_.json diff --git a/docs/docs/evaluation/evaluation-from-ui/01-quick-start.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/01-quick-start.mdx similarity index 93% rename from docs/docs/evaluation/evaluation-from-ui/01-quick-start.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/01-quick-start.mdx index 58ec7934cd..c1345ccdbc 100644 --- a/docs/docs/evaluation/evaluation-from-ui/01-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/01-quick-start.mdx @@ -44,7 +44,7 @@ Commit the prompt to the default variant. ### Create the test set Download a test set with 50 tweets based on the [Sentiment140 kaggle dataset](https://www.kaggle.com/datasets/kazanova/sentiment140). -Download the test set [here](/examples/sentiment140_first50.csv). Then upload it to Agenta (see how to [upload a test set](/evaluation/managing-test-sets/upload-csv)). +Download the test set [here](/examples/sentiment140_first50.csv). Then upload it to Agenta (see how to [upload a test set](/1.0/evaluation/managing-test-sets/upload-csv)). ## Running the evaluation @@ -63,7 +63,7 @@ Navigate to the **Evaluations** page. Click on **Start new evaluation**. :::tip -Agenta offers a variety of built-in evaluators for most use cases. You can also create custom evaluators in Python. One of the most commonly used evaluators is `LLM as a Judge`. See more about [evaluators](/evaluation/configure-evaluators/overview). +Agenta offers a variety of built-in evaluators for most use cases. You can also create custom evaluators in Python. One of the most commonly used evaluators is `LLM as a Judge`. See more about [evaluators](/1.0/evaluation/configure-evaluators/overview). ::: ## Viewing the results @@ -111,4 +111,4 @@ You might find that `gpt-4o-mini` performs differently than `gpt-4o` on this tas ## Next steps -You have run a simple evaluation for a classification task in Agenta. Next, learn more about the different evaluators and how to configure them. See more about [evaluators](/evaluation/configure-evaluators/overview). +You have run a simple evaluation for a classification task in Agenta. Next, learn more about the different evaluators and how to configure them. See more about [evaluators](/1.0/evaluation/configure-evaluators/overview). diff --git a/docs/docs/evaluation/evaluation-from-ui/02-running-evaluations.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/02-running-evaluations.mdx similarity index 81% rename from docs/docs/evaluation/evaluation-from-ui/02-running-evaluations.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/02-running-evaluations.mdx index 7b288dc7fb..f1e773f450 100644 --- a/docs/docs/evaluation/evaluation-from-ui/02-running-evaluations.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/02-running-evaluations.mdx @@ -11,7 +11,7 @@ This guide will show you how to run evaluations from the UI. ## Prerequisites -Before you get started, make sure that you have [created a test set](/evaluation/managing-test-sets/upload-csv) and [configured evaluators](/evaluation/configure-evaluators/overview) appropriate for your task. +Before you get started, make sure that you have [created a test set](/1.0/evaluation/managing-test-sets/upload-csv) and [configured evaluators](/1.0/evaluation/configure-evaluators/overview) appropriate for your task. ## Starting an evaluation @@ -57,6 +57,6 @@ Once you start an evaluation: ## Next steps -- Learn how to [view evaluation results](/evaluation/evaluation-from-ui/viewing-results) -- Understand how to [compare evaluations](/evaluation/evaluation-from-ui/comparing-runs) -- Try [human evaluation](/evaluation/human-evaluation/quick-start) for expert feedback +- Learn how to [view evaluation results](/1.0/evaluation/evaluation-from-ui/viewing-results) +- Understand how to [compare evaluations](/1.0/evaluation/evaluation-from-ui/comparing-runs) +- Try [human evaluation](/1.0/evaluation/human-evaluation/quick-start) for expert feedback diff --git a/docs/docs/evaluation/evaluation-from-ui/03-viewing-results.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/03-viewing-results.mdx similarity index 87% rename from docs/docs/evaluation/evaluation-from-ui/03-viewing-results.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/03-viewing-results.mdx index 52b3b7eb55..612d88bc3a 100644 --- a/docs/docs/evaluation/evaluation-from-ui/03-viewing-results.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/03-viewing-results.mdx @@ -73,6 +73,6 @@ Export your evaluation results for further analysis: ## Next steps -- Learn how to [compare multiple evaluations](/evaluation/evaluation-from-ui/comparing-runs) -- Try [human evaluation](/evaluation/human-evaluation/quick-start) for qualitative assessment -- Explore [evaluation concepts](/evaluation/concepts) to understand evaluation approaches +- Learn how to [compare multiple evaluations](/1.0/evaluation/evaluation-from-ui/comparing-runs) +- Try [human evaluation](/1.0/evaluation/human-evaluation/quick-start) for qualitative assessment +- Explore [evaluation concepts](/1.0/evaluation/concepts) to understand evaluation approaches diff --git a/docs/docs/evaluation/evaluation-from-ui/04-comparing-runs.mdx b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/04-comparing-runs.mdx similarity index 86% rename from docs/docs/evaluation/evaluation-from-ui/04-comparing-runs.mdx rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/04-comparing-runs.mdx index 5546045a93..43256709ba 100644 --- a/docs/docs/evaluation/evaluation-from-ui/04-comparing-runs.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/04-comparing-runs.mdx @@ -67,6 +67,6 @@ The prompt configuration comparison tab shows the prompt configuration used for ## Next steps -- Learn about [human evaluation](/evaluation/human-evaluation/quick-start) for qualitative feedback -- Explore [evaluation concepts](/evaluation/concepts) to understand evaluation approaches -- Understand [evaluator types](/evaluation/configure-evaluators/overview) to choose the right metrics +- Learn about [human evaluation](/1.0/evaluation/human-evaluation/quick-start) for qualitative feedback +- Explore [evaluation concepts](/1.0/evaluation/concepts) to understand evaluation approaches +- Understand [evaluator types](/1.0/evaluation/configure-evaluators/overview) to choose the right metrics diff --git a/docs/docs/evaluation/evaluation-from-ui/_category_.json b/docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/_category_.json similarity index 100% rename from docs/docs/evaluation/evaluation-from-ui/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/evaluation-from-ui/_category_.json diff --git a/docs/docs/evaluation/human-evaluation/01-quick-start.mdx b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/01-quick-start.mdx similarity index 85% rename from docs/docs/evaluation/human-evaluation/01-quick-start.mdx rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/01-quick-start.mdx index 6d8880694d..d8997b7edc 100644 --- a/docs/docs/evaluation/human-evaluation/01-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/01-quick-start.mdx @@ -56,7 +56,7 @@ The only difference is that humans provide the evaluation scores instead of auto ## Next steps -- Learn about [configuring evaluators](/evaluation/human-evaluation/configuring-evaluators) -- Understand [how to run evaluations](/evaluation/human-evaluation/running-evaluations) -- Explore [viewing results](/evaluation/human-evaluation/viewing-results) -- Try [A/B testing](/evaluation/human-evaluation/ab-testing) +- Learn about [configuring evaluators](/1.0/evaluation/human-evaluation/configuring-evaluators) +- Understand [how to run evaluations](/1.0/evaluation/human-evaluation/running-evaluations) +- Explore [viewing results](/1.0/evaluation/human-evaluation/viewing-results) +- Try [A/B testing](/1.0/evaluation/human-evaluation/ab-testing) diff --git a/docs/docs/evaluation/human-evaluation/02-configuring-evaluators.mdx b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/02-configuring-evaluators.mdx similarity index 89% rename from docs/docs/evaluation/human-evaluation/02-configuring-evaluators.mdx rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/02-configuring-evaluators.mdx index 209114c22b..02e7157067 100644 --- a/docs/docs/evaluation/human-evaluation/02-configuring-evaluators.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/02-configuring-evaluators.mdx @@ -66,6 +66,6 @@ After creating evaluators: ## Next steps -- Learn about [running evaluations](/evaluation/human-evaluation/running-evaluations) -- Understand [how to view results](/evaluation/human-evaluation/viewing-results) -- Try [A/B testing](/evaluation/human-evaluation/ab-testing) +- Learn about [running evaluations](/1.0/evaluation/human-evaluation/running-evaluations) +- Understand [how to view results](/1.0/evaluation/human-evaluation/viewing-results) +- Try [A/B testing](/1.0/evaluation/human-evaluation/ab-testing) diff --git a/docs/docs/evaluation/human-evaluation/03-running-evaluations.mdx b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/03-running-evaluations.mdx similarity index 92% rename from docs/docs/evaluation/human-evaluation/03-running-evaluations.mdx rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/03-running-evaluations.mdx index fcf6753083..51e3b6cd07 100644 --- a/docs/docs/evaluation/human-evaluation/03-running-evaluations.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/03-running-evaluations.mdx @@ -83,5 +83,5 @@ You can invite team members to help with evaluation by sharing the evaluation li ## Next steps -- Learn about [viewing results](/evaluation/human-evaluation/viewing-results) -- Try [A/B testing](/evaluation/human-evaluation/ab-testing) to compare variants +- Learn about [viewing results](/1.0/evaluation/human-evaluation/viewing-results) +- Try [A/B testing](/1.0/evaluation/human-evaluation/ab-testing) to compare variants diff --git a/docs/docs/evaluation/human-evaluation/04-viewing-results.mdx b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/04-viewing-results.mdx similarity index 86% rename from docs/docs/evaluation/human-evaluation/04-viewing-results.mdx rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/04-viewing-results.mdx index e80c933b6f..2c3e8d1e0b 100644 --- a/docs/docs/evaluation/human-evaluation/04-viewing-results.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/04-viewing-results.mdx @@ -56,6 +56,6 @@ Click **Save test set** to create a new test set from annotated data. This is us ## Next steps -- Learn about [A/B testing](/evaluation/human-evaluation/ab-testing) -- Explore [automated evaluation](/evaluation/evaluation-from-ui/quick-start) -- Understand [configure evaluators](/evaluation/configure-evaluators/overview) +- Learn about [A/B testing](/1.0/evaluation/human-evaluation/ab-testing) +- Explore [automated evaluation](/1.0/evaluation/evaluation-from-ui/quick-start) +- Understand [configure evaluators](/1.0/evaluation/configure-evaluators/overview) diff --git a/docs/docs/evaluation/human-evaluation/05-ab-testing.mdx b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/05-ab-testing.mdx similarity index 88% rename from docs/docs/evaluation/human-evaluation/05-ab-testing.mdx rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/05-ab-testing.mdx index c2da594532..00bf2d860c 100644 --- a/docs/docs/evaluation/human-evaluation/05-ab-testing.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/05-ab-testing.mdx @@ -64,6 +64,6 @@ A/B testing is ideal for: ## Next steps -- Learn about [exporting results](/evaluation/human-evaluation/viewing-results) -- Explore [automated evaluation](/evaluation/evaluation-from-ui/comparing-runs) for larger-scale comparisons -- Understand [evaluation concepts](/evaluation/concepts) +- Learn about [exporting results](/1.0/evaluation/human-evaluation/viewing-results) +- Explore [automated evaluation](/1.0/evaluation/evaluation-from-ui/comparing-runs) for larger-scale comparisons +- Understand [evaluation concepts](/1.0/evaluation/concepts) diff --git a/docs/docs/evaluation/human-evaluation/_category_.json b/docs/versioned_docs/version-1.0/evaluation/human-evaluation/_category_.json similarity index 100% rename from docs/docs/evaluation/human-evaluation/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/human-evaluation/_category_.json diff --git a/docs/docs/evaluation/managing-test-sets/01-upload-csv.mdx b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/01-upload-csv.mdx similarity index 87% rename from docs/docs/evaluation/managing-test-sets/01-upload-csv.mdx rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/01-upload-csv.mdx index 13591eddb7..9632b9a1a0 100644 --- a/docs/docs/evaluation/managing-test-sets/01-upload-csv.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/01-upload-csv.mdx @@ -82,6 +82,6 @@ test,"[{""role"":""user"",""content"":""hi""}]","{""content"":""Hello! How can I ## Next steps -- [Create test sets programmatically](/evaluation/managing-test-sets/create-programatically) using the SDK or API -- [Create test sets from traces](/evaluation/managing-test-sets/create-from-traces) to capture real production data -- [Create test sets from playground](/evaluation/managing-test-sets/create-from-playground) during experimentation +- [Create test sets programmatically](/1.0/evaluation/managing-test-sets/create-programatically) using the SDK or API +- [Create test sets from traces](/1.0/evaluation/managing-test-sets/create-from-traces) to capture real production data +- [Create test sets from playground](/1.0/evaluation/managing-test-sets/create-from-playground) during experimentation diff --git a/docs/docs/evaluation/managing-test-sets/02-create-programatically.mdx b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/02-create-programatically.mdx similarity index 84% rename from docs/docs/evaluation/managing-test-sets/02-create-programatically.mdx rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/02-create-programatically.mdx index 6e4965b5e8..cf1587f9dd 100644 --- a/docs/docs/evaluation/managing-test-sets/02-create-programatically.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/02-create-programatically.mdx @@ -6,7 +6,7 @@ sidebar_position: 2 --- :::tip -For a complete guide on managing test sets with the SDK (including listing, retrieving, and updating), see [Managing Testsets](/evaluation/evaluation-from-sdk/managing-testsets). +For a complete guide on managing test sets with the SDK (including listing, retrieving, and updating), see [Managing Testsets](/1.0/evaluation/evaluation-from-sdk/managing-testsets). ::: ## Overview @@ -93,6 +93,6 @@ asyncio.run(main()) ## Next steps -- [Create test sets from UI](/evaluation/managing-test-sets/create-from-ui) for manual creation -- [Create test sets from traces](/evaluation/managing-test-sets/create-from-traces) to capture production data -- [Create test sets from playground](/evaluation/managing-test-sets/create-from-playground) during experimentation +- [Create test sets from UI](/1.0/evaluation/managing-test-sets/create-from-ui) for manual creation +- [Create test sets from traces](/1.0/evaluation/managing-test-sets/create-from-traces) to capture production data +- [Create test sets from playground](/1.0/evaluation/managing-test-sets/create-from-playground) during experimentation diff --git a/docs/docs/evaluation/managing-test-sets/03-create-from-ui.mdx b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/03-create-from-ui.mdx similarity index 72% rename from docs/docs/evaluation/managing-test-sets/03-create-from-ui.mdx rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/03-create-from-ui.mdx index d6146d5a67..201b642593 100644 --- a/docs/docs/evaluation/managing-test-sets/03-create-from-ui.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/03-create-from-ui.mdx @@ -42,7 +42,7 @@ Remember to click `Save test set` before navigating away, or your changes will b ## Next steps -- [Upload test sets as CSV](/evaluation/managing-test-sets/upload-csv) for bulk imports -- [Create test sets programmatically](/evaluation/managing-test-sets/create-programatically) using API/SDK -- [Create test sets from traces](/evaluation/managing-test-sets/create-from-traces) to capture production data -- Learn about [running evaluations](/evaluation/evaluation-from-ui/running-evaluations) with your test sets +- [Upload test sets as CSV](/1.0/evaluation/managing-test-sets/upload-csv) for bulk imports +- [Create test sets programmatically](/1.0/evaluation/managing-test-sets/create-programatically) using API/SDK +- [Create test sets from traces](/1.0/evaluation/managing-test-sets/create-from-traces) to capture production data +- Learn about [running evaluations](/1.0/evaluation/evaluation-from-ui/running-evaluations) with your test sets diff --git a/docs/docs/evaluation/managing-test-sets/04-create-from-traces.mdx b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/04-create-from-traces.mdx similarity index 85% rename from docs/docs/evaluation/managing-test-sets/04-create-from-traces.mdx rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/04-create-from-traces.mdx index 32f4ba8da5..573a00d8ab 100644 --- a/docs/docs/evaluation/managing-test-sets/04-create-from-traces.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/04-create-from-traces.mdx @@ -51,6 +51,6 @@ Creating test sets from traces is particularly useful for: ## Next steps -- [Create test sets from playground](/evaluation/managing-test-sets/create-from-playground) during experimentation -- [Upload test sets as CSVs](/evaluation/managing-test-sets/upload-csv) for bulk imports -- Learn about [running evaluations](/evaluation/evaluation-from-ui/running-evaluations) with your test sets +- [Create test sets from playground](/1.0/evaluation/managing-test-sets/create-from-playground) during experimentation +- [Upload test sets as CSVs](/1.0/evaluation/managing-test-sets/upload-csv) for bulk imports +- Learn about [running evaluations](/1.0/evaluation/evaluation-from-ui/running-evaluations) with your test sets diff --git a/docs/docs/evaluation/managing-test-sets/05-create-from-playground.mdx b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/05-create-from-playground.mdx similarity index 77% rename from docs/docs/evaluation/managing-test-sets/05-create-from-playground.mdx rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/05-create-from-playground.mdx index a9c8d5d603..77b9021bae 100644 --- a/docs/docs/evaluation/managing-test-sets/05-create-from-playground.mdx +++ b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/05-create-from-playground.mdx @@ -29,6 +29,6 @@ To add a data point to a test set from the playground: ## Next steps -- [Upload test sets as CSVs](/evaluation/managing-test-sets/upload-csv) for bulk imports -- [Create test sets from traces](/evaluation/managing-test-sets/create-from-traces) to capture production data -- Learn about [running evaluations](/evaluation/evaluation-from-ui/running-evaluations) with your test sets +- [Upload test sets as CSVs](/1.0/evaluation/managing-test-sets/upload-csv) for bulk imports +- [Create test sets from traces](/1.0/evaluation/managing-test-sets/create-from-traces) to capture production data +- Learn about [running evaluations](/1.0/evaluation/evaluation-from-ui/running-evaluations) with your test sets diff --git a/docs/docs/evaluation/managing-test-sets/_category_.json b/docs/versioned_docs/version-1.0/evaluation/managing-test-sets/_category_.json similarity index 100% rename from docs/docs/evaluation/managing-test-sets/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/managing-test-sets/_category_.json diff --git a/docs/docs/evaluation/online-evaluation/01-quick-start.mdx b/docs/versioned_docs/version-1.0/evaluation/online-evaluation/01-quick-start.mdx similarity index 100% rename from docs/docs/evaluation/online-evaluation/01-quick-start.mdx rename to docs/versioned_docs/version-1.0/evaluation/online-evaluation/01-quick-start.mdx diff --git a/docs/docs/evaluation/online-evaluation/_category_.json b/docs/versioned_docs/version-1.0/evaluation/online-evaluation/_category_.json similarity index 100% rename from docs/docs/evaluation/online-evaluation/_category_.json rename to docs/versioned_docs/version-1.0/evaluation/online-evaluation/_category_.json diff --git a/docs/versioned_docs/version-1.0/getting-started/01-introduction.mdx b/docs/versioned_docs/version-1.0/getting-started/01-introduction.mdx new file mode 100644 index 0000000000..62714bed6b --- /dev/null +++ b/docs/versioned_docs/version-1.0/getting-started/01-introduction.mdx @@ -0,0 +1,72 @@ +--- +slug: / +title: What is Agenta? +description: "Agenta is the open-source workspace for your agents. Build agents through chat, improve them with feedback, and share them with your whole team." +id: introduction +sidebar_position: 0 +--- + + +Agenta is the **open-source workspace for your agents**. You build agents through chat, improve them with feedback, and share them with your whole team. It helps **AI engineers** and **subject matter experts** work on the same agents together. + +Underneath, Agenta gives you everything you need to make those agents reliable: **prompt management**, **evaluation**, and **observability**. + +Learn how a typical workflow in Agenta looks like in this 5 minute walkthrough: + + + + + + +## Features + +### Prompt Engineering and Management + +Teams often struggle with prompt collaboration. They keep prompts in code where subject matter experts cannot edit them. Or they use spreadsheets in an unreliable process. + +Agenta organizes prompts for your team. Subject matter experts can collaborate with developers without touching the codebase. Developers can version prompts and deploy them to production. + +The playground lets teams experiment with prompts. You can load traces and test sets. You can test prompts side by side. + + +### Evaluation + +Most teams lack a systematic evaluation process. They make random prompt changes based on vibes. Some changes improve quality but break other cases because LLMs are stochastic. + +Agenta provides one place to evaluate systematically. Teams can run three types of evaluation: + +- Automatic evaluation with LLMs at scale before production +- Human annotation where subject matter experts review results and provide feedback to AI engineers +- Online evaluation for applications already in production + +Both subject matter experts and engineers can run evaluations from the UI. + +### Observability + +Agenta helps you understand what happens in production. You can capture user feedback through an API (thumbs up or implicit signals). You can debug agents and applications with tracing to see what happens inside them. + +Track costs over time. Find edge cases where things fail. Add those cases to your test sets. Have subject matter experts annotate the results. + + +## Why Agenta? + +### Enable collaboration between developers and product teams + +Agenta empowers **non-developers** to iterate on the configuration of any custom LLM application, evaluate it, annotate it, A/B test it, and deploy it, all within the user interface. + +### Open-source and MIT licensed + +Agenta is open-source and MIT licensed, so you can self-host it, modify it, and use it in commercial projects without restrictions. + +### Works with any LLM app workflow + +Agenta enables prompt engineering and evaluation on any LLM app architecture, such as **Chain of Prompts**, **RAG**, or **LLM agents**. It is compatible with any framework like **Langchain** or **LlamaIndex**, and works with any model provider, such as **OpenAI**, **Cohere**, or **local models**. diff --git a/docs/docs/getting-started/02-quick-start.mdx b/docs/versioned_docs/version-1.0/getting-started/02-quick-start.mdx similarity index 92% rename from docs/docs/getting-started/02-quick-start.mdx rename to docs/versioned_docs/version-1.0/getting-started/02-quick-start.mdx index 81ac33ac70..6c23fd16df 100644 --- a/docs/docs/getting-started/02-quick-start.mdx +++ b/docs/versioned_docs/version-1.0/getting-started/02-quick-start.mdx @@ -159,7 +159,7 @@ Evaluation helps you measure how well your prompt performs against your test cas /> :::info -Agenta comes with a [set of built-in evaluators](/evaluation/concepts) that you can use to evaluate your prompt. You can also create your own custom evaluator [using code](/evaluation/configure-evaluators/custom-evaluator) or [webhooks](/evaluation/configure-evaluators/webhook-evaluator). +Agenta comes with a [set of built-in evaluators](/1.0/evaluation/concepts) that you can use to evaluate your prompt. You can also create your own custom evaluator [using code](/1.0/evaluation/configure-evaluators/custom-evaluator) or [webhooks](/1.0/evaluation/configure-evaluators/webhook-evaluator). ::: ### Analyzing the Results @@ -199,7 +199,7 @@ Agenta provides two main ways to integrate with your application: - **Use Agenta for Prompt Management**: Fetch the prompt configuration and use it in your own code - **Use Agenta as a Proxy**: Use Agenta as a middleware that forwards requests to the LLM -In this guide, we'll use the first approach. The second approach is covered in the [Integration Guide](/prompt-engineering/integrating-prompts/integrating-with-agenta). Its advantages are simpler integration and getting observability out of the box. The disadvantages are that it does not support streaming responses and adds a slight latency to the response (approximately 0.3 seconds). +In this guide, we'll use the first approach. The second approach is covered in the [Integration Guide](/1.0/prompt-engineering/integrating-prompts/integrating-with-agenta). Its advantages are simpler integration and getting observability out of the box. The disadvantages are that it does not support streaming responses and adds a slight latency to the response (approximately 0.3 seconds). ::: We are going to fetch the prompt configuration and use it in our own code: @@ -366,7 +366,7 @@ fetchConfigs(); ## Step 7: Integrating with Your Application: Adding Observability -Agenta is built on top of **OpenTelemetry** and is compatible with a number of semantic conventions in the ecosystem ([OpenLLMetry](https://github.com/traceloop/openllmetry), [OpenInference](https://github.com/Arize-ai/openinference), [Logfire](https://logfire.ai/)). It comes therefore with built-in auto-instrumentation support for all major LLM frameworks and SDKs such as [OpenAI](/integrations/llm-providers/openai/observability), [LiteLLM](/integrations/llm-providers/litellm/observability), [LangChain](/integrations/frameworks/langchain/observability). +Agenta is built on top of **OpenTelemetry** and is compatible with a number of semantic conventions in the ecosystem ([OpenLLMetry](https://github.com/traceloop/openllmetry), [OpenInference](https://github.com/Arize-ai/openinference), [Logfire](https://logfire.ai/)). It comes therefore with built-in auto-instrumentation support for all major LLM frameworks and SDKs such as [OpenAI](/1.0/integrations/llm-providers/openai/observability), [LiteLLM](/1.0/integrations/llm-providers/litellm/observability), [LangChain](/1.0/integrations/frameworks/langchain/observability). To add instrumentation to our application, let's use the auto-instrumentation support for OpenAI. We are going to use the OpenLLMetry library to auto-instrument the OpenAI client. @@ -422,6 +422,6 @@ Congratulations! You've successfully created, tested, deployed, and set up obser Here are some next steps to explore: -- [Set up your evaluation workflow](/evaluation/concepts) -- [Set up observability](/observability/overview) and explore the different integrations -- [Set up custom workflows](/custom-workflows/overview) to enable product teams to run evaluations on complex applications from the UI +- [Set up your evaluation workflow](/1.0/evaluation/concepts) +- [Set up observability](/1.0/observability/overview) and explore the different integrations +- [Set up custom workflows](/1.0/custom-workflows/overview) to enable product teams to run evaluations on complex applications from the UI diff --git a/docs/docs/integrations/frameworks/agno/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/agno/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/agno/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/agno/_category_.json diff --git a/docs/docs/integrations/frameworks/agno/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/agno/observability.mdx similarity index 99% rename from docs/docs/integrations/frameworks/agno/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/agno/observability.mdx index 1155174210..dfbc474b53 100644 --- a/docs/docs/integrations/frameworks/agno/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/agno/observability.mdx @@ -248,4 +248,4 @@ The trace provides comprehensive visibility into your application's execution, h ## Next Steps -For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file +For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file diff --git a/docs/docs/integrations/frameworks/agno/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/agno/overview.mdx similarity index 89% rename from docs/docs/integrations/frameworks/agno/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/agno/overview.mdx index 64e2434393..e0caaf8ea3 100644 --- a/docs/docs/integrations/frameworks/agno/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/agno/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your Agno agents for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/dspy/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/dspy/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/dspy/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/dspy/_category_.json diff --git a/docs/docs/integrations/frameworks/dspy/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/dspy/observability.mdx similarity index 99% rename from docs/docs/integrations/frameworks/dspy/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/dspy/observability.mdx index 4759bca3cf..dbb8d3e7f1 100644 --- a/docs/docs/integrations/frameworks/dspy/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/dspy/observability.mdx @@ -276,4 +276,4 @@ def multi_step_reasoning(question: str): ## Next Steps -For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file +For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file diff --git a/docs/docs/integrations/frameworks/dspy/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/dspy/overview.mdx similarity index 88% rename from docs/docs/integrations/frameworks/dspy/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/dspy/overview.mdx index 160984991f..d3ac850bce 100644 --- a/docs/docs/integrations/frameworks/dspy/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/dspy/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your DSPy applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/google-adk/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/google-adk/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/_category_.json diff --git a/docs/docs/integrations/frameworks/google-adk/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/observability.mdx similarity index 98% rename from docs/docs/integrations/frameworks/google-adk/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/observability.mdx index d261c53972..625062d81e 100644 --- a/docs/docs/integrations/frameworks/google-adk/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/observability.mdx @@ -216,4 +216,4 @@ The trace provides comprehensive visibility into your application's execution, h ## Next Steps -For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/observability/trace-with-python-sdk/setup-tracing). +For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). diff --git a/docs/docs/integrations/frameworks/google-adk/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/overview.mdx similarity index 89% rename from docs/docs/integrations/frameworks/google-adk/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/overview.mdx index 2678e86e8f..8e38994f8e 100644 --- a/docs/docs/integrations/frameworks/google-adk/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/google-adk/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your Google ADK agents for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/langchain/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/langchain/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/langchain/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/langchain/_category_.json diff --git a/docs/docs/integrations/frameworks/langchain/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/langchain/observability.mdx similarity index 100% rename from docs/docs/integrations/frameworks/langchain/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/langchain/observability.mdx diff --git a/docs/docs/integrations/frameworks/langchain/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/langchain/overview.mdx similarity index 88% rename from docs/docs/integrations/frameworks/langchain/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/langchain/overview.mdx index 323a90fdc2..7f5925a81d 100644 --- a/docs/docs/integrations/frameworks/langchain/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/langchain/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your LangChain applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/langgraph/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/langgraph/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/_category_.json diff --git a/docs/docs/integrations/frameworks/langgraph/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/observability.mdx similarity index 99% rename from docs/docs/integrations/frameworks/langgraph/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/observability.mdx index 08930e2c12..129b2ae169 100644 --- a/docs/docs/integrations/frameworks/langgraph/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/observability.mdx @@ -407,4 +407,4 @@ def content_moderator(user_content: str): ## Next Steps -For more advanced observability features and configuration options, see our [complete observability documentation](/observability/trace-with-python-sdk/setup-tracing). +For more advanced observability features and configuration options, see our [complete observability documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). diff --git a/docs/docs/integrations/frameworks/langgraph/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/overview.mdx similarity index 89% rename from docs/docs/integrations/frameworks/langgraph/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/overview.mdx index b8b64467c3..8629234eab 100644 --- a/docs/docs/integrations/frameworks/langgraph/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/langgraph/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your LangGraph applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/llamaindex/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/llamaindex/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/_category_.json diff --git a/docs/docs/integrations/frameworks/llamaindex/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/observability.mdx similarity index 98% rename from docs/docs/integrations/frameworks/llamaindex/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/observability.mdx index 58694efb28..bbbe1bfa34 100644 --- a/docs/docs/integrations/frameworks/llamaindex/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/observability.mdx @@ -238,4 +238,4 @@ def rag_pipeline(query: str): ## Next Steps -For more advanced observability features and configuration options, see our [complete observability documentation](/observability/trace-with-python-sdk/setup-tracing). +For more advanced observability features and configuration options, see our [complete observability documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). diff --git a/docs/docs/integrations/frameworks/llamaindex/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/overview.mdx similarity index 88% rename from docs/docs/integrations/frameworks/llamaindex/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/overview.mdx index 715aa67595..e3c2e03f3c 100644 --- a/docs/docs/integrations/frameworks/llamaindex/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/llamaindex/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your LlamaIndex applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/openai-agents/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/openai-agents/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/_category_.json diff --git a/docs/docs/integrations/frameworks/openai-agents/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/observability.mdx similarity index 97% rename from docs/docs/integrations/frameworks/openai-agents/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/observability.mdx index 57ab9f59a6..53830dd6fa 100644 --- a/docs/docs/integrations/frameworks/openai-agents/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/observability.mdx @@ -175,7 +175,7 @@ The trace provides visibility into your application's execution, helping you: - Analyze orchestration effectiveness and workflow optimization, and identify bottlenecks :::info -After setting up observability for your OpenAI Agents SDK application, you can use Agenta's [evaluation](/evaluation/concepts) features to evaluate the performance of your agents. +After setting up observability for your OpenAI Agents SDK application, you can use Agenta's [evaluation](/1.0/evaluation/concepts) features to evaluate the performance of your agents. ::: ## Real-world Example @@ -276,4 +276,4 @@ async def content_creation_system(content_brief: str): ## Next Steps -For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file +For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). \ No newline at end of file diff --git a/docs/docs/integrations/frameworks/openai-agents/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/overview.mdx similarity index 89% rename from docs/docs/integrations/frameworks/openai-agents/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/overview.mdx index 19e1069eb1..0700425a95 100644 --- a/docs/docs/integrations/frameworks/openai-agents/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/openai-agents/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your OpenAI Agents applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/pydanticai/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/pydanticai/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/_category_.json diff --git a/docs/docs/integrations/frameworks/pydanticai/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/observability.mdx similarity index 99% rename from docs/docs/integrations/frameworks/pydanticai/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/observability.mdx index 6ef6a481e3..2d623e2d7d 100644 --- a/docs/docs/integrations/frameworks/pydanticai/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/observability.mdx @@ -249,4 +249,4 @@ The trace provides comprehensive visibility into your application's execution, h ## Next Steps -For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/observability/trace-with-python-sdk/setup-tracing). +For more detailed information about Agenta's observability features and advanced configuration options, visit the [Agenta Observability SDK Documentation](/1.0/observability/trace-with-python-sdk/setup-tracing). diff --git a/docs/docs/integrations/frameworks/pydanticai/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/overview.mdx similarity index 88% rename from docs/docs/integrations/frameworks/pydanticai/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/overview.mdx index fbd9833c23..c5eec9d53d 100644 --- a/docs/docs/integrations/frameworks/pydanticai/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/pydanticai/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument your PydanticAI applications for full observability in Agenta diff --git a/docs/docs/integrations/frameworks/vercel-ai-sdk/_category_.json b/docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/_category_.json similarity index 100% rename from docs/docs/integrations/frameworks/vercel-ai-sdk/_category_.json rename to docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/_category_.json diff --git a/docs/docs/integrations/frameworks/vercel-ai-sdk/observability.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/observability.mdx similarity index 97% rename from docs/docs/integrations/frameworks/vercel-ai-sdk/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/observability.mdx index 4eb8199ab7..12106a85ad 100644 --- a/docs/docs/integrations/frameworks/vercel-ai-sdk/observability.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/observability.mdx @@ -247,5 +247,5 @@ All providers emit the same `ai.*` span attributes, so Agenta displays them iden ## Next Steps - Explore the full [Vercel AI SDK documentation](https://sdk.vercel.ai/docs) -- Learn about [Agenta's observability features](/observability/overview) -- Set up [evaluation](/evaluation/concepts) to test your AI application's quality +- Learn about [Agenta's observability features](/1.0/observability/overview) +- Set up [evaluation](/1.0/evaluation/concepts) to test your AI application's quality diff --git a/docs/docs/integrations/frameworks/vercel-ai-sdk/overview.mdx b/docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/overview.mdx similarity index 89% rename from docs/docs/integrations/frameworks/vercel-ai-sdk/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/overview.mdx index 1d623f22c8..9ef69244c5 100644 --- a/docs/docs/integrations/frameworks/vercel-ai-sdk/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/frameworks/vercel-ai-sdk/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Send traces from your Vercel AI SDK applications to Agenta for full observability diff --git a/docs/docs/integrations/libraries/instructor/_category_.json b/docs/versioned_docs/version-1.0/integrations/libraries/instructor/_category_.json similarity index 100% rename from docs/docs/integrations/libraries/instructor/_category_.json rename to docs/versioned_docs/version-1.0/integrations/libraries/instructor/_category_.json diff --git a/docs/docs/integrations/libraries/instructor/observability.mdx b/docs/versioned_docs/version-1.0/integrations/libraries/instructor/observability.mdx similarity index 100% rename from docs/docs/integrations/libraries/instructor/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/libraries/instructor/observability.mdx diff --git a/docs/docs/integrations/libraries/instructor/overview.mdx b/docs/versioned_docs/version-1.0/integrations/libraries/instructor/overview.mdx similarity index 88% rename from docs/docs/integrations/libraries/instructor/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/libraries/instructor/overview.mdx index 0517e10e55..75e8e941d4 100644 --- a/docs/docs/integrations/libraries/instructor/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/libraries/instructor/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument Instructor for full observability in Agenta diff --git a/docs/docs/integrations/llm-providers/litellm/_category_.json b/docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/_category_.json similarity index 100% rename from docs/docs/integrations/llm-providers/litellm/_category_.json rename to docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/_category_.json diff --git a/docs/docs/integrations/llm-providers/litellm/observability.mdx b/docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/observability.mdx similarity index 100% rename from docs/docs/integrations/llm-providers/litellm/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/observability.mdx diff --git a/docs/docs/integrations/llm-providers/litellm/overview.mdx b/docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/overview.mdx similarity index 87% rename from docs/docs/integrations/llm-providers/litellm/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/overview.mdx index 53c84d5fbd..a4601992d1 100644 --- a/docs/docs/integrations/llm-providers/litellm/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/llm-providers/litellm/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Instrument LiteLLM calls for full observability in Agenta diff --git a/docs/docs/integrations/llm-providers/openai/_category_.json b/docs/versioned_docs/version-1.0/integrations/llm-providers/openai/_category_.json similarity index 100% rename from docs/docs/integrations/llm-providers/openai/_category_.json rename to docs/versioned_docs/version-1.0/integrations/llm-providers/openai/_category_.json diff --git a/docs/docs/integrations/llm-providers/openai/observability.mdx b/docs/versioned_docs/version-1.0/integrations/llm-providers/openai/observability.mdx similarity index 100% rename from docs/docs/integrations/llm-providers/openai/observability.mdx rename to docs/versioned_docs/version-1.0/integrations/llm-providers/openai/observability.mdx diff --git a/docs/docs/integrations/llm-providers/openai/overview.mdx b/docs/versioned_docs/version-1.0/integrations/llm-providers/openai/overview.mdx similarity index 87% rename from docs/docs/integrations/llm-providers/openai/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/llm-providers/openai/overview.mdx index 44778fb23c..fd0834c1e0 100644 --- a/docs/docs/integrations/llm-providers/openai/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/llm-providers/openai/overview.mdx @@ -14,7 +14,7 @@ import Link from '@docusaurus/Link'; ## Available guides
- + Tracing Automatically instrument OpenAI API calls for full observability in Agenta diff --git a/docs/docs/integrations/overview.mdx b/docs/versioned_docs/version-1.0/integrations/overview.mdx similarity index 75% rename from docs/docs/integrations/overview.mdx rename to docs/versioned_docs/version-1.0/integrations/overview.mdx index 10242cd129..c0a8316aba 100644 --- a/docs/docs/integrations/overview.mdx +++ b/docs/versioned_docs/version-1.0/integrations/overview.mdx @@ -17,39 +17,39 @@ Agenta integrates with popular AI/LLM frameworks, providers, and libraries. Use Instrument your agentic and orchestration frameworks for full observability.
- + Agno Instrument your Agno agents for full observability in Agenta - + DSPy Instrument your DSPy applications for full observability in Agenta - + Google ADK Instrument your Google ADK agents for full observability in Agenta - + LangChain Instrument your LangChain applications for full observability in Agenta - + LangGraph Instrument your LangGraph applications for full observability in Agenta - + LlamaIndex Instrument your LlamaIndex applications for full observability in Agenta - + OpenAI Agents SDK Instrument your OpenAI Agents applications for full observability in Agenta - + PydanticAI Instrument your PydanticAI applications for full observability in Agenta - + Vercel AI SDK Send traces from your Vercel AI SDK (TypeScript) applications to Agenta @@ -60,11 +60,11 @@ Instrument your agentic and orchestration frameworks for full observability. Trace and monitor calls to LLM providers.
- + LiteLLM Instrument LiteLLM calls for full observability in Agenta - + OpenAI Automatically instrument OpenAI API calls for full observability in Agenta @@ -75,7 +75,7 @@ Trace and monitor calls to LLM providers. Integrate with specialized AI/ML libraries.
- + Instructor Instrument Instructor for full observability in Agenta diff --git a/docs/docs/observability/01-overview.mdx b/docs/versioned_docs/version-1.0/observability/01-overview.mdx similarity index 87% rename from docs/docs/observability/01-overview.mdx rename to docs/versioned_docs/version-1.0/observability/01-overview.mdx index a1d9e22f8c..9a11ad7f46 100644 --- a/docs/docs/observability/01-overview.mdx +++ b/docs/versioned_docs/version-1.0/observability/01-overview.mdx @@ -42,7 +42,7 @@ Agenta's observability features are built on **OpenTelemetry (OTel)**, an open-s -This section is under construction. For now, please refer to the [Quick Start guide](/prompt-engineering/quick-start) which covers creating and committing prompts from the UI. +This section is under construction. For now, please refer to the [Quick Start guide](/1.0/prompt-engineering/quick-start) which covers creating and committing prompts from the UI. diff --git a/docs/docs/prompt-engineering/_managing-prompts-ui/01-creating-prompts.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/01-creating-prompts.mdx similarity index 100% rename from docs/docs/prompt-engineering/_managing-prompts-ui/01-creating-prompts.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/01-creating-prompts.mdx diff --git a/docs/docs/prompt-engineering/_managing-prompts-ui/02-deploy.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/02-deploy.mdx similarity index 85% rename from docs/docs/prompt-engineering/_managing-prompts-ui/02-deploy.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/02-deploy.mdx index eda7f3df09..58b5bcad9f 100644 --- a/docs/docs/prompt-engineering/_managing-prompts-ui/02-deploy.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/02-deploy.mdx @@ -17,4 +17,4 @@ draft: true - Screenshots and step-by-step instructions --> -This section is under construction. For now, please refer to the [Quick Start guide](/prompt-engineering/quick-start) which covers deploying variants from the UI. +This section is under construction. For now, please refer to the [Quick Start guide](/1.0/prompt-engineering/quick-start) which covers deploying variants from the UI. diff --git a/docs/docs/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx similarity index 81% rename from docs/docs/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx index 7bb5c5763b..0001227465 100644 --- a/docs/docs/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/03-versions-rollback.mdx @@ -16,4 +16,4 @@ draft: true - Screenshots and step-by-step instructions --> -This section is under construction. For now, please refer to the [Quick Start guide](/prompt-engineering/quick-start) and the [Concepts page](/prompt-engineering/concepts) for information on versioning. +This section is under construction. For now, please refer to the [Quick Start guide](/1.0/prompt-engineering/quick-start) and the [Concepts page](/1.0/prompt-engineering/concepts) for information on versioning. diff --git a/docs/docs/prompt-engineering/_managing-prompts-ui/_category_.json b/docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/_category_.json similarity index 100% rename from docs/docs/prompt-engineering/_managing-prompts-ui/_category_.json rename to docs/versioned_docs/version-1.0/prompt-engineering/_managing-prompts-ui/_category_.json diff --git a/docs/docs/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx similarity index 80% rename from docs/docs/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx index 8a5291e6ff..9aa499649d 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/01-integrating-with-agenta.mdx @@ -9,7 +9,7 @@ Agenta integrates with your workflow. You can use the latest version of your dep Here are two ways to use prompts from Agenta in your code: -### [1. As a prompt management system](/prompt-engineering/integrating-prompts/fetch-prompt-programatically) +### [1. As a prompt management system](/1.0/prompt-engineering/integrating-prompts/fetch-prompt-programatically) Prompts are managed and stored in the Agenta backend. You use the Agenta SDK to fetch the latest deployed version of your prompt. Then you use it in your application. @@ -20,7 +20,7 @@ Prompts are managed and stored in the Agenta backend. You use the Agenta SDK to **Considerations**: -- You need to set up [observability integration](/observability/quickstart-python) yourself. This is required if you want to trace your calls for debugging and cost tracking. +- You need to set up [observability integration](/1.0/observability/quickstart-python) yourself. This is required if you want to trace your calls for debugging and cost tracking. :::tip -Check the [reference](/reference/sdk/configuration-management#prompt-configuration-schema) section for more details on the data format used for prompts. +Check the [reference](/1.0/reference/sdk/configuration-management#prompt-configuration-schema) section for more details on the data format used for prompts. ::: ### Default Behavior when fetching diff --git a/docs/docs/prompt-engineering/integrating-prompts/03-proxy-calls.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/03-proxy-calls.mdx similarity index 100% rename from docs/docs/prompt-engineering/integrating-prompts/03-proxy-calls.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/03-proxy-calls.mdx diff --git a/docs/docs/prompt-engineering/integrating-prompts/04-webhooks.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/04-webhooks.mdx similarity index 99% rename from docs/docs/prompt-engineering/integrating-prompts/04-webhooks.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/04-webhooks.mdx index 0b7f7443ee..5084dd808f 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/04-webhooks.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/04-webhooks.mdx @@ -22,7 +22,7 @@ Common use cases: - sync prompt metadata into another store :::info -If you want your application to fetch the latest prompt on demand, use [Fetch Prompts via SDK/API](/prompt-engineering/integrating-prompts/fetch-prompt-programatically). +If you want your application to fetch the latest prompt on demand, use [Fetch Prompts via SDK/API](/1.0/prompt-engineering/integrating-prompts/fetch-prompt-programatically). ::: ## Set up a webhook in the UI diff --git a/docs/docs/prompt-engineering/integrating-prompts/05-github.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/05-github.mdx similarity index 99% rename from docs/docs/prompt-engineering/integrating-prompts/05-github.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/05-github.mdx index 6e39435825..1760706a93 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/05-github.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/05-github.mdx @@ -294,4 +294,4 @@ Check that your workflow listens for `repository_dispatch` and that the event ty ### The workflow needs the latest prompt content -Use the fetch endpoint described in [Fetch Prompts via SDK/API](/prompt-engineering/integrating-prompts/fetch-prompt-programatically). +Use the fetch endpoint described in [Fetch Prompts via SDK/API](/1.0/prompt-engineering/integrating-prompts/fetch-prompt-programatically). diff --git a/docs/docs/prompt-engineering/integrating-prompts/06-multimodal-content.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/06-multimodal-content.mdx similarity index 99% rename from docs/docs/prompt-engineering/integrating-prompts/06-multimodal-content.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/06-multimodal-content.mdx index d3b8cb5c84..ced934cbaa 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/06-multimodal-content.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/06-multimodal-content.mdx @@ -10,7 +10,7 @@ import TabItem from "@theme/TabItem"; This page explains how to integrate multimodal content (images and PDFs) into applications you build with Agenta. Whether you use Agenta as an LLM gateway or as a prompt management system, you can send images and documents alongside text in your chat applications. This is useful for processing invoices, analyzing screenshots, extracting data from reports, or any workflow that combines text with visual content. -To learn how to test multimodal content interactively before integrating, see [Images and PDFs in the Playground](/prompt-engineering/playground/multimodal-content). +To learn how to test multimodal content interactively before integrating, see [Images and PDFs in the Playground](/1.0/prompt-engineering/playground/multimodal-content). :::info Multimodal content is supported only for **chat** applications. Completion-mode applications do not accept attachments. diff --git a/docs/docs/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx similarity index 97% rename from docs/docs/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx index 33fd4eff06..db6e50ab1b 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/07-fallback-models-and-retry.mdx @@ -7,7 +7,7 @@ description: "Understand how fallback models and retry settings work when you in Fallback models and retry settings are part of a prompt configuration. They let a prompt retry failed calls and, when allowed, move to a backup model. -To configure them in the UI, see [Fallback Models and Retry in the Playground](/prompt-engineering/playground/fallback-models-and-retry). +To configure them in the UI, see [Fallback Models and Retry in the Playground](/1.0/prompt-engineering/playground/fallback-models-and-retry). ## When you invoke through Agenta diff --git a/docs/docs/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx similarity index 96% rename from docs/docs/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx index d56c75d714..b18f5d12f6 100644 --- a/docs/docs/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/08-chat-template-kwargs.mdx @@ -7,7 +7,7 @@ description: "Understand how chat_template_kwargs behaves when you invoke or fet `chat_template_kwargs` is part of a prompt's `llm_config`. It contains provider-specific chat template options that Agenta passes through unchanged. -To configure it in the UI, see [Chat Template Kwargs in the Playground](/prompt-engineering/playground/chat-template-kwargs). +To configure it in the UI, see [Chat Template Kwargs in the Playground](/1.0/prompt-engineering/playground/chat-template-kwargs). ## When you invoke through Agenta diff --git a/docs/docs/prompt-engineering/integrating-prompts/_category_.json b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/_category_.json similarity index 100% rename from docs/docs/prompt-engineering/integrating-prompts/_category_.json rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/_category_.json diff --git a/docs/docs/prompt-engineering/integrating-prompts/_mustache-templates.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/_mustache-templates.mdx similarity index 100% rename from docs/docs/prompt-engineering/integrating-prompts/_mustache-templates.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/integrating-prompts/_mustache-templates.mdx diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/01-setup.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/01-setup.mdx similarity index 95% rename from docs/docs/prompt-engineering/managing-prompts-programatically/01-setup.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/01-setup.mdx index c8e9108dd8..44a4258d3f 100644 --- a/docs/docs/prompt-engineering/managing-prompts-programatically/01-setup.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/01-setup.mdx @@ -16,7 +16,7 @@ This guide shows you how to set up the Agenta SDK for managing prompts programma ## Prerequisites -Before starting, familiarize yourself with how versioning works in Agenta. Details are available on the [concepts page](/concepts/concepts). +Before starting, familiarize yourself with how versioning works in Agenta. Details are available on the [concepts page](/1.0/concepts/concepts). :::info Versioning in Agenta diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx similarity index 93% rename from docs/docs/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx index b3864e0212..f4eb7b0600 100644 --- a/docs/docs/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/02-creating-prompts.mdx @@ -80,7 +80,7 @@ curl -X POST "https://cloud.agenta.ai/api/simple/applications/" \ ``` :::note -The REST endpoint creates the application artifact. Selecting a prompt template (`SERVICE:completion`, `SERVICE:chat`, `CUSTOM`) is performed through the `flags` object and, for custom workflows, by committing an initial revision. For the full multi-step flow, see [Create and Commit](/prompt-engineering/managing-prompts-programatically/create-and-commit). The Python SDK's `ag.AppManager.create(template_key=...)` handles this in one call. +The REST endpoint creates the application artifact. Selecting a prompt template (`SERVICE:completion`, `SERVICE:chat`, `CUSTOM`) is performed through the `flags` object and, for custom workflows, by committing an initial revision. For the full multi-step flow, see [Create and Commit](/1.0/prompt-engineering/managing-prompts-programatically/create-and-commit). The Python SDK's `ag.AppManager.create(template_key=...)` handles this in one call. ::: diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx similarity index 99% rename from docs/docs/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx index 57953d3fde..db66cbcd13 100644 --- a/docs/docs/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/03-create-and-commit.mdx @@ -519,7 +519,7 @@ The `template_format` field determines how Agenta replaces variable placeholders ``` :::tip -Check the [reference](/reference/sdk/configuration-management#prompt-configuration-schema) section for more details on the data format used for prompts. +Check the [reference](/1.0/reference/sdk/configuration-management#prompt-configuration-schema) section for more details on the data format used for prompts. ::: ### Default Behavior when fetching diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/04-deploy.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/04-deploy.mdx similarity index 100% rename from docs/docs/prompt-engineering/managing-prompts-programatically/04-deploy.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/04-deploy.mdx diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/05-fetch-prompts.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/05-fetch-prompts.mdx similarity index 100% rename from docs/docs/prompt-engineering/managing-prompts-programatically/05-fetch-prompts.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/05-fetch-prompts.mdx diff --git a/docs/docs/prompt-engineering/managing-prompts-programatically/_category_.json b/docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/_category_.json similarity index 100% rename from docs/docs/prompt-engineering/managing-prompts-programatically/_category_.json rename to docs/versioned_docs/version-1.0/prompt-engineering/managing-prompts-programatically/_category_.json diff --git a/docs/docs/prompt-engineering/playground/01-using-playground.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/01-using-playground.mdx similarity index 99% rename from docs/docs/prompt-engineering/playground/01-using-playground.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/01-using-playground.mdx index 729d1332e2..cc8f6c596f 100644 --- a/docs/docs/prompt-engineering/playground/01-using-playground.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/playground/01-using-playground.mdx @@ -111,7 +111,7 @@ This parallel testing helps you understand how different prompts and models hand ### Version Control and Deployment -The playground integrates with Agenta's [prompt management system](/prompt-engineering/concepts) to track and deploy changes: +The playground integrates with Agenta's [prompt management system](/1.0/prompt-engineering/concepts) to track and deploy changes: 1. Click "Commit" to save a new version of your variant 2. Changes remain in development until explicitly deployed diff --git a/docs/docs/prompt-engineering/playground/02-custom-providers.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/02-custom-providers.mdx similarity index 100% rename from docs/docs/prompt-engineering/playground/02-custom-providers.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/02-custom-providers.mdx diff --git a/docs/docs/prompt-engineering/playground/03-tools-function-calling.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/03-tools-function-calling.mdx similarity index 100% rename from docs/docs/prompt-engineering/playground/03-tools-function-calling.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/03-tools-function-calling.mdx diff --git a/docs/docs/prompt-engineering/playground/04-multimodal-content.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/04-multimodal-content.mdx similarity index 96% rename from docs/docs/prompt-engineering/playground/04-multimodal-content.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/04-multimodal-content.mdx index 95dcfd8c6c..924d09bad3 100644 --- a/docs/docs/prompt-engineering/playground/04-multimodal-content.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/playground/04-multimodal-content.mdx @@ -73,4 +73,4 @@ Because multimodal content is part of the messages, you can use it in evaluation ## Next steps -To use multimodal content in your production application, see [Integrating Multimodal Content](/prompt-engineering/integrating-prompts/multimodal-content) for instructions on sending images and PDFs through the API. +To use multimodal content in your production application, see [Integrating Multimodal Content](/1.0/prompt-engineering/integrating-prompts/multimodal-content) for instructions on sending images and PDFs through the API. diff --git a/docs/docs/prompt-engineering/playground/05-fallback-models-and-retry.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/05-fallback-models-and-retry.mdx similarity index 100% rename from docs/docs/prompt-engineering/playground/05-fallback-models-and-retry.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/05-fallback-models-and-retry.mdx diff --git a/docs/docs/prompt-engineering/playground/06-chat-template-kwargs.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/06-chat-template-kwargs.mdx similarity index 100% rename from docs/docs/prompt-engineering/playground/06-chat-template-kwargs.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/06-chat-template-kwargs.mdx diff --git a/docs/docs/prompt-engineering/playground/_04-structured-output.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/_04-structured-output.mdx similarity index 89% rename from docs/docs/prompt-engineering/playground/_04-structured-output.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/_04-structured-output.mdx index 59a64ee1e1..b27a3420fe 100644 --- a/docs/docs/prompt-engineering/playground/_04-structured-output.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/playground/_04-structured-output.mdx @@ -15,4 +15,4 @@ description: "Learn how to use structured output and JSON schema in the Agenta p - Screenshots and step-by-step instructions --> -This section is under construction. For basic information on dynamic JSON schema variables, see the [Using the Playground guide](/prompt-engineering/playground/using-playground#dynamic-json-schema-variables). +This section is under construction. For basic information on dynamic JSON schema variables, see the [Using the Playground guide](/1.0/prompt-engineering/playground/using-playground#dynamic-json-schema-variables). diff --git a/docs/docs/prompt-engineering/playground/_05-test-sets.mdx b/docs/versioned_docs/version-1.0/prompt-engineering/playground/_05-test-sets.mdx similarity index 79% rename from docs/docs/prompt-engineering/playground/_05-test-sets.mdx rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/_05-test-sets.mdx index c772b6aa8a..3ace95a412 100644 --- a/docs/docs/prompt-engineering/playground/_05-test-sets.mdx +++ b/docs/versioned_docs/version-1.0/prompt-engineering/playground/_05-test-sets.mdx @@ -15,4 +15,4 @@ description: "Learn how to load and save test sets in the Agenta playground." - Screenshots and step-by-step instructions --> -This section is under construction. For basic information on test sets, see the [Working with Test Sets section](/prompt-engineering/playground/using-playground#working-with-test-sets) in the playground guide. +This section is under construction. For basic information on test sets, see the [Working with Test Sets section](/1.0/prompt-engineering/playground/using-playground#working-with-test-sets) in the playground guide. diff --git a/docs/docs/prompt-engineering/playground/_category_.json b/docs/versioned_docs/version-1.0/prompt-engineering/playground/_category_.json similarity index 100% rename from docs/docs/prompt-engineering/playground/_category_.json rename to docs/versioned_docs/version-1.0/prompt-engineering/playground/_category_.json diff --git a/docs/docs/reference/sdk/01-configuration-management.mdx b/docs/versioned_docs/version-1.0/reference/sdk/01-configuration-management.mdx similarity index 99% rename from docs/docs/reference/sdk/01-configuration-management.mdx rename to docs/versioned_docs/version-1.0/reference/sdk/01-configuration-management.mdx index baff01e890..ec4294cd31 100644 --- a/docs/docs/reference/sdk/01-configuration-management.mdx +++ b/docs/versioned_docs/version-1.0/reference/sdk/01-configuration-management.mdx @@ -353,7 +353,7 @@ All configuration data must be nested under the `prompt` key. ``` :::note -You can use the `PromptTemplate` class in the SDK to create and validate a prompt configuration. See [how to commit a variant](/prompt-engineering/managing-prompts-programatically/create-and-commit#create-a-new-variant). +You can use the `PromptTemplate` class in the SDK to create and validate a prompt configuration. See [how to commit a variant](/1.0/prompt-engineering/managing-prompts-programatically/create-and-commit#create-a-new-variant). ::: ## Available Environments diff --git a/docs/docs/reference/sdk/02-observability.mdx b/docs/versioned_docs/version-1.0/reference/sdk/02-observability.mdx similarity index 100% rename from docs/docs/reference/sdk/02-observability.mdx rename to docs/versioned_docs/version-1.0/reference/sdk/02-observability.mdx diff --git a/docs/docs/reference/sdk/03-custom-workflow.mdx b/docs/versioned_docs/version-1.0/reference/sdk/03-custom-workflow.mdx similarity index 100% rename from docs/docs/reference/sdk/03-custom-workflow.mdx rename to docs/versioned_docs/version-1.0/reference/sdk/03-custom-workflow.mdx diff --git a/docs/docs/tutorials/cookbooks/01-capture-user-feedback.mdx b/docs/versioned_docs/version-1.0/tutorials/cookbooks/01-capture-user-feedback.mdx similarity index 100% rename from docs/docs/tutorials/cookbooks/01-capture-user-feedback.mdx rename to docs/versioned_docs/version-1.0/tutorials/cookbooks/01-capture-user-feedback.mdx diff --git a/docs/docs/tutorials/cookbooks/02-observability_langchain.mdx b/docs/versioned_docs/version-1.0/tutorials/cookbooks/02-observability_langchain.mdx similarity index 100% rename from docs/docs/tutorials/cookbooks/02-observability_langchain.mdx rename to docs/versioned_docs/version-1.0/tutorials/cookbooks/02-observability_langchain.mdx diff --git a/docs/docs/tutorials/cookbooks/_AI-powered-code-reviews.mdx b/docs/versioned_docs/version-1.0/tutorials/cookbooks/_AI-powered-code-reviews.mdx similarity index 100% rename from docs/docs/tutorials/cookbooks/_AI-powered-code-reviews.mdx rename to docs/versioned_docs/version-1.0/tutorials/cookbooks/_AI-powered-code-reviews.mdx diff --git a/docs/docs/tutorials/cookbooks/_RAG-QA-docs.mdx b/docs/versioned_docs/version-1.0/tutorials/cookbooks/_RAG-QA-docs.mdx similarity index 97% rename from docs/docs/tutorials/cookbooks/_RAG-QA-docs.mdx rename to docs/versioned_docs/version-1.0/tutorials/cookbooks/_RAG-QA-docs.mdx index 01daa4ccda..f08c5378e8 100644 --- a/docs/docs/tutorials/cookbooks/_RAG-QA-docs.mdx +++ b/docs/versioned_docs/version-1.0/tutorials/cookbooks/_RAG-QA-docs.mdx @@ -18,7 +18,7 @@ At the end, we will have: - A **playground** for testing different embeddings, adjusting top_k values (number of context chunks to include), and experimenting with various prompts and models - **LLM-as-a-judge** and **RAG context relevancy** evaluations for our Q&A application - **Observability** with Agenta to debug and monitor our application -- A **deployment** that we can either [directly invoke](/prompt-engineering/integrating-prompts/proxy-calls) **or** [fetch the configuration](/reference/sdk/configuration-management#get_from_registry) to run elsewhere +- A **deployment** that we can either [directly invoke](/1.0/prompt-engineering/integrating-prompts/proxy-calls) **or** [fetch the configuration](/1.0/reference/sdk/configuration-management#get_from_registry) to run elsewhere You can try our playground by creating a free account at [https://cloud.agenta.ai](https://cloud.agenta.ai) and opening the demo. @@ -536,7 +536,7 @@ To ensure our assistant provides accurate and relevant answers, we'll use evalua 1. RAG Relevancy Evaluator: Measures how relevant the assistant's answers are with respect to the retrieved context. 2. LLM-as-a-Judge Evaluator: Rates the quality of the assistant's responses. -For the first, we use the RAG Relevancy evaluator as described in [Agenta's evaluation documentation](/evaluation/configure-evaluators/rag-evaluators). +For the first, we use the RAG Relevancy evaluator as described in [Agenta's evaluation documentation](/1.0/evaluation/configure-evaluators/rag-evaluators). **Configuration:** @@ -555,7 +555,7 @@ You can use the evaluator playground to configure the evaluator and identify the loading="lazy" /> -We set and test an LLM-as-a-Judge evaluator to rate the quality of the assistant's responses the same way. More details on setting up LLM-as-a-Judge evaluators can be found [here](/evaluation/configure-evaluators/llm-as-a-judge). +We set and test an LLM-as-a-Judge evaluator to rate the quality of the assistant's responses the same way. More details on setting up LLM-as-a-Judge evaluators can be found [here](/1.0/evaluation/configure-evaluators/llm-as-a-judge). ## Deploying the assistant @@ -563,7 +563,7 @@ After iterating through various prompts and parameters and evaluating their perf Simply click the `Deploy` button in the playground to accomplish this. -Agenta provides us with [two endpoints](/prompt-engineering/integrating-prompts/integrating-with-agenta) to interact with our deployed application: +Agenta provides us with [two endpoints](/1.0/prompt-engineering/integrating-prompts/integrating-with-agenta) to interact with our deployed application: - The first allows us to directly invoke the deployed application with the production configuration. - The second allows us to fetch the deployed configuration as a JSON and use it in our self-deployed application. diff --git a/docs/docs/tutorials/rag-to-production/01-overview.mdx b/docs/versioned_docs/version-1.0/tutorials/rag-to-production/01-overview.mdx similarity index 100% rename from docs/docs/tutorials/rag-to-production/01-overview.mdx rename to docs/versioned_docs/version-1.0/tutorials/rag-to-production/01-overview.mdx diff --git a/docs/docs/tutorials/rag-to-production/02-tracing-and-prompt-management.mdx b/docs/versioned_docs/version-1.0/tutorials/rag-to-production/02-tracing-and-prompt-management.mdx similarity index 100% rename from docs/docs/tutorials/rag-to-production/02-tracing-and-prompt-management.mdx rename to docs/versioned_docs/version-1.0/tutorials/rag-to-production/02-tracing-and-prompt-management.mdx diff --git a/docs/docs/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx b/docs/versioned_docs/version-1.0/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx similarity index 99% rename from docs/docs/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx rename to docs/versioned_docs/version-1.0/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx index 8688cbca71..fc17882c04 100644 --- a/docs/docs/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx +++ b/docs/versioned_docs/version-1.0/tutorials/rag-to-production/05-end-to-end-evaluation-sdk.mdx @@ -199,7 +199,7 @@ result = await aevaluate( ) ``` -You can find the test set ID in the Agenta UI under the test sets page. Start with manually curated queries, then expand with production data as your system sees real traffic. See the [managing test sets documentation](/evaluation/managing-test-sets/upload-csv) for more on creating test sets. +You can find the test set ID in the Agenta UI under the test sets page. Start with manually curated queries, then expand with production data as your system sees real traffic. See the [managing test sets documentation](/1.0/evaluation/managing-test-sets/upload-csv) for more on creating test sets. ::: ## Step 3: Write evaluators diff --git a/docs/docs/tutorials/rag-to-production/_category_.json b/docs/versioned_docs/version-1.0/tutorials/rag-to-production/_category_.json similarity index 100% rename from docs/docs/tutorials/rag-to-production/_category_.json rename to docs/versioned_docs/version-1.0/tutorials/rag-to-production/_category_.json diff --git a/docs/docs/tutorials/sdk/_evaluate-with-SDK.mdx b/docs/versioned_docs/version-1.0/tutorials/sdk/_evaluate-with-SDK.mdx similarity index 100% rename from docs/docs/tutorials/sdk/_evaluate-with-SDK.mdx rename to docs/versioned_docs/version-1.0/tutorials/sdk/_evaluate-with-SDK.mdx diff --git a/docs/docs/tutorials/sdk/manage-prompts-with-SDK.mdx b/docs/versioned_docs/version-1.0/tutorials/sdk/manage-prompts-with-SDK.mdx similarity index 99% rename from docs/docs/tutorials/sdk/manage-prompts-with-SDK.mdx rename to docs/versioned_docs/version-1.0/tutorials/sdk/manage-prompts-with-SDK.mdx index b9316454b4..221a936491 100644 --- a/docs/docs/tutorials/sdk/manage-prompts-with-SDK.mdx +++ b/docs/versioned_docs/version-1.0/tutorials/sdk/manage-prompts-with-SDK.mdx @@ -17,8 +17,8 @@ In this tutorial, we'll use the Agenta SDK to create a new prompt, commit change Before we begin, let's quickly review how Agenta versions prompts: -Agenta follows a structure similar to **git** for prompt versioning. Instead of having one commit history, it uses **multiple branches (called variants)** where changes can be committed, and **environments** where these changes can be deployed (and used in your application). (You can read more about why we chose this approach [here](/concepts/concepts#motivation)). -You can find more about how prompt versioning works in the [concepts page](/prompt-engineering/concepts). +Agenta follows a structure similar to **git** for prompt versioning. Instead of having one commit history, it uses **multiple branches (called variants)** where changes can be committed, and **environments** where these changes can be deployed (and used in your application). (You can read more about why we chose this approach [here](/1.0/concepts/concepts#motivation)). +You can find more about how prompt versioning works in the [concepts page](/1.0/prompt-engineering/concepts). The workflow for deploying a change to production that we'll follow in this tutorial is: diff --git a/docs/docs/tutorials/videos/creating-test-sets-from-production-data.md b/docs/versioned_docs/version-1.0/tutorials/videos/creating-test-sets-from-production-data.md similarity index 89% rename from docs/docs/tutorials/videos/creating-test-sets-from-production-data.md rename to docs/versioned_docs/version-1.0/tutorials/videos/creating-test-sets-from-production-data.md index 3289570b7c..3935129cff 100644 --- a/docs/docs/tutorials/videos/creating-test-sets-from-production-data.md +++ b/docs/versioned_docs/version-1.0/tutorials/videos/creating-test-sets-from-production-data.md @@ -82,7 +82,7 @@ Once you have a test set, you can use it in several ways: - Compare your application's output against ground truth answers - Measure performance across different variants -For more information on evaluations, see our [Evaluation documentation](/evaluation/concepts). +For more information on evaluations, see our [Evaluation documentation](/1.0/evaluation/concepts). ## Test Set Best Practices @@ -102,8 +102,8 @@ For more information on evaluations, see our [Evaluation documentation](/evaluat Even with just inputs (no ground truth), you can evaluate your application using: -1. **[Human evaluation](/evaluation/human-evaluation/quick-start)**: Have people review the outputs for quality -2. **[LLM as a judge](/evaluation/configure-evaluators/llm-as-a-judge)**: Use a prompt that assesses outputs based on criteria like relevance or accuracy +1. **[Human evaluation](/1.0/evaluation/human-evaluation/quick-start)**: Have people review the outputs for quality +2. **[LLM as a judge](/1.0/evaluation/configure-evaluators/llm-as-a-judge)**: Use a prompt that assesses outputs based on criteria like relevance or accuracy Adding ground truth expands your evaluation options, allowing you to: - Compare outputs against expected answers @@ -112,6 +112,6 @@ Adding ground truth expands your evaluation options, allowing you to: ## Related Resources -- [Creating Test Sets](/evaluation/managing-test-sets/upload-csv) -- [Configuring Evaluators](/evaluation/configure-evaluators/overview) -- [Running Evaluations](/evaluation/evaluation-from-ui/running-evaluations) +- [Creating Test Sets](/1.0/evaluation/managing-test-sets/upload-csv) +- [Configuring Evaluators](/1.0/evaluation/configure-evaluators/overview) +- [Running Evaluations](/1.0/evaluation/evaluation-from-ui/running-evaluations) diff --git a/docs/docs/tutorials/videos/llm-observability.md b/docs/versioned_docs/version-1.0/tutorials/videos/llm-observability.md similarity index 91% rename from docs/docs/tutorials/videos/llm-observability.md rename to docs/versioned_docs/version-1.0/tutorials/videos/llm-observability.md index 14feb6af7c..ec8855ea42 100644 --- a/docs/docs/tutorials/videos/llm-observability.md +++ b/docs/versioned_docs/version-1.0/tutorials/videos/llm-observability.md @@ -49,6 +49,6 @@ What you'll learn: ## Related Resources -- [Observability Quick Start](/observability/quickstart-python) -- [OpenTelemetry Tracing](/observability/concepts) -- [Creating Test Sets from Traces](/tutorials/videos/creating-test-sets-from-production-data) +- [Observability Quick Start](/1.0/observability/quickstart-python) +- [OpenTelemetry Tracing](/1.0/observability/concepts) +- [Creating Test Sets from Traces](/1.0/tutorials/videos/creating-test-sets-from-production-data) diff --git a/docs/versioned_sidebars/version-1.0-sidebars.json b/docs/versioned_sidebars/version-1.0-sidebars.json new file mode 100644 index 0000000000..9a6419bda1 --- /dev/null +++ b/docs/versioned_sidebars/version-1.0-sidebars.json @@ -0,0 +1,249 @@ +{ + "docsSidebar": [ + { + "label": "Getting Started", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "getting-started" + } + ] + }, + { + "label": "Prompt Engineering", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "prompt-engineering" + }, + { + "type": "category", + "collapsed": true, + "collapsible": true, + "label": "Tutorials", + "items": [ + "tutorials/sdk/manage-prompts-with-SDK", + "tutorials/rag-to-production/tracing-and-prompt-management" + ] + } + ] + }, + { + "label": "Evaluation", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "evaluation" + }, + { + "type": "category", + "collapsed": true, + "collapsible": true, + "label": "Tutorials", + "items": [ + "tutorials/cookbooks/capture-user-feedback" + ] + } + ] + }, + { + "label": "Observability", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "observability" + }, + { + "type": "category", + "collapsed": true, + "collapsible": true, + "label": "Integrations", + "items": [ + "integrations/frameworks/langchain/observability", + "integrations/frameworks/llamaindex/observability", + "integrations/frameworks/langgraph/observability", + "integrations/frameworks/openai-agents/observability", + "integrations/frameworks/pydanticai/observability", + "integrations/frameworks/dspy/observability", + "integrations/frameworks/agno/observability", + "integrations/frameworks/google-adk/observability", + "integrations/llm-providers/openai/observability", + "integrations/llm-providers/litellm/observability", + "integrations/libraries/instructor/observability" + ] + }, + { + "type": "category", + "collapsed": true, + "collapsible": true, + "label": "Tutorials", + "items": [ + "tutorials/cookbooks/capture-user-feedback", + "tutorials/cookbooks/observability_langchain", + "tutorials/rag-to-production/tracing-and-prompt-management" + ] + } + ] + }, + { + "label": "Custom Workflows", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "custom-workflows" + } + ] + }, + { + "label": "Concepts", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "concepts" + } + ] + }, + { + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "label": "Python SDK", + "items": [ + { + "type": "autogenerated", + "dirName": "reference/sdk" + } + ] + } + ], + "guidesSidebar": [ + { + "label": "RAG to Production", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "tutorials/rag-to-production" + } + ] + }, + { + "label": "Cookbooks", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "tutorials/cookbooks" + } + ] + }, + { + "label": "Video Tutorials", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "tutorials/videos" + } + ] + }, + { + "label": "SDK", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "tutorials/sdk" + } + ] + } + ], + "integrationsSidebar": [ + { + "label": "Integrations", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + "integrations/overview" + ] + }, + { + "label": "Frameworks", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "integrations/frameworks" + } + ] + }, + { + "label": "LLM Providers", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "integrations/llm-providers" + } + ] + }, + { + "label": "Libraries", + "type": "category", + "collapsed": false, + "collapsible": false, + "className": "sidebar-section-title", + "items": [ + { + "type": "autogenerated", + "dirName": "integrations/libraries" + } + ] + } + ] +} \ No newline at end of file diff --git a/docs/versions.json b/docs/versions.json new file mode 100644 index 0000000000..9a369ed18f --- /dev/null +++ b/docs/versions.json @@ -0,0 +1,3 @@ +[ + "1.0" +]