SpyBara
Go Premium

Reference 2026-11-16 23:00 UTC to 2026-11-17 22:57 UTC

42 files changed +1,509 −122. View all changes and history on the product overview
2026
Wed 25 23:57 Tue 24 23:00 Sat 21 23:57 Fri 20 23:59 Thu 19 22:59 Wed 18 22:59 Tue 17 22:57 Mon 16 23:00 Fri 13 23:58 Thu 12 22:57 Wed 11 23:57 Tue 10 23:02 Mon 9 23:02 Sat 7 22:59 Fri 6 23:00 Thu 5 23:00 Wed 4 22:58 Tue 3 22:58
Details

6 6 

7### All Models7### All Models

8 8 

9- `AllModels = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`9- `AllModels = string or "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

10 10 

11 - `string`11 - `string`

12 12 

13 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`13 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

14 14 

15 - `"gpt-6-astra"`15 - `"gpt-6-astra"`

16 16 

17 - `"gpt-6.2-astra"`

18 

17 - `"gpt-6.1-sol"`19 - `"gpt-6.1-sol"`

18 20 

21 - `"gpt-6.2-sol"`

22 

19 - `"gpt-6.1-terra"`23 - `"gpt-6.1-terra"`

20 24 

21 - `"gpt-6-sol"`25 - `"gpt-6-sol"`


192 196 

193 - `"gpt-3.5-turbo-16k-0613"`197 - `"gpt-3.5-turbo-16k-0613"`

194 198 

195 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`199 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

196 200 

197 - `"o1-pro"`201 - `"o1-pro"`

198 202 


238 242 

239 - `"gpt-6-rosalind"`243 - `"gpt-6-rosalind"`

240 244 

245 - `"gpt-6.2-astra-law"`

246 

241### Comparison Filter247### Comparison Filter

242 248 

243- `ComparisonFilter object { key, type, value }`249- `ComparisonFilter object { key, type, value }`


831 837 

832### Responses Model838### Responses Model

833 839 

834- `ResponsesModel = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`840- `ResponsesModel = string or "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

835 841 

836 - `string`842 - `string`

837 843 

838 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`844 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

839 845 

840 - `"gpt-6-astra"`846 - `"gpt-6-astra"`

841 847 

848 - `"gpt-6.2-astra"`

849 

842 - `"gpt-6.1-sol"`850 - `"gpt-6.1-sol"`

843 851 

852 - `"gpt-6.2-sol"`

853 

844 - `"gpt-6.1-terra"`854 - `"gpt-6.1-terra"`

845 855 

846 - `"gpt-6-sol"`856 - `"gpt-6-sol"`


1017 1027 

1018 - `"gpt-3.5-turbo-16k-0613"`1028 - `"gpt-3.5-turbo-16k-0613"`

1019 1029 

1020 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`1030 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

1021 1031 

1022 - `"o1-pro"`1032 - `"o1-pro"`

1023 1033 


1062 - `"gpt-rosalind-research"`1072 - `"gpt-rosalind-research"`

1063 1073 

1064 - `"gpt-6-rosalind"`1074 - `"gpt-6-rosalind"`

1075 

1076 - `"gpt-6.2-astra-law"`

Details

1501 1501 

1502 - `"environment_connection"`1502 - `"environment_connection"`

1503 1503 

1504 - `status: "idle" or "in_progress" or "requires_action" or "failed"`1504 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

1505 1505 

1506 The current status of the session.1506 The current status of the session.

1507 1507 


1521 1521 

1522 The session failed.1522 The session failed.

1523 1523 

1524 - `"budget_reached"`

1525 

1526 The session is paused because its spending limit was reached.

1527 

1524 - `usage: TokenUsage or null`1528 - `usage: TokenUsage or null`

1525 1529 

1526 Best-effort token usage for the session, or null if unknown. Recorded usage may change.1530 Best-effort token usage for the session, or null if unknown. Recorded usage may change.


1748 1752 

1749 A customer-safe error. Non-null only for a failed turn.1753 A customer-safe error. Non-null only for a failed turn.

1750 1754 

1751 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`1755 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

1752 1756 

1753 A stable, machine-readable failure category.1757 A stable, machine-readable failure category.

1754 1758 


1768 1772 

1769 The organization has reached a usage, plan, or billing limit.1773 The organization has reached a usage, plan, or billing limit.

1770 1774 

1775 - `"api_key_spend_limit_exceeded"`

1776 

1777 The API key has reached its enforced spend limit.

1778 

1771 - `"project_spend_limit_exceeded"`1779 - `"project_spend_limit_exceeded"`

1772 1780 

1773 The project has reached its enforced spend limit.1781 The project has reached its enforced spend limit.


2071 2079 

2072 A customer-safe error. Non-null only for a failed turn.2080 A customer-safe error. Non-null only for a failed turn.

2073 2081 

2074 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`2082 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

2075 2083 

2076 A stable, machine-readable failure category.2084 A stable, machine-readable failure category.

2077 2085 


2091 2099 

2092 The organization has reached a usage, plan, or billing limit.2100 The organization has reached a usage, plan, or billing limit.

2093 2101 

2102 - `"api_key_spend_limit_exceeded"`

2103 

2104 The API key has reached its enforced spend limit.

2105 

2094 - `"project_spend_limit_exceeded"`2106 - `"project_spend_limit_exceeded"`

2095 2107 

2096 The project has reached its enforced spend limit.2108 The project has reached its enforced spend limit.


2394 2406 

2395 A customer-safe error. Non-null only for a failed turn.2407 A customer-safe error. Non-null only for a failed turn.

2396 2408 

2397 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`2409 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

2398 2410 

2399 A stable, machine-readable failure category.2411 A stable, machine-readable failure category.

2400 2412 


2414 2426 

2415 The organization has reached a usage, plan, or billing limit.2427 The organization has reached a usage, plan, or billing limit.

2416 2428 

2429 - `"api_key_spend_limit_exceeded"`

2430 

2431 The API key has reached its enforced spend limit.

2432 

2417 - `"project_spend_limit_exceeded"`2433 - `"project_spend_limit_exceeded"`

2418 2434 

2419 The project has reached its enforced spend limit.2435 The project has reached its enforced spend limit.


2732 2748 

2733 A customer-safe error. Non-null only for a failed turn.2749 A customer-safe error. Non-null only for a failed turn.

2734 2750 

2735 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`2751 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

2736 2752 

2737 A stable, machine-readable failure category.2753 A stable, machine-readable failure category.

2738 2754 


2752 2768 

2753 The organization has reached a usage, plan, or billing limit.2769 The organization has reached a usage, plan, or billing limit.

2754 2770 

2771 - `"api_key_spend_limit_exceeded"`

2772 

2773 The API key has reached its enforced spend limit.

2774 

2755 - `"project_spend_limit_exceeded"`2775 - `"project_spend_limit_exceeded"`

2756 2776 

2757 The project has reached its enforced spend limit.2777 The project has reached its enforced spend limit.


3070 3090 

3071 A customer-safe error. Non-null only for a failed turn.3091 A customer-safe error. Non-null only for a failed turn.

3072 3092 

3073 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`3093 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

3074 3094 

3075 A stable, machine-readable failure category.3095 A stable, machine-readable failure category.

3076 3096 


3090 3110 

3091 The organization has reached a usage, plan, or billing limit.3111 The organization has reached a usage, plan, or billing limit.

3092 3112 

3113 - `"api_key_spend_limit_exceeded"`

3114 

3115 The API key has reached its enforced spend limit.

3116 

3093 - `"project_spend_limit_exceeded"`3117 - `"project_spend_limit_exceeded"`

3094 3118 

3095 The project has reached its enforced spend limit.3119 The project has reached its enforced spend limit.


5433 5457 

5434 - `"environment_connection"`5458 - `"environment_connection"`

5435 5459 

5436 - `status: "idle" or "in_progress" or "requires_action" or "failed"`5460 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

5437 5461 

5438 The current status of the session.5462 The current status of the session.

5439 5463 


5453 5477 

5454 The session failed.5478 The session failed.

5455 5479 

5480 - `"budget_reached"`

5481 

5482 The session is paused because its spending limit was reached.

5483 

5456 - `usage: TokenUsage or null`5484 - `usage: TokenUsage or null`

5457 5485 

5458 Best-effort token usage for the session, or null if unknown. Recorded usage may change.5486 Best-effort token usage for the session, or null if unknown. Recorded usage may change.


5626}5654}

5627```5655```

5628 5656 

5629<a id="agent.session.in_progress"></a>5657<a id="agent.session.budget_reached"></a>

5630 5658 

5631## agent.session.in_progress5659## agent.session.budget_reached

5632 5660 

5633Emitted when a session starts processing a turn.5661Emitted when a session pauses because its spending limit was reached.

5634 5662 

5635### Schema5663### Schema

5636 5664 

5637Schema name: `SessionEventAgentSessionInProgress`5665Schema name: `SessionEventAgentSessionBudgetReached`

5638 5666 

5639- `event_id: string`5667- `event_id: string`

5640 5668 


5644 5672 

5645- `session: AgentSession`5673- `session: AgentSession`

5646 5674 

5647 The session that started processing.5675 The paused session.

5648 5676 

5649 - `id: string`5677 - `id: string`

5650 5678 


6590 6618 

6591 - `"environment_connection"`6619 - `"environment_connection"`

6592 6620 

6593 - `status: "idle" or "in_progress" or "requires_action" or "failed"`6621 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

6594 6622 

6595 The current status of the session.6623 The current status of the session.

6596 6624 


6610 6638 

6611 The session failed.6639 The session failed.

6612 6640 

6641 - `"budget_reached"`

6642 

6643 The session is paused because its spending limit was reached.

6644 

6613 - `usage: TokenUsage or null`6645 - `usage: TokenUsage or null`

6614 6646 

6615 Best-effort token usage for the session, or null if unknown. Recorded usage may change.6647 Best-effort token usage for the session, or null if unknown. Recorded usage may change.


6676 6708 

6677 - `"auto_review"`6709 - `"auto_review"`

6678 6710 

6679- `type: "agent.session.in_progress" (default: "agent.session.in_progress")`6711- `type: "agent.session.budget_reached" (default: "agent.session.budget_reached")`

6680 6712 

6681 The type of the object. Always `agent.session.in_progress`.6713 The type of the object. Always `agent.session.budget_reached`.

6682 6714 

6683 - `"agent.session.in_progress"`6715 - `"agent.session.budget_reached"`

6684 6716 

6685- `obfuscation: optional string`6717- `obfuscation: optional string`

6686 6718 


6692 6724 

6693```json6725```json

6694{6726{

6695 "type": "agent.session.in_progress",6727 "type": "agent.session.budget_reached",

6696 "event_id": "event_id",6728 "event_id": "event_id",

6697 "session": {6729 "session": {

6698 "prompt_cache_options": {6730 "prompt_cache_options": {


6783}6815}

6784```6816```

6785 6817 

6786<a id="agent.session.requires_action"></a>6818<a id="agent.session.in_progress"></a>

6787 6819 

6788## agent.session.requires_action6820## agent.session.in_progress

6789 6821 

6790Emitted when a session is waiting for one or more required actions.6822Emitted when a session starts processing a turn.

6791 6823 

6792### Schema6824### Schema

6793 6825 

6794Schema name: `SessionEventAgentSessionRequiresAction`6826Schema name: `SessionEventAgentSessionInProgress`

6795 6827 

6796- `event_id: string`6828- `event_id: string`

6797 6829 


6801 6833 

6802- `session: AgentSession`6834- `session: AgentSession`

6803 6835 

6804 The session and its current required actions.6836 The session that started processing.

6805 6837 

6806 - `id: string`6838 - `id: string`

6807 6839 


7747 7779 

7748 - `"environment_connection"`7780 - `"environment_connection"`

7749 7781 

7750 - `status: "idle" or "in_progress" or "requires_action" or "failed"`7782 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

7751 7783 

7752 The current status of the session.7784 The current status of the session.

7753 7785 


7767 7799 

7768 The session failed.7800 The session failed.

7769 7801 

7802 - `"budget_reached"`

7803 

7804 The session is paused because its spending limit was reached.

7805 

7770 - `usage: TokenUsage or null`7806 - `usage: TokenUsage or null`

7771 7807 

7772 Best-effort token usage for the session, or null if unknown. Recorded usage may change.7808 Best-effort token usage for the session, or null if unknown. Recorded usage may change.


7833 7869 

7834 - `"auto_review"`7870 - `"auto_review"`

7835 7871 

7836- `type: "agent.session.requires_action" (default: "agent.session.requires_action")`7872- `type: "agent.session.in_progress" (default: "agent.session.in_progress")`

7837 7873 

7838 The type of the object. Always `agent.session.requires_action`.7874 The type of the object. Always `agent.session.in_progress`.

7839 7875 

7840 - `"agent.session.requires_action"`7876 - `"agent.session.in_progress"`

7841 7877 

7842- `obfuscation: optional string`7878- `obfuscation: optional string`

7843 7879 


7849 7885 

7850```json7886```json

7851{7887{

7852 "type": "agent.session.requires_action",7888 "type": "agent.session.in_progress",

7853 "event_id": "event_id",7889 "event_id": "event_id",

7854 "session": {7890 "session": {

7855 "prompt_cache_options": {7891 "prompt_cache_options": {


7940}7976}

7941```7977```

7942 7978 

7943<a id="agent.session.failed"></a>7979<a id="agent.session.requires_action"></a>

7944 7980 

7945## agent.session.failed7981## agent.session.requires_action

7946 7982 

7947Emitted when a session fails.7983Emitted when a session is waiting for one or more required actions.

7948 7984 

7949### Schema7985### Schema

7950 7986 

7951Schema name: `SessionEventAgentSessionFailed`7987Schema name: `SessionEventAgentSessionRequiresAction`

7952 7988 

7953- `event_id: string`7989- `event_id: string`

7954 7990 


7958 7994 

7959- `session: AgentSession`7995- `session: AgentSession`

7960 7996 

7961 The failed session.7997 The session and its current required actions.

7962 7998 

7963 - `id: string`7999 - `id: string`

7964 8000 


8904 8940 

8905 - `"environment_connection"`8941 - `"environment_connection"`

8906 8942 

8907 - `status: "idle" or "in_progress" or "requires_action" or "failed"`8943 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

8908 8944 

8909 The current status of the session.8945 The current status of the session.

8910 8946 


8924 8960 

8925 The session failed.8961 The session failed.

8926 8962 

8963 - `"budget_reached"`

8964 

8965 The session is paused because its spending limit was reached.

8966 

8967 - `usage: TokenUsage or null`

8968 

8969 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

8970 

8971 - `input_tokens: integer`

8972 

8973 The number of input tokens used by the agent.

8974 

8975 `format: int64`

8976 

8977 - `input_tokens_details: object { cached_tokens }`

8978 

8979 A breakdown of the agent's input token usage.

8980 

8981 - `cached_tokens: integer`

8982 

8983 The number of input tokens retrieved from the prompt cache.

8984 

8985 `format: int64`

8986 

8987 - `output_tokens: integer`

8988 

8989 The number of output tokens generated by the agent.

8990 

8991 `format: int64`

8992 

8993 - `output_tokens_details: object { reasoning_tokens }`

8994 

8995 A breakdown of the agent's output token usage.

8996 

8997 - `reasoning_tokens: integer`

8998 

8999 The number of output tokens used for reasoning.

9000 

9001 `format: int64`

9002 

9003 - `total_tokens: integer`

9004 

9005 The total number of input and output tokens used by the agent.

9006 

9007 `format: int64`

9008 

9009 - `vault_ids: array of string`

9010 

9011 The IDs of vaults made available to the session.

9012 

9013 `minItems: 0`, `maxItems: 2000`

9014 

9015 - `prompt_cache_options: optional object { ttl } or null`

9016 

9017 Default prompt cache lifetime for turns in this session, when configured.

9018 

9019 - `ttl: "30m" or "12h"`

9020 

9021 - `"30m"`

9022 

9023 - `"12h"`

9024 

9025 - `review: optional "none" or "auto_review"`

9026 

9027 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.

9028 

9029 - `"none"`

9030 

9031 - `"auto_review"`

9032 

9033- `type: "agent.session.requires_action" (default: "agent.session.requires_action")`

9034 

9035 The type of the object. Always `agent.session.requires_action`.

9036 

9037 - `"agent.session.requires_action"`

9038 

9039- `obfuscation: optional string`

9040 

9041 Random alphanumeric padding. Present when stream obfuscation is enabled.

9042 

9043 `minLength: 0`

9044 

9045### Example

9046 

9047```json

9048{

9049 "type": "agent.session.requires_action",

9050 "event_id": "event_id",

9051 "session": {

9052 "prompt_cache_options": {

9053 "ttl": "30m"

9054 },

9055 "review": "none",

9056 "metadata": {

9057 "foo": "string"

9058 },

9059 "id": "id",

9060 "object": "agent.session",

9061 "created_at": 0,

9062 "last_active_at": 0,

9063 "status": "idle",

9064 "required_actions": [

9065 {

9066 "type": "mcp_approval_request",

9067 "turn_id": "turn_id",

9068 "request_id": "request_id",

9069 "request": {

9070 "type": "mcp_tool_call",

9071 "server_label": "server_label",

9072 "name": "name",

9073 "arguments": {},

9074 "message": "message"

9075 }

9076 }

9077 ],

9078 "error": "error",

9079 "agent": {

9080 "id": "id",

9081 "name": "name",

9082 "model": "model",

9083 "reasoning": {

9084 "effort": "none",

9085 "summary": "concise"

9086 },

9087 "text": {

9088 "format": {

9089 "type": "text"

9090 },

9091 "verbosity": "low"

9092 },

9093 "service_tier": "auto",

9094 "instructions": "instructions",

9095 "tools": [

9096 {

9097 "type": "function",

9098 "name": "name",

9099 "description": "description",

9100 "parameters": {

9101 "foo": "bar"

9102 },

9103 "defer_loading": true,

9104 "async": true

9105 }

9106 ],

9107 "multi_agent": {

9108 "enabled": true,

9109 "max_concurrent_subagents": 1

9110 },

9111 "compaction": {

9112 "async": true

9113 },

9114 "experimental": {

9115 "time_awareness": true

9116 }

9117 },

9118 "environment": {

9119 "type": "none"

9120 },

9121 "vault_ids": [

9122 "string"

9123 ],

9124 "usage": {

9125 "input_tokens": 0,

9126 "input_tokens_details": {

9127 "cached_tokens": 0

9128 },

9129 "output_tokens": 0,

9130 "output_tokens_details": {

9131 "reasoning_tokens": 0

9132 },

9133 "total_tokens": 0

9134 }

9135 },

9136 "obfuscation": "obfuscation"

9137}

9138```

9139 

9140<a id="agent.session.failed"></a>

9141 

9142## agent.session.failed

9143 

9144Emitted when a session fails.

9145 

9146### Schema

9147 

9148Schema name: `SessionEventAgentSessionFailed`

9149 

9150- `event_id: string`

9151 

9152 The unique ID of the event.

9153 

9154 `minLength: 0`

9155 

9156- `session: AgentSession`

9157 

9158 The failed session.

9159 

9160 - `id: string`

9161 

9162 The ID of the session.

9163 

9164 `minLength: 0`

9165 

9166 - `agent: object { id, instructions, model, 8 more }`

9167 

9168 The agent running in the session.

9169 

9170 - `id: string`

9171 

9172 The ID of the agent.

9173 

9174 `minLength: 0`

9175 

9176 - `instructions: string or null`

9177 

9178 Custom instructions appended to the agent's default base instructions.

9179 

9180 `minLength: 0`

9181 

9182 - `model: string`

9183 

9184 The model used by the agent.

9185 

9186 `minLength: 0`

9187 

9188 - `multi_agent: MultiAgentConfig`

9189 

9190 Configuration for creating and coordinating subagents.

9191 

9192 - `enabled: boolean`

9193 

9194 Whether subagent tools are enabled. Defaults to false.

9195 

9196 - `max_concurrent_subagents: integer or null`

9197 

9198 Maximum number of subagents that may run concurrently, or null when disabled. Defaults to 6 when enabled.

9199 

9200 `format: int64`, `minimum: 1`, `maximum: 4294967295`

9201 

9202 - `name: string or null`

9203 

9204 The reusable agent's name when the session was created, or null if no name was saved. Later changes to the agent's name do not affect this value.

9205 

9206 `minLength: 0`

9207 

9208 - `reasoning: AgentReasoning`

9209 

9210 The agent's reasoning configuration.

9211 

9212 - `effort: "none" or "minimal" or "low" or 4 more or null`

9213 

9214 The requested reasoning effort, or `null` when the model selects its own default.

9215 

9216 - `"none"`

9217 

9218 - `"minimal"`

9219 

9220 - `"low"`

9221 

9222 - `"medium"`

9223 

9224 - `"high"`

9225 

9226 - `"xhigh"`

9227 

9228 - `"max"`

9229 

9230 - `summary: "concise" or "detailed" or "auto" or null`

9231 

9232 The requested reasoning summary format, or `null` when summaries are disabled.

9233 

9234 - `"concise"`

9235 

9236 Returns a concise reasoning summary when supported.

9237 

9238 - `"detailed"`

9239 

9240 Returns a detailed reasoning summary when supported.

9241 

9242 - `"auto"`

9243 

9244 Automatically selects the most detailed summary supported by the model.

9245 

9246 - `service_tier: "auto" or "default" or "flex" or 3 more`

9247 

9248 The effective service-tier policy for model requests. Defaults to `auto`.

9249 

9250 - `"auto"`

9251 

9252 - `"default"`

9253 

9254 - `"flex"`

9255 

9256 - `"priority"`

9257 

9258 - `"fast"`

9259 

9260 - `"ultrafast"`

9261 

9262 - `text: AgentText`

9263 

9264 Configuration for text generated by the agent.

9265 

9266 - `format: TextFormat`

9267 

9268 The effective output format. Defaults to ordinary text.

9269 

9270 - `Text object { type }`

9271 

9272 Generates ordinary text without a structured-output constraint.

9273 

9274 - `type: "text" (default: "text")`

9275 

9276 The type of the object. Always `text`.

9277 

9278 - `"text"`

9279 

9280 - `JSONSchema object { schema, type }`

9281 

9282 Constrains generated text to a JSON Schema.

9283 

9284 - `schema: map[unknown]`

9285 

9286 The JSON Schema that generated text must match.

9287 

9288 - `type: "json_schema" (default: "json_schema")`

9289 

9290 The type of the object. Always `json_schema`.

9291 

9292 - `"json_schema"`

9293 

9294 - `verbosity: "low" or "medium" or "high"`

9295 

9296 The amount of text produced by the agent. Defaults to `medium`.

9297 

9298 - `"low"`

9299 

9300 - `"medium"`

9301 

9302 - `"high"`

9303 

9304 - `tools: array of AgentTool`

9305 

9306 Tools available to the agent.

9307 

9308 `minItems: 0`, `maxItems: 2000`

9309 

9310 - `Function object { defer_loading, description, name, 3 more }`

9311 

9312 A function defined by the application.

9313 

9314 - `defer_loading: boolean`

9315 

9316 Whether the function is deferred and discovered through tool search.

9317 

9318 - `description: string`

9319 

9320 A description of what the function does.

9321 

9322 `minLength: 0`

9323 

9324 - `name: string`

9325 

9326 The name of the function.

9327 

9328 `minLength: 0`

9329 

9330 - `parameters: map[unknown]`

9331 

9332 A JSON Schema object describing the function's arguments.

9333 

9334 - `type: "function" (default: "function")`

9335 

9336 The type of the object. Always `function`.

9337 

9338 - `"function"`

9339 

9340 - `async: optional boolean`

9341 

9342 Whether the agent continues without waiting for the function result.

9343 

9344 - `ProgrammaticToolCalling object { enabled, type }`

9345 

9346 Enables calling tools from model-generated code.

9347 

9348 - `enabled: boolean`

9349 

9350 Whether tools can be called from model-generated code.

9351 

9352 - `type: "programmatic_tool_calling" (default: "programmatic_tool_calling")`

9353 

9354 The type of the object. Always `programmatic_tool_calling`.

9355 

9356 - `"programmatic_tool_calling"`

9357 

9358 - `Mcp object { allowed_tools, connection_origin, credential_id, 5 more }`

9359 

9360 Tools provided by a remote MCP server.

9361 

9362 - `allowed_tools: array of string or null`

9363 

9364 The MCP tools the agent may call.

9365 

9366 `minItems: 0`, `maxItems: 2000`

9367 

9368 - `connection_origin: "service" or "environment"`

9369 

9370 Where outbound MCP HTTP connections originate.

9371 

9372 - `"service"`

9373 

9374 - `"environment"`

9375 

9376 - `credential_id: string or null`

9377 

9378 The attached vault credential selected for this MCP server, if any. Optional when exactly one attached credential matches the server URL.

9379 

9380 `minLength: 0`

9381 

9382 - `request_metadata: map[unknown]`

9383 

9384 Metadata included with requests to this MCP server.

9385 

9386 - `required: boolean`

9387 

9388 Whether this MCP server must initialize before the first turn.

9389 

9390 - `server_label: string`

9391 

9392 A label used to identify the MCP server in tool calls.

9393 

9394 `minLength: 0`

9395 

9396 - `transport: McpTransport`

9397 

9398 The transport used to connect to the MCP server.

9399 

9400 - `HTTP object { server_url, type }`

9401 

9402 Connects to an MCP server over HTTP.

9403 

9404 - `server_url: string`

9405 

9406 The URL of the MCP server.

9407 

9408 `minLength: 0`

9409 

9410 - `type: "http" (default: "http")`

9411 

9412 The type of the object. Always `http`.

9413 

9414 - `"http"`

9415 

9416 - `Stdio object { args, command, cwd, 2 more }`

9417 

9418 Starts an MCP server as a local process.

9419 

9420 - `args: array of string`

9421 

9422 Arguments passed to the MCP server command.

9423 

9424 `minItems: 0`, `maxItems: 2000`

9425 

9426 - `command: string`

9427 

9428 The command used to start the MCP server.

9429 

9430 `minLength: 0`

9431 

9432 - `cwd: string`

9433 

9434 The working directory used to start the MCP server.

9435 

9436 `minLength: 0`

9437 

9438 - `env_vars: array of string`

9439 

9440 Environment variable names inherited from the execution environment.

9441 

9442 `minItems: 0`, `maxItems: 2000`

9443 

9444 - `type: "stdio" (default: "stdio")`

9445 

9446 The type of the object. Always `stdio`.

9447 

9448 - `"stdio"`

9449 

9450 - `type: "mcp" (default: "mcp")`

9451 

9452 The type of the object. Always `mcp`.

9453 

9454 - `"mcp"`

9455 

9456 - `WebSearch object { allowed_domains, context_size, location, 2 more }`

9457 

9458 Web search.

9459 

9460 - `allowed_domains: array of string or null`

9461 

9462 Allowed search domains, or `null` when the search is unrestricted.

9463 

9464 `minItems: 0`, `maxItems: 2000`

9465 

9466 - `context_size: "low" or "medium" or "high"`

9467 

9468 The amount of search context made available to the model. Defaults to `medium`.

9469 

9470 - `"low"`

9471 

9472 - `"medium"`

9473 

9474 - `"high"`

9475 

9476 - `location: object { city, country, region, timezone } or null`

9477 

9478 Approximate location used to localize search results, if provided.

9479 

9480 - `city: string or null`

9481 

9482 The city name.

9483 

9484 `minLength: 0`

9485 

9486 - `country: string or null`

9487 

9488 The two-letter ISO country code, such as `US`.

9489 

9490 `minLength: 0`

9491 

9492 - `region: string or null`

9493 

9494 The region or state name.

9495 

9496 `minLength: 0`

9497 

9498 - `timezone: string or null`

9499 

9500 The IANA timezone, such as `America/Los_Angeles`.

9501 

9502 `minLength: 0`

9503 

9504 - `mode: "disabled" or "cached" or "live"`

9505 

9506 The source used for web search results.

9507 

9508 - `"disabled"`

9509 

9510 - `"cached"`

9511 

9512 - `"live"`

9513 

9514 - `type: "web_search" (default: "web_search")`

9515 

9516 The type of the object. Always `web_search`.

9517 

9518 - `"web_search"`

9519 

9520 - `ComputerUse object { include_screenshots, type }`

9521 

9522 Browser use in an OpenAI-hosted session.

9523 

9524 - `include_screenshots: boolean`

9525 

9526 Whether computer tool outputs include screenshots.

9527 

9528 - `type: "computer_use" (default: "computer_use")`

9529 

9530 The type of the object. Always `computer_use`.

9531 

9532 - `"computer_use"`

9533 

9534 - `Automations object { type }`

9535 

9536 Lets the agent manage its own scheduled wakeups.

9537 

9538 - `type: "automations" (default: "automations")`

9539 

9540 The type of the object. Always `automations`.

9541 

9542 - `"automations"`

9543 

9544 - `compaction: optional object { async }`

9545 

9546 The effective context compaction settings.

9547 

9548 - `async: boolean`

9549 

9550 Whether context is compacted in the background. Defaults to false.

9551 

9552 - `experimental: optional object { time_awareness }`

9553 

9554 The effective experimental settings for the agent.

9555 

9556 - `time_awareness: boolean`

9557 

9558 Whether the model receives periodic current-time reminders.

9559 

9560 - `created_at: integer`

9561 

9562 The Unix timestamp, in seconds, when the session was created.

9563 

9564 `format: int64`

9565 

9566 - `environment: Environment`

9567 

9568 The execution environment for the session.

9569 

9570 - `None object { type }`

9571 

9572 The session talks to CCA without selecting or provisioning an execution environment.

9573 

9574 - `type: "none" (default: "none")`

9575 

9576 The type of the object. Always `none`.

9577 

9578 - `"none"`

9579 

9580 - `OpenAIHosted object { id, capability_directories, desktop, 7 more }`

9581 

9582 An environment hosted by OpenAI.

9583 

9584 - `id: string`

9585 

9586 The public ID of the environment.

9587 

9588 `minLength: 0`

9589 

9590 - `capability_directories: array of string`

9591 

9592 Directories that contain capabilities exposed to the agent.

9593 

9594 `minItems: 0`, `maxItems: 2000`

9595 

9596 - `desktop: object { enabled }`

9597 

9598 The effective desktop configuration.

9599 

9600 - `enabled: boolean`

9601 

9602 Whether the environment provisions a desktop and browser proxy.

9603 

9604 - `files: array of HostedEnvironmentFile`

9605 

9606 Files available in the environment, excluding their contents.

9607 

9608 `minItems: 0`, `maxItems: 50`

9609 

9610 - `HostedEnvironmentFileID object { id, file_id, path, 2 more }`

9611 

9612 A file copied from the OpenAI Files API.

9613 

9614 - `id: string`

9615 

9616 The session-scoped ID of the file in the execution environment.

9617 

9618 `minLength: 0`

9619 

9620 - `file_id: string`

9621 

9622 The ID of the uploaded file.

9623 

9624 `minLength: 0`

9625 

9626 - `path: string`

9627 

9628 The file's absolute path inside the environment.

9629 

9630 `minLength: 0`

9631 

9632 - `size_bytes: integer`

9633 

9634 The decoded file size in bytes.

9635 

9636 `format: int64`, `minimum: 0`

9637 

9638 - `type: "file_id" (default: "file_id")`

9639 

9640 The type of the object. Always `file_id`.

9641 

9642 - `"file_id"`

9643 

9644 - `Inline object { id, path, size_bytes, type }`

9645 

9646 A file supplied inline when the session was created.

9647 

9648 - `id: string`

9649 

9650 The session-scoped ID of the file in the execution environment.

9651 

9652 `minLength: 0`

9653 

9654 - `path: string`

9655 

9656 The file's absolute path inside the environment.

9657 

9658 `minLength: 0`

9659 

9660 - `size_bytes: integer`

9661 

9662 The decoded file size in bytes.

9663 

9664 `format: int64`, `minimum: 0`

9665 

9666 - `type: "inline" (default: "inline")`

9667 

9668 The type of the object. Always `inline`.

9669 

9670 - `"inline"`

9671 

9672 - `network: object { access, allowed_domains }`

9673 

9674 The effective network access policy for the environment.

9675 

9676 - `access: "enabled" or "disabled" or "restricted"`

9677 

9678 The environment's network access mode.

9679 

9680 - `"enabled"`

9681 

9682 Allows unrestricted network access.

9683 

9684 - `"disabled"`

9685 

9686 Disables network access.

9687 

9688 - `"restricted"`

9689 

9690 Applies the configured domain restrictions.

9691 

9692 - `allowed_domains: array of string`

9693 

9694 Domains the environment may access when network access is restricted.

9695 

9696 `minItems: 0`, `maxItems: 2000`

9697 

9698 - `packages: object { npm, python, system }`

9699 

9700 Packages installed in the environment.

9701 

9702 - `npm: array of string`

9703 

9704 npm packages installed globally in the environment.

9705 

9706 `minItems: 0`, `maxItems: 16384`

9707 

9708 - `python: array of string`

9709 

9710 Python packages installed in the environment.

9711 

9712 `minItems: 0`, `maxItems: 16384`

9713 

9714 - `system: array of string`

9715 

9716 System packages installed in the environment.

9717 

9718 `minItems: 0`, `maxItems: 16384`

9719 

9720 - `plugins: array of HostedPlugin`

9721 

9722 Plugins installed in the environment, excluding their archive contents.

9723 

9724 `minItems: 0`, `maxItems: 2000`

9725 

9726 - `description: string`

9727 

9728 The installed plugin description.

9729 

9730 `minLength: 0`

9731 

9732 - `name: string`

9733 

9734 The installed plugin name.

9735 

9736 `minLength: 0`

9737 

9738 - `type: "inline" (default: "inline")`

9739 

9740 The type of the object. Always `inline`.

9741 

9742 - `"inline"`

9743 

9744 - `skills: array of HostedSkill`

9745 

9746 Skills installed in the environment, excluding their archive contents.

9747 

9748 `minItems: 0`, `maxItems: 2000`

9749 

9750 - `HostedSkillReference object { description, name, skill_id, 2 more }`

9751 

9752 A skill installed from the Skills API.

9753 

9754 - `description: string`

9755 

9756 The installed skill description.

9757 

9758 `minLength: 0`

9759 

9760 - `name: string`

9761 

9762 The installed skill name.

9763 

9764 `minLength: 0`

9765 

9766 - `skill_id: string`

9767 

9768 The referenced skill ID.

9769 

9770 `minLength: 0`

9771 

9772 - `type: "skill_reference" (default: "skill_reference")`

9773 

9774 The type of the object. Always `skill_reference`.

9775 

9776 - `"skill_reference"`

9777 

9778 - `version: string`

9779 

9780 The concrete skill version installed for this session.

9781 

9782 `minLength: 0`

9783 

9784 - `Inline object { description, name, type }`

9785 

9786 A skill installed from an inline ZIP archive.

9787 

9788 - `description: string`

9789 

9790 The installed skill description.

9791 

9792 `minLength: 0`

9793 

9794 - `name: string`

9795 

9796 The installed skill name.

9797 

9798 `minLength: 0`

9799 

9800 - `type: "inline" (default: "inline")`

9801 

9802 The type of the object. Always `inline`.

9803 

9804 - `"inline"`

9805 

9806 - `type: "openai_hosted" (default: "openai_hosted")`

9807 

9808 The type of the object. Always `openai_hosted`.

9809 

9810 - `"openai_hosted"`

9811 

9812 - `container_size: optional "small" or "medium" or "large" or null`

9813 

9814 The effective CPU and memory tier, or null when unknown or outside the public tiers.

9815 

9816 - `"small"`

9817 

9818 - `"medium"`

9819 

9820 - `"large"`

9821 

9822 - `SelfHosted object { id, capability_directories, remote_url, 2 more }`

9823 

9824 An environment hosted by the application.

9825 

9826 - `id: string`

9827 

9828 The public ID of the environment.

9829 

9830 `minLength: 0`

9831 

9832 - `capability_directories: array of string`

9833 

9834 Directories that contain capabilities exposed to the agent.

9835 

9836 `minItems: 0`, `maxItems: 2000`

9837 

9838 - `remote_url: string`

9839 

9840 Pass this URL unchanged to `codex exec-server --remote` when connecting this environment.

9841 

9842 `minLength: 0`

9843 

9844 - `type: "self_hosted" (default: "self_hosted")`

9845 

9846 The type of the object. Always `self_hosted`.

9847 

9848 - `"self_hosted"`

9849 

9850 - `workspace_directory: string`

9851 

9852 The absolute project directory inside the environment. Defaults to `/workspace`.

9853 

9854 `minLength: 0`

9855 

9856 - `error: string or null`

9857 

9858 The error that caused the session to fail, if any.

9859 

9860 `minLength: 0`

9861 

9862 - `last_active_at: integer`

9863 

9864 The Unix timestamp, in seconds, when the session was last active.

9865 

9866 `format: int64`

9867 

9868 - `metadata: map[string]`

9869 

9870 Custom string key-value pairs attached to the session.

9871 

9872 - `object: "agent.session" (default: "agent.session")`

9873 

9874 The object type. Always `agent.session`.

9875 

9876 - `"agent.session"`

9877 

9878 - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`

9879 

9880 Actions that must be completed before the session can continue.

9881 

9882 `minItems: 0`, `maxItems: 2000`

9883 

9884 - `McpApprovalRequest object { request, request_id, turn_id, type }`

9885 

9886 Respond to an MCP tool-call approval request.

9887 

9888 - `request: object { arguments, message, name, 2 more }`

9889 

9890 Information for presenting an MCP approval.

9891 

9892 - `arguments: unknown`

9893 

9894 The tool arguments as JSON, or null when CCA does not provide them.

9895 

9896 - `message: string`

9897 

9898 `minLength: 0`

9899 

9900 - `name: string or null`

9901 

9902 The tool name, or null when CCA does not provide it.

9903 

9904 `minLength: 0`

9905 

9906 - `server_label: string`

9907 

9908 `minLength: 0`

9909 

9910 - `type: "mcp_tool_call" (default: "mcp_tool_call")`

9911 

9912 The type of the object. Always `mcp_tool_call`.

9913 

9914 - `"mcp_tool_call"`

9915 

9916 - `request_id: string`

9917 

9918 The opaque approval ID to echo when responding.

9919 

9920 `minLength: 0`

9921 

9922 - `turn_id: string`

9923 

9924 The turn that requested approval.

9925 

9926 `minLength: 0`

9927 

9928 - `type: "mcp_approval_request" (default: "mcp_approval_request")`

9929 

9930 The type of the object. Always `mcp_approval_request`.

9931 

9932 - `"mcp_approval_request"`

9933 

9934 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`

9935 

9936 Respond to a computer-use request.

9937 

9938 - `request: BrowserAuthentication { credential_origin, fields, options, 2 more } or BrowserOriginAccess { origin, reason, type }`

9939 

9940 The information needed to render the request.

9941 

9942 - `BrowserAuthentication object { credential_origin, fields, options, 2 more }`

9943 

9944 A registered form awaiting the application's response.

9945 

9946 - `credential_origin: string or null`

9947 

9948 The registered form or frame origin where values will be entered.

9949 

9950 `minLength: 0`

9951 

9952 - `fields: array of object { id, label, required, type }`

9953 

9954 Controls to render. All submitted values are sensitive.

9955 

9956 `minItems: 0`, `maxItems: 2000`

9957 

9958 - `id: string`

9959 

9960 The field ID to submit as field_id in a fields entry.

9961 

9962 `minLength: 0`

9963 

9964 - `label: string`

9965 

9966 The label to display beside the control.

9967 

9968 `minLength: 0`

9969 

9970 - `required: boolean`

9971 

9972 Whether this control requires a nonempty value.

9973 

9974 - `type: string`

9975 

9976 The rendering type, such as email, password, or text.

9977 

9978 `minLength: 0`

9979 

9980 - `options: array of object { id, field_ids, label }`

9981 

9982 Sign-in methods. Empty for a plain form.

9983 

9984 `minItems: 0`, `maxItems: 2000`

9985 

9986 - `id: string`

9987 

9988 The option ID to submit as selected_option.

9989 

9990 `minLength: 0`

9991 

9992 - `field_ids: array of string`

9993 

9994 IDs from the registered fields that this method accepts.

9995 

9996 `minItems: 0`, `maxItems: 2000`

9997 

9998 - `label: string`

9999 

10000 The method label to display.

10001 

10002 `minLength: 0`

10003 

10004 - `reason: string or null`

10005 

10006 Why the agent needs the user to sign in.

10007 

10008 `minLength: 0`

10009 

10010 - `type: "browser_authentication" (default: "browser_authentication")`

10011 

10012 The type of the object. Always `browser_authentication`.

10013 

10014 - `"browser_authentication"`

10015 

10016 - `BrowserOriginAccess object { origin, reason, type }`

10017 

10018 A browser origin awaiting the application's approval decision.

10019 

10020 - `origin: string`

10021 

10022 The origin the browser needs permission to access.

10023 

10024 `minLength: 0`

10025 

10026 - `reason: string or null`

10027 

10028 The browser's explanation for this request, or null when unavailable.

10029 

10030 `minLength: 0`

10031 

10032 - `type: "browser_origin_access" (default: "browser_origin_access")`

10033 

10034 The type of the object. Always `browser_origin_access`.

10035 

10036 - `"browser_origin_access"`

10037 

10038 - `request_id: string`

10039 

10040 The registered request ID to echo when responding.

10041 

10042 `minLength: 0`

10043 

10044 - `turn_id: string`

10045 

10046 The turn that requested approval.

10047 

10048 `minLength: 0`

10049 

10050 - `type: "computer_use_approval_request" (default: "computer_use_approval_request")`

10051 

10052 The type of the object. Always `computer_use_approval_request`.

10053 

10054 - `"computer_use_approval_request"`

10055 

10056 - `FunctionCall object { arguments, call_id, name, 2 more }`

10057 

10058 Run a function tool and submit its result.

10059 

10060 - `arguments: unknown`

10061 

10062 The arguments supplied by the model.

10063 

10064 - `call_id: string`

10065 

10066 The ID to include when submitting the function result.

10067 

10068 `minLength: 0`

10069 

10070 - `name: string`

10071 

10072 The function name.

10073 

10074 `minLength: 0`

10075 

10076 - `turn_id: string`

10077 

10078 The ID of the turn that requested the function call.

10079 

10080 `minLength: 0`

10081 

10082 - `type: "function_call" (default: "function_call")`

10083 

10084 The type of the object. Always `function_call`.

10085 

10086 - `"function_call"`

10087 

10088 - `EnvironmentConnection object { environment_id, type }`

10089 

10090 Reconnect a session environment.

10091 

10092 - `environment_id: string`

10093 

10094 The ID of the environment to reconnect.

10095 

10096 `minLength: 0`

10097 

10098 - `type: "environment_connection" (default: "environment_connection")`

10099 

10100 The type of the object. Always `environment_connection`.

10101 

10102 - `"environment_connection"`

10103 

10104 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

10105 

10106 The current status of the session.

10107 

10108 - `"idle"`

10109 

10110 The session has no turn in progress and is ready for input. A hosted environment may still be provisioning.

10111 

10112 - `"in_progress"`

10113 

10114 The session is processing a turn.

10115 

10116 - `"requires_action"`

10117 

10118 The session is waiting for one or more required actions.

10119 

10120 - `"failed"`

10121 

10122 The session failed.

10123 

10124 - `"budget_reached"`

10125 

10126 The session is paused because its spending limit was reached.

10127 

8927 - `usage: TokenUsage or null`10128 - `usage: TokenUsage or null`

8928 10129 

8929 Best-effort token usage for the session, or null if unknown. Recorded usage may change.10130 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

Details

1816 1816 

1817 - `"environment_connection"`1817 - `"environment_connection"`

1818 1818 

1819 - `status: "idle" or "in_progress" or "requires_action" or "failed"`1819 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

1820 1820 

1821 The current status of the session.1821 The current status of the session.

1822 1822 


1836 1836 

1837 The session failed.1837 The session failed.

1838 1838 

1839 - `"budget_reached"`

1840 

1841 The session is paused because its spending limit was reached.

1842 

1839 - `usage: TokenUsage or null`1843 - `usage: TokenUsage or null`

1840 1844 

1841 Best-effort token usage for the session, or null if unknown. Recorded usage may change.1845 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

Details

994 994 

995 - `"environment_connection"`995 - `"environment_connection"`

996 996 

997 - `status: "idle" or "in_progress" or "requires_action" or "failed"`997 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

998 998 

999 The current status of the session.999 The current status of the session.

1000 1000 


1014 1014 

1015 The session failed.1015 The session failed.

1016 1016 

1017 - `"budget_reached"`

1018 

1019 The session is paused because its spending limit was reached.

1020 

1017 - `usage: TokenUsage or null`1021 - `usage: TokenUsage or null`

1018 1022 

1019 Best-effort token usage for the session, or null if unknown. Recorded usage may change.1023 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

Details

964 964 

965 - `"environment_connection"`965 - `"environment_connection"`

966 966 

967 - `status: "idle" or "in_progress" or "requires_action" or "failed"`967 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

968 968 

969 The current status of the session.969 The current status of the session.

970 970 


984 984 

985 The session failed.985 The session failed.

986 986 

987 - `"budget_reached"`

988 

989 The session is paused because its spending limit was reached.

990 

987 - `usage: TokenUsage or null`991 - `usage: TokenUsage or null`

988 992 

989 Best-effort token usage for the session, or null if unknown. Recorded usage may change.993 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

Details

1330 1330 

1331 - `"environment_connection"`1331 - `"environment_connection"`

1332 1332 

1333 - `status: "idle" or "in_progress" or "requires_action" or "failed"`1333 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

1334 1334 

1335 The current status of the session.1335 The current status of the session.

1336 1336 


1350 1350 

1351 The session failed.1351 The session failed.

1352 1352 

1353 - `"budget_reached"`

1354 

1355 The session is paused because its spending limit was reached.

1356 

1353 - `usage: TokenUsage or null`1357 - `usage: TokenUsage or null`

1354 1358 

1355 Best-effort token usage for the session, or null if unknown. Recorded usage may change.1359 Best-effort token usage for the session, or null if unknown. Recorded usage may change.

Details

22 22 

23### Returns23### Returns

24 24 

25- `AgentSessionEvent = AgentSessionErrorEvent or AgentSessionEnvironmentReadyEvent or AgentSessionEnvironmentSuspendedEvent or 30 more`25- `AgentSessionEvent = AgentSessionErrorEvent or AgentSessionEnvironmentReadyEvent or AgentSessionEnvironmentSuspendedEvent or 31 more`

26 26 

27 An event emitted by a Managed Agents session.27 An event emitted by a Managed Agents session.

28 28 


1318 1318 

1319 - `"environment_connection"`1319 - `"environment_connection"`

1320 1320 

1321 - `status: "idle" or "in_progress" or "requires_action" or "failed"`1321 - `status: "idle" or "in_progress" or "requires_action" or 2 more`

1322 1322 

1323 The current status of the session.1323 The current status of the session.

1324 1324 


1338 1338 

1339 The session failed.1339 The session failed.

1340 1340 

1341 - `"budget_reached"`

1342 

1343 The session is paused because its spending limit was reached.

1344 

1341 - `usage: TokenUsage or null`1345 - `usage: TokenUsage or null`

1342 1346 

1343 Best-effort token usage for the session, or null if unknown. Recorded usage may change.1347 Best-effort token usage for the session, or null if unknown. Recorded usage may change.


1464 1468 

1465 A customer-safe error. Non-null only for a failed turn.1469 A customer-safe error. Non-null only for a failed turn.

1466 1470 

1467 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`1471 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

1468 1472 

1469 A stable, machine-readable failure category.1473 A stable, machine-readable failure category.

1470 1474 


1484 1488 

1485 The organization has reached a usage, plan, or billing limit.1489 The organization has reached a usage, plan, or billing limit.

1486 1490 

1491 - `"api_key_spend_limit_exceeded"`

1492 

1493 The API key has reached its enforced spend limit.

1494 

1487 - `"project_spend_limit_exceeded"`1495 - `"project_spend_limit_exceeded"`

1488 1496 

1489 The project has reached its enforced spend limit.1497 The project has reached its enforced spend limit.


2926 2934 

2927 `minLength: 0`2935 `minLength: 0`

2928 2936 

2937 - `AgentSessionBudgetReachedEvent object { event_id, session, type, obfuscation }`

2938 

2939 Emitted when a session pauses because its spending limit was reached.

2940 

2941 - `event_id: string`

2942 

2943 The unique ID of the event.

2944 

2945 `minLength: 0`

2946 

2947 - `session: AgentSession`

2948 

2949 The paused session.

2950 

2951 - `type: "agent.session.budget_reached" (default: "agent.session.budget_reached")`

2952 

2953 The type of the object. Always `agent.session.budget_reached`.

2954 

2955 - `"agent.session.budget_reached"`

2956 

2957 - `obfuscation: optional string`

2958 

2959 Random alphanumeric padding. Present when stream obfuscation is enabled.

2960 

2961 `minLength: 0`

2962 

2929 - `AgentSessionInProgressEvent object { event_id, session, type, obfuscation }`2963 - `AgentSessionInProgressEvent object { event_id, session, type, obfuscation }`

2930 2964 

2931 Emitted when a session starts processing a turn.2965 Emitted when a session starts processing a turn.

Details

82 82 

83 A customer-safe error. Non-null only for a failed turn.83 A customer-safe error. Non-null only for a failed turn.

84 84 

85 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`85 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

86 86 

87 A stable, machine-readable failure category.87 A stable, machine-readable failure category.

88 88 


102 102 

103 The organization has reached a usage, plan, or billing limit.103 The organization has reached a usage, plan, or billing limit.

104 104 

105 - `"api_key_spend_limit_exceeded"`

106 

107 The API key has reached its enforced spend limit.

108 

105 - `"project_spend_limit_exceeded"`109 - `"project_spend_limit_exceeded"`

106 110 

107 The project has reached its enforced spend limit.111 The project has reached its enforced spend limit.

Details

60 60 

61 A customer-safe error. Non-null only for a failed turn.61 A customer-safe error. Non-null only for a failed turn.

62 62 

63 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`63 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

64 64 

65 A stable, machine-readable failure category.65 A stable, machine-readable failure category.

66 66 


80 80 

81 The organization has reached a usage, plan, or billing limit.81 The organization has reached a usage, plan, or billing limit.

82 82 

83 - `"api_key_spend_limit_exceeded"`

84 

85 The API key has reached its enforced spend limit.

86 

83 - `"project_spend_limit_exceeded"`87 - `"project_spend_limit_exceeded"`

84 88 

85 The project has reached its enforced spend limit.89 The project has reached its enforced spend limit.

Details

76 76 

77 A customer-safe error. Non-null only for a failed turn.77 A customer-safe error. Non-null only for a failed turn.

78 78 

79 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`79 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

80 80 

81 A stable, machine-readable failure category.81 A stable, machine-readable failure category.

82 82 


96 96 

97 The organization has reached a usage, plan, or billing limit.97 The organization has reached a usage, plan, or billing limit.

98 98 

99 - `"api_key_spend_limit_exceeded"`

100 

101 The API key has reached its enforced spend limit.

102 

99 - `"project_spend_limit_exceeded"`103 - `"project_spend_limit_exceeded"`

100 104 

101 The project has reached its enforced spend limit.105 The project has reached its enforced spend limit.

Details

54 54 

55 A customer-safe error. Non-null only for a failed turn.55 A customer-safe error. Non-null only for a failed turn.

56 56 

57 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 21 more`57 - `code: "context_length_exceeded" or "max_output_tokens" or "session_budget_exceeded" or 22 more`

58 58 

59 A stable, machine-readable failure category.59 A stable, machine-readable failure category.

60 60 


74 74 

75 The organization has reached a usage, plan, or billing limit.75 The organization has reached a usage, plan, or billing limit.

76 76 

77 - `"api_key_spend_limit_exceeded"`

78 

79 The API key has reached its enforced spend limit.

80 

77 - `"project_spend_limit_exceeded"`81 - `"project_spend_limit_exceeded"`

78 82 

79 The project has reached its enforced spend limit.83 The project has reached its enforced spend limit.

Details

2630 2630 

2631 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2631 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2632 2632 

2633 An optional list of skills referenced by id or inline data.2633 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2634 2634 

2635 `maxItems: 200`2635 `maxItems: 200`

2636 2636 


5616 Keys are strings with a maximum length of 64 characters. Values are strings5616 Keys are strings with a maximum length of 64 characters. Values are strings

5617 with a maximum length of 512 characters.5617 with a maximum length of 512 characters.

5618 5618 

5619 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`5619 - `model: "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string`

5620 5620 

5621 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5621 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5622 offers a wide range of models with different capabilities, performance5622 offers a wide range of models with different capabilities, performance

5623 characteristics, and price points. Refer to the [model guide](/api/docs/models)5623 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5624 to browse and compare available models.5624 to browse and compare available models.

5625 5625 

5626 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`5626 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

5627 5627 

5628 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5628 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5629 offers a wide range of models with different capabilities, performance5629 offers a wide range of models with different capabilities, performance


5632 5632 

5633 - `"gpt-6-astra"`5633 - `"gpt-6-astra"`

5634 5634 

5635 - `"gpt-6.2-astra"`

5636 

5635 - `"gpt-6.1-sol"`5637 - `"gpt-6.1-sol"`

5636 5638 

5639 - `"gpt-6.2-sol"`

5640 

5637 - `"gpt-6.1-terra"`5641 - `"gpt-6.1-terra"`

5638 5642 

5639 - `"gpt-6-sol"`5643 - `"gpt-6-sol"`


5854 5858 

5855 - `"gpt-6-rosalind"`5859 - `"gpt-6-rosalind"`

5856 5860 

5861 - `"gpt-6.2-astra-law"`

5862 

5857 - `string`5863 - `string`

5858 5864 

5859 - `object: "response"`5865 - `object: "response"`

Details

18 18 

19Content type: `application/json`19Content type: `application/json`

20 20 

21- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string or null`21- `model: "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string or null`

22 22 

23 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.23 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

24 24 

25 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`25 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

26 26 

27 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.27 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

28 28 

29 - `"gpt-6-astra"`29 - `"gpt-6-astra"`

30 30 

31 - `"gpt-6.2-astra"`

32 

31 - `"gpt-6.1-sol"`33 - `"gpt-6.1-sol"`

32 34 

35 - `"gpt-6.2-sol"`

36 

33 - `"gpt-6.1-terra"`37 - `"gpt-6.1-terra"`

34 38 

35 - `"gpt-6-sol"`39 - `"gpt-6-sol"`


250 254 

251 - `"gpt-6-rosalind"`255 - `"gpt-6-rosalind"`

252 256 

257 - `"gpt-6.2-astra-law"`

258 

253 - `string`259 - `string`

254 260 

255- `image: optional object { context_compression }`261- `image: optional object { context_compression }`


2729 2735 

2730 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2736 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2731 2737 

2732 An optional list of skills referenced by id or inline data.2738 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2733 2739 

2734 `maxItems: 200`2740 `maxItems: 200`

2735 2741 


7408 7414 

7409 - `skills: optional array of BetaSkillReference or BetaInlineSkill`7415 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

7410 7416 

7411 An optional list of skills referenced by id or inline data.7417 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

7412 7418 

7413 `maxItems: 200`7419 `maxItems: 200`

7414 7420 

Details

41 Whether to run the model response in the background.41 Whether to run the model response in the background.

42 [Learn more](/api/docs/guides/background).42 [Learn more](/api/docs/guides/background).

43 43 

44- `background_options: optional object { completion_window, continuation_id }`

45 

46 Options for background execution on HTTP requests. The `2h` and `8h`

47 completion windows require `background: true`, Standard processing,

48 and `stream: false` or omitted.

49 

50 - `completion_window: optional "soonest" or "2h" or "8h"`

51 

52 The completion window for background execution. Defaults to `soonest`; `2h` and `8h` select discounted background execution.

53 

54 - `"soonest"`

55 

56 - `"2h"`

57 

58 - `"8h"`

59 

60 - `continuation_id: optional string`

61 

62 A customer-provided opaque identifier used to prioritize related background requests. It does not add prior history to the input.

63 

44- `context_management: optional array of object { type, compact_threshold } or null`64- `context_management: optional array of object { type, compact_threshold } or null`

45 65 

46 Context management configuration for this request.66 Context management configuration for this request.


2585 2605 

2586 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2606 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2587 2607 

2588 An optional list of skills referenced by id or inline data.2608 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2589 2609 

2590 `maxItems: 200`2610 `maxItems: 200`

2591 2611 


5589 Keys are strings with a maximum length of 64 characters. Values are strings5609 Keys are strings with a maximum length of 64 characters. Values are strings

5590 with a maximum length of 512 characters.5610 with a maximum length of 512 characters.

5591 5611 

5592- `model: optional "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`5612- `model: optional "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string`

5593 5613 

5594 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5614 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5595 offers a wide range of models with different capabilities, performance5615 offers a wide range of models with different capabilities, performance

5596 characteristics, and price points. Refer to the [model guide](/api/docs/models)5616 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5597 to browse and compare available models.5617 to browse and compare available models.

5598 5618 

5599 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`5619 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

5600 5620 

5601 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5621 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5602 offers a wide range of models with different capabilities, performance5622 offers a wide range of models with different capabilities, performance


5605 5625 

5606 - `"gpt-6-astra"`5626 - `"gpt-6-astra"`

5607 5627 

5628 - `"gpt-6.2-astra"`

5629 

5608 - `"gpt-6.1-sol"`5630 - `"gpt-6.1-sol"`

5609 5631 

5632 - `"gpt-6.2-sol"`

5633 

5610 - `"gpt-6.1-terra"`5634 - `"gpt-6.1-terra"`

5611 5635 

5612 - `"gpt-6-sol"`5636 - `"gpt-6-sol"`


5827 5851 

5828 - `"gpt-6-rosalind"`5852 - `"gpt-6-rosalind"`

5829 5853 

5854 - `"gpt-6.2-astra-law"`

5855 

5830 - `string`5856 - `string`

5831 5857 

5832- `moderation: optional object { model, policy } or null`5858- `moderation: optional object { model, policy } or null`


10129 10155 

10130 - `skills: optional array of BetaSkillReference or BetaInlineSkill`10156 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

10131 10157 

10132 An optional list of skills referenced by id or inline data.10158 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

10133 10159 

10134 `maxItems: 200`10160 `maxItems: 200`

10135 10161 


13115 Keys are strings with a maximum length of 64 characters. Values are strings13141 Keys are strings with a maximum length of 64 characters. Values are strings

13116 with a maximum length of 512 characters.13142 with a maximum length of 512 characters.

13117 13143 

13118 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`13144 - `model: "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string`

13119 13145 

13120 Model ID used to generate the response, like `gpt-6-astra`. OpenAI13146 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

13121 offers a wide range of models with different capabilities, performance13147 offers a wide range of models with different capabilities, performance

13122 characteristics, and price points. Refer to the [model guide](/api/docs/models)13148 characteristics, and price points. Refer to the [model guide](/api/docs/models)

13123 to browse and compare available models.13149 to browse and compare available models.

13124 13150 

13125 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`13151 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

13126 13152 

13127 Model ID used to generate the response, like `gpt-6-astra`. OpenAI13153 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

13128 offers a wide range of models with different capabilities, performance13154 offers a wide range of models with different capabilities, performance


13131 13157 

13132 - `"gpt-6-astra"`13158 - `"gpt-6-astra"`

13133 13159 

13160 - `"gpt-6.2-astra"`

13161 

13134 - `"gpt-6.1-sol"`13162 - `"gpt-6.1-sol"`

13135 13163 

13164 - `"gpt-6.2-sol"`

13165 

13136 - `"gpt-6.1-terra"`13166 - `"gpt-6.1-terra"`

13137 13167 

13138 - `"gpt-6-sol"`13168 - `"gpt-6-sol"`


13353 13383 

13354 - `"gpt-6-rosalind"`13384 - `"gpt-6-rosalind"`

13355 13385 

13386 - `"gpt-6.2-astra-law"`

13387 

13356 - `string`13388 - `string`

13357 13389 

13358 - `object: "response"`13390 - `object: "response"`

Details

2674 2674 

2675 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2675 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2676 2676 

2677 An optional list of skills referenced by id or inline data.2677 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2678 2678 

2679 `maxItems: 200`2679 `maxItems: 200`

2680 2680 


5660 Keys are strings with a maximum length of 64 characters. Values are strings5660 Keys are strings with a maximum length of 64 characters. Values are strings

5661 with a maximum length of 512 characters.5661 with a maximum length of 512 characters.

5662 5662 

5663 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string`5663 - `model: "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string`

5664 5664 

5665 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5665 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5666 offers a wide range of models with different capabilities, performance5666 offers a wide range of models with different capabilities, performance

5667 characteristics, and price points. Refer to the [model guide](/api/docs/models)5667 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5668 to browse and compare available models.5668 to browse and compare available models.

5669 5669 

5670 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`5670 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

5671 5671 

5672 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5672 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5673 offers a wide range of models with different capabilities, performance5673 offers a wide range of models with different capabilities, performance


5676 5676 

5677 - `"gpt-6-astra"`5677 - `"gpt-6-astra"`

5678 5678 

5679 - `"gpt-6.2-astra"`

5680 

5679 - `"gpt-6.1-sol"`5681 - `"gpt-6.1-sol"`

5680 5682 

5683 - `"gpt-6.2-sol"`

5684 

5681 - `"gpt-6.1-terra"`5685 - `"gpt-6.1-terra"`

5682 5686 

5683 - `"gpt-6-sol"`5687 - `"gpt-6-sol"`


5898 5902 

5899 - `"gpt-6-rosalind"`5903 - `"gpt-6-rosalind"`

5900 5904 

5905 - `"gpt-6.2-astra-law"`

5906 

5901 - `string`5907 - `string`

5902 5908 

5903 - `object: "response"`5909 - `object: "response"`

Details

2372 2372 

2373 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2373 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2374 2374 

2375 An optional list of skills referenced by id or inline data.2375 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2376 2376 

2377 `maxItems: 200`2377 `maxItems: 200`

2378 2378 

Details

2498 2498 

2499 - `skills: optional array of BetaSkillReference or BetaInlineSkill`2499 - `skills: optional array of BetaSkillReference or BetaInlineSkill`

2500 2500 

2501 An optional list of skills referenced by id or inline data.2501 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2502 2502 

2503 `maxItems: 200`2503 `maxItems: 200`

2504 2504 

Details

494 494 

495 - `"function"`495 - `"function"`

496 496 

497- `model: string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`497- `model: string or "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

498 498 

499 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI499 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI

500 offers a wide range of models with different capabilities, performance500 offers a wide range of models with different capabilities, performance


503 503 

504 - `string`504 - `string`

505 505 

506 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`506 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

507 507 

508 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI508 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI

509 offers a wide range of models with different capabilities, performance509 offers a wide range of models with different capabilities, performance


512 512 

513 - `"gpt-6-astra"`513 - `"gpt-6-astra"`

514 514 

515 - `"gpt-6.2-astra"`

516 

515 - `"gpt-6.1-sol"`517 - `"gpt-6.1-sol"`

516 518 

519 - `"gpt-6.2-sol"`

520 

517 - `"gpt-6.1-terra"`521 - `"gpt-6.1-terra"`

518 522 

519 - `"gpt-6-sol"`523 - `"gpt-6-sol"`

Details

2161 2161 

2162 - `skills: optional array of SkillReference or InlineSkill`2162 - `skills: optional array of SkillReference or InlineSkill`

2163 2163 

2164 An optional list of skills referenced by id or inline data.2164 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2165 2165 

2166 `maxItems: 200`2166 `maxItems: 200`

2167 2167 

Details

2190 2190 

2191 - `skills: optional array of SkillReference or InlineSkill`2191 - `skills: optional array of SkillReference or InlineSkill`

2192 2192 

2193 An optional list of skills referenced by id or inline data.2193 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2194 2194 

2195 `maxItems: 200`2195 `maxItems: 200`

2196 2196 


7052 7052 

7053 - `skills: optional array of SkillReference or InlineSkill`7053 - `skills: optional array of SkillReference or InlineSkill`

7054 7054 

7055 An optional list of skills referenced by id or inline data.7055 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

7056 7056 

7057 `maxItems: 200`7057 `maxItems: 200`

7058 7058 

Details

2276 2276 

2277 - `skills: optional array of SkillReference or InlineSkill`2277 - `skills: optional array of SkillReference or InlineSkill`

2278 2278 

2279 An optional list of skills referenced by id or inline data.2279 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2280 2280 

2281 `maxItems: 200`2281 `maxItems: 200`

2282 2282 

Details

2249 2249 

2250 - `skills: optional array of SkillReference or InlineSkill`2250 - `skills: optional array of SkillReference or InlineSkill`

2251 2251 

2252 An optional list of skills referenced by id or inline data.2252 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2253 2253 

2254 `maxItems: 200`2254 `maxItems: 200`

2255 2255 

Details

1875 1875 

1876 - `skills: optional array of SkillReference or InlineSkill`1876 - `skills: optional array of SkillReference or InlineSkill`

1877 1877 

1878 An optional list of skills referenced by id or inline data.1878 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

1879 1879 

1880 `maxItems: 200`1880 `maxItems: 200`

1881 1881 

Details

1863 1863 

1864 - `skills: optional array of SkillReference or InlineSkill`1864 - `skills: optional array of SkillReference or InlineSkill`

1865 1865 

1866 An optional list of skills referenced by id or inline data.1866 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

1867 1867 

1868 `maxItems: 200`1868 `maxItems: 200`

1869 1869 


4115 4115 

4116 - `skills: optional array of SkillReference or InlineSkill`4116 - `skills: optional array of SkillReference or InlineSkill`

4117 4117 

4118 An optional list of skills referenced by id or inline data.4118 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

4119 4119 

4120 `maxItems: 200`4120 `maxItems: 200`

4121 4121 

Details

1907 1907 

1908 - `skills: optional array of SkillReference or InlineSkill`1908 - `skills: optional array of SkillReference or InlineSkill`

1909 1909 

1910 An optional list of skills referenced by id or inline data.1910 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

1911 1911 

1912 `maxItems: 200`1912 `maxItems: 200`

1913 1913 

Details

1875 1875 

1876 - `skills: optional array of SkillReference or InlineSkill`1876 - `skills: optional array of SkillReference or InlineSkill`

1877 1877 

1878 An optional list of skills referenced by id or inline data.1878 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

1879 1879 

1880 `maxItems: 200`1880 `maxItems: 200`

1881 1881 

Details

658 658 

659 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`659 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

660 660 

661 An optional list of skills referenced by id or inline data.661 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

662 662 

663 `maxItems: 200`663 `maxItems: 200`

664 664 


1447 1447 

1448 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`1448 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

1449 1449 

1450 An optional list of skills referenced by id or inline data.1450 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

1451 1451 

1452 `maxItems: 200`1452 `maxItems: 200`

1453 1453 


4918 4918 

4919 - `skills: optional array of SkillReference or InlineSkill`4919 - `skills: optional array of SkillReference or InlineSkill`

4920 4920 

4921 An optional list of skills referenced by id or inline data.4921 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

4922 4922 

4923 `maxItems: 200`4923 `maxItems: 200`

4924 4924 


8511 8511 

8512 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`8512 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

8513 8513 

8514 An optional list of skills referenced by id or inline data.8514 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

8515 8515 

8516 `maxItems: 200`8516 `maxItems: 200`

8517 8517 


9965 9965 

9966 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`9966 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

9967 9967 

9968 An optional list of skills referenced by id or inline data.9968 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

9969 9969 

9970 `maxItems: 200`9970 `maxItems: 200`

9971 9971 


12735 12735 

12736 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`12736 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

12737 12737 

12738 An optional list of skills referenced by id or inline data.12738 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

12739 12739 

12740 `maxItems: 200`12740 `maxItems: 200`

12741 12741 

Details

678 678 

679 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`679 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

680 680 

681 An optional list of skills referenced by id or inline data.681 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

682 682 

683 `maxItems: 200`683 `maxItems: 200`

684 684 

Details

790 790 

791 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`791 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

792 792 

793 An optional list of skills referenced by id or inline data.793 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

794 794 

795 `maxItems: 200`795 `maxItems: 200`

796 796 


2021 2021 

2022 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`2022 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

2023 2023 

2024 An optional list of skills referenced by id or inline data.2024 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2025 2025 

2026 `maxItems: 200`2026 `maxItems: 200`

2027 2027 


5492 5492 

5493 - `skills: optional array of SkillReference or InlineSkill`5493 - `skills: optional array of SkillReference or InlineSkill`

5494 5494 

5495 An optional list of skills referenced by id or inline data.5495 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

5496 5496 

5497 `maxItems: 200`5497 `maxItems: 200`

5498 5498 


9085 9085 

9086 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`9086 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

9087 9087 

9088 An optional list of skills referenced by id or inline data.9088 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

9089 9089 

9090 `maxItems: 200`9090 `maxItems: 200`

9091 9091 


10539 10539 

10540 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`10540 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

10541 10541 

10542 An optional list of skills referenced by id or inline data.10542 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

10543 10543 

10544 `maxItems: 200`10544 `maxItems: 200`

10545 10545 


13309 13309 

13310 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`13310 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

13311 13311 

13312 An optional list of skills referenced by id or inline data.13312 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

13313 13313 

13314 `maxItems: 200`13314 `maxItems: 200`

13315 13315 

Details

583 583 

584 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`584 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

585 585 

586 An optional list of skills referenced by id or inline data.586 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

587 587 

588 `maxItems: 200`588 `maxItems: 200`

589 589 


4017 4017 

4018 - `skills: optional array of SkillReference or InlineSkill`4018 - `skills: optional array of SkillReference or InlineSkill`

4019 4019 

4020 An optional list of skills referenced by id or inline data.4020 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

4021 4021 

4022 `maxItems: 200`4022 `maxItems: 200`

4023 4023 


7646 7646 

7647 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`7647 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

7648 7648 

7649 An optional list of skills referenced by id or inline data.7649 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

7650 7650 

7651 `maxItems: 200`7651 `maxItems: 200`

7652 7652 


9100 9100 

9101 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`9101 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

9102 9102 

9103 An optional list of skills referenced by id or inline data.9103 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

9104 9104 

9105 `maxItems: 200`9105 `maxItems: 200`

9106 9106 


11870 11870 

11871 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`11871 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

11872 11872 

11873 An optional list of skills referenced by id or inline data.11873 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

11874 11874 

11875 `maxItems: 200`11875 `maxItems: 200`

11876 11876 

Details

632 632 

633 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`633 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

634 634 

635 An optional list of skills referenced by id or inline data.635 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

636 636 

637 `maxItems: 200`637 `maxItems: 200`

638 638 

Details

562 562 

563 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`563 - `skills: optional array of SkillReference { skill_id, type, version } or Inline { description, name, source, type } or null`

564 564 

565 An optional list of skills referenced by id or inline data.565 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

566 566 

567 `maxItems: 200`567 `maxItems: 200`

568 568 

Details

94 94 

95 - `noise_reduction: optional object { strength, type }`95 - `noise_reduction: optional object { strength, type }`

96 96 

97 Configuration for input audio noise reduction. This can be set to `null` to turn off.97 When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`.

98 Set `noise_reduction` to `null` to turn off input audio noise reduction.

98 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.99 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.

99 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.100 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.

100 101 

Details

73 73 

74 - `noise_reduction: optional object { strength, type }`74 - `noise_reduction: optional object { strength, type }`

75 75 

76 Configuration for input audio noise reduction. This can be set to `null` to turn off.76 When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`.

77 Set `noise_reduction` to `null` to turn off input audio noise reduction.

77 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.78 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.

78 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.79 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.

79 80 

Details

73 73 

74 - `noise_reduction: optional object { strength, type }`74 - `noise_reduction: optional object { strength, type }`

75 75 

76 Configuration for input audio noise reduction. This can be set to `null` to turn off.76 When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`.

77 Set `noise_reduction` to `null` to turn off input audio noise reduction.

77 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.78 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.

78 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.79 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.

79 80 

Details

104 104 

105 - `noise_reduction: optional object { strength, type }`105 - `noise_reduction: optional object { strength, type }`

106 106 

107 Configuration for input audio noise reduction. This can be set to `null` to turn off.107 When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`.

108 Set `noise_reduction` to `null` to turn off input audio noise reduction.

108 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.109 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.

109 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.110 Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.

110 111 

Details

2322 2322 

2323 - `skills: optional array of SkillReference or InlineSkill`2323 - `skills: optional array of SkillReference or InlineSkill`

2324 2324 

2325 An optional list of skills referenced by id or inline data.2325 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2326 2326 

2327 `maxItems: 200`2327 `maxItems: 200`

2328 2328 


4988 4988 

4989 - `string`4989 - `string`

4990 4990 

4991 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`4991 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

4992 4992 

4993 - `"gpt-6-astra"`4993 - `"gpt-6-astra"`

4994 4994 

4995 - `"gpt-6.2-astra"`

4996 

4995 - `"gpt-6.1-sol"`4997 - `"gpt-6.1-sol"`

4996 4998 

4999 - `"gpt-6.2-sol"`

5000 

4997 - `"gpt-6.1-terra"`5001 - `"gpt-6.1-terra"`

4998 5002 

4999 - `"gpt-6-sol"`5003 - `"gpt-6-sol"`


5170 5174 

5171 - `"gpt-3.5-turbo-16k-0613"`5175 - `"gpt-3.5-turbo-16k-0613"`

5172 5176 

5173 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`5177 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

5174 5178 

5175 - `"o1-pro"`5179 - `"o1-pro"`

5176 5180 


5216 5220 

5217 - `"gpt-6-rosalind"`5221 - `"gpt-6-rosalind"`

5218 5222 

5223 - `"gpt-6.2-astra-law"`

5224 

5219 - `object: "response"`5225 - `object: "response"`

5220 5226 

5221 The object type of this resource - always set to `response`.5227 The object type of this resource - always set to `response`.

Details

12 12 

13Content type: `application/json`13Content type: `application/json`

14 14 

15- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more or string or null`15- `model: "gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more or string or null`

16 16 

17 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.17 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

18 18 

19 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 109 more`19 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 112 more`

20 20 

21 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.21 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

22 22 

23 - `"gpt-6-astra"`23 - `"gpt-6-astra"`

24 24 

25 - `"gpt-6.2-astra"`

26 

25 - `"gpt-6.1-sol"`27 - `"gpt-6.1-sol"`

26 28 

29 - `"gpt-6.2-sol"`

30 

27 - `"gpt-6.1-terra"`31 - `"gpt-6.1-terra"`

28 32 

29 - `"gpt-6-sol"`33 - `"gpt-6-sol"`


244 248 

245 - `"gpt-6-rosalind"`249 - `"gpt-6-rosalind"`

246 250 

251 - `"gpt-6.2-astra-law"`

252 

247 - `string`253 - `string`

248 254 

249- `image: optional object { context_compression }`255- `image: optional object { context_compression }`


2421 2427 

2422 - `skills: optional array of SkillReference or InlineSkill`2428 - `skills: optional array of SkillReference or InlineSkill`

2423 2429 

2424 An optional list of skills referenced by id or inline data.2430 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2425 2431 

2426 `maxItems: 200`2432 `maxItems: 200`

2427 2433 


6635 6641 

6636 - `skills: optional array of SkillReference or InlineSkill`6642 - `skills: optional array of SkillReference or InlineSkill`

6637 6643 

6638 An optional list of skills referenced by id or inline data.6644 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

6639 6645 

6640 `maxItems: 200`6646 `maxItems: 200`

6641 6647 

Details

35 Whether to run the model response in the background.35 Whether to run the model response in the background.

36 [Learn more](/api/docs/guides/background).36 [Learn more](/api/docs/guides/background).

37 37 

38- `background_options: optional object { completion_window, continuation_id }`

39 

40 Options for background execution on HTTP requests. The `2h` and `8h`

41 completion windows require `background: true`, Standard processing,

42 and `stream: false` or omitted.

43 

44 - `completion_window: optional "soonest" or "2h" or "8h"`

45 

46 The completion window for background execution. Defaults to `soonest`; `2h` and `8h` select discounted background execution.

47 

48 - `"soonest"`

49 

50 - `"2h"`

51 

52 - `"8h"`

53 

54 - `continuation_id: optional string`

55 

56 A customer-provided opaque identifier used to prioritize related background requests. It does not add prior history to the input.

57 

38- `context_management: optional array of object { type, compact_threshold } or null`58- `context_management: optional array of object { type, compact_threshold } or null`

39 59 

40 Context management configuration for this request.60 Context management configuration for this request.


2277 2297 

2278 - `skills: optional array of SkillReference or InlineSkill`2298 - `skills: optional array of SkillReference or InlineSkill`

2279 2299 

2280 An optional list of skills referenced by id or inline data.2300 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2281 2301 

2282 `maxItems: 200`2302 `maxItems: 200`

2283 2303 


4961 4981 

4962 - `string`4982 - `string`

4963 4983 

4964 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`4984 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

4965 4985 

4966 - `"gpt-6-astra"`4986 - `"gpt-6-astra"`

4967 4987 

4988 - `"gpt-6.2-astra"`

4989 

4968 - `"gpt-6.1-sol"`4990 - `"gpt-6.1-sol"`

4969 4991 

4992 - `"gpt-6.2-sol"`

4993 

4970 - `"gpt-6.1-terra"`4994 - `"gpt-6.1-terra"`

4971 4995 

4972 - `"gpt-6-sol"`4996 - `"gpt-6-sol"`


5143 5167 

5144 - `"gpt-3.5-turbo-16k-0613"`5168 - `"gpt-3.5-turbo-16k-0613"`

5145 5169 

5146 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`5170 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

5147 5171 

5148 - `"o1-pro"`5172 - `"o1-pro"`

5149 5173 


5189 5213 

5190 - `"gpt-6-rosalind"`5214 - `"gpt-6-rosalind"`

5191 5215 

5216 - `"gpt-6.2-astra-law"`

5217 

5192- `moderation: optional object { model, policy } or null`5218- `moderation: optional object { model, policy } or null`

5193 5219 

5194 Configuration for running moderation on the input and output of this response.5220 Configuration for running moderation on the input and output of this response.


9039 9065 

9040 - `skills: optional array of SkillReference or InlineSkill`9066 - `skills: optional array of SkillReference or InlineSkill`

9041 9067 

9042 An optional list of skills referenced by id or inline data.9068 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

9043 9069 

9044 `maxItems: 200`9070 `maxItems: 200`

9045 9071 


11705 11731 

11706 - `string`11732 - `string`

11707 11733 

11708 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`11734 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

11709 11735 

11710 - `"gpt-6-astra"`11736 - `"gpt-6-astra"`

11711 11737 

11738 - `"gpt-6.2-astra"`

11739 

11712 - `"gpt-6.1-sol"`11740 - `"gpt-6.1-sol"`

11713 11741 

11742 - `"gpt-6.2-sol"`

11743 

11714 - `"gpt-6.1-terra"`11744 - `"gpt-6.1-terra"`

11715 11745 

11716 - `"gpt-6-sol"`11746 - `"gpt-6-sol"`


11887 11917 

11888 - `"gpt-3.5-turbo-16k-0613"`11918 - `"gpt-3.5-turbo-16k-0613"`

11889 11919 

11890 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`11920 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

11891 11921 

11892 - `"o1-pro"`11922 - `"o1-pro"`

11893 11923 


11933 11963 

11934 - `"gpt-6-rosalind"`11964 - `"gpt-6-rosalind"`

11935 11965 

11966 - `"gpt-6.2-astra-law"`

11967 

11936 - `object: "response"`11968 - `object: "response"`

11937 11969 

11938 The object type of this resource - always set to `response`.11970 The object type of this resource - always set to `response`.

Details

2366 2366 

2367 - `skills: optional array of SkillReference or InlineSkill`2367 - `skills: optional array of SkillReference or InlineSkill`

2368 2368 

2369 An optional list of skills referenced by id or inline data.2369 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2370 2370 

2371 `maxItems: 200`2371 `maxItems: 200`

2372 2372 


5032 5032 

5033 - `string`5033 - `string`

5034 5034 

5035 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more`5035 - `"gpt-6-astra" or "gpt-6.2-astra" or "gpt-6.1-sol" or 89 more`

5036 5036 

5037 - `"gpt-6-astra"`5037 - `"gpt-6-astra"`

5038 5038 

5039 - `"gpt-6.2-astra"`

5040 

5039 - `"gpt-6.1-sol"`5041 - `"gpt-6.1-sol"`

5040 5042 

5043 - `"gpt-6.2-sol"`

5044 

5041 - `"gpt-6.1-terra"`5045 - `"gpt-6.1-terra"`

5042 5046 

5043 - `"gpt-6-sol"`5047 - `"gpt-6-sol"`


5214 5218 

5215 - `"gpt-3.5-turbo-16k-0613"`5219 - `"gpt-3.5-turbo-16k-0613"`

5216 5220 

5217 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 19 more`5221 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 20 more`

5218 5222 

5219 - `"o1-pro"`5223 - `"o1-pro"`

5220 5224 


5260 5264 

5261 - `"gpt-6-rosalind"`5265 - `"gpt-6-rosalind"`

5262 5266 

5267 - `"gpt-6.2-astra-law"`

5268 

5263 - `object: "response"`5269 - `object: "response"`

5264 5270 

5265 The object type of this resource - always set to `response`.5271 The object type of this resource - always set to `response`.

Details

2066 2066 

2067 - `skills: optional array of SkillReference or InlineSkill`2067 - `skills: optional array of SkillReference or InlineSkill`

2068 2068 

2069 An optional list of skills referenced by id or inline data.2069 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2070 2070 

2071 `maxItems: 200`2071 `maxItems: 200`

2072 2072 

Details

2190 2190 

2191 - `skills: optional array of SkillReference or InlineSkill`2191 - `skills: optional array of SkillReference or InlineSkill`

2192 2192 

2193 An optional list of skills referenced by id or inline data.2193 An optional list of skills referenced by id or inline data. Across all inline skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text must total at most 70,254,592 characters, including line breaks. Skill references do not count toward these limits.

2194 2194 

2195 `maxItems: 200`2195 `maxItems: 200`

2196 2196