Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .castiron.stats.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1
generation_id: 8defad98-453a-468b-8464-781e09fd2762
openapi_spec_hash: bf74c2ea8d8af0a1b2420a9507ce4c86
openapi_transformed_spec_hash: fd3d7f02692ebe761c69b0271e4c0335
config_hash: 98b84a99474d4d011c1aaa92435f067a
codegen_sha: 72337d33ad3b239e57dd5963ff8e6223272acad4
codegen_hash: 8ec58a11d0a9e1f5ac7c424a6b3371149dde4d3565d15aa6813c4bbb330adb8b
generation_id: e9941d21-1360-4441-acb7-35fcb6439809
openapi_spec_hash: 6344d2a2a6ab50df7d02b921f345e91f
openapi_transformed_spec_hash: ad19fe297b0058807523edf890c052b5
config_hash: a072a0df910fc0e910e6c914c16d88f7
codegen_sha: 751bc5ae151ab7e69327362cc2edee5282e8628e
codegen_hash: 827ca96a36c6c2aa60cbe9171e384670aefe1270b2706f95b0974797b0c92080
67 changes: 65 additions & 2 deletions api_reference/openapi.transformed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5066,12 +5066,16 @@ paths:
}
/evals:
get:
deprecated: true
operationId: listEvals
tags:
- Evals
summary: List evals
description: |
List evaluations for a project.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: after
in: query
Expand Down Expand Up @@ -5213,6 +5217,7 @@ paths:
"has_more": true
}
post:
deprecated: true
operationId: createEval
tags:
- Evals
Expand All @@ -5221,6 +5226,9 @@ paths:
Create the structure of an evaluation that can be used to test a model's performance.
An evaluation is a set of testing criteria and the config for a data source, which dictates the schema of the data used in the evaluation. After creating an evaluation, you can run it on different models and model parameters. We support several types of graders and datasources.
For more information, see the [Evals guide](https://developers.openai.com/api/docs/guides/evals).

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
requestBody:
required: true
content:
Expand Down Expand Up @@ -5402,12 +5410,16 @@ paths:
}
/evals/{eval_id}:
get:
deprecated: true
operationId: getEval
tags:
- Evals
summary: Get an eval
description: |
Get an evaluation by ID.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -5497,12 +5509,16 @@ paths:
"metadata": {}
}
post:
deprecated: true
operationId: updateEval
tags:
- Evals
summary: Update an eval
description: |
Update certain properties of an evaluation.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -5622,12 +5638,16 @@ paths:
"metadata": {"description": "Updated description"}
}
delete:
deprecated: true
operationId: deleteEval
tags:
- Evals
summary: Delete an eval
description: |
Delete an evaluation.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -5699,12 +5719,16 @@ paths:
}
/evals/{eval_id}/runs:
get:
deprecated: true
operationId: getEvalRuns
tags:
- Evals
summary: Get eval runs
description: |
Get a list of runs for an evaluation.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -5870,12 +5894,16 @@ paths:
"has_more": true
}
post:
deprecated: true
operationId: createEvalRun
tags:
- Evals
summary: Create eval run
description: |
Kicks off a new run for a given evaluation, specifying the data source, and what model configuration to use to test. The datasource will be validated against the schema specified in the config of the evaluation.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- in: path
name: eval_id
Expand Down Expand Up @@ -6071,12 +6099,16 @@ paths:
}
/evals/{eval_id}/runs/{run_id}:
get:
deprecated: true
operationId: getEvalRun
tags:
- Evals
summary: Get an eval run
description: |
Get an evaluation run by ID.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -6284,12 +6316,16 @@ paths:
"metadata": {}
}
delete:
deprecated: true
operationId: deleteEvalRun
tags:
- Evals
summary: Delete eval run
description: |
Delete an eval run.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -6371,12 +6407,16 @@ paths:
}
/evals/{eval_id}/runs/{run_id}/cancel:
post:
deprecated: true
operationId: cancelEvalRun
tags:
- Evals
summary: Cancel eval run
description: |
Cancel an ongoing evaluation run.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -6574,12 +6614,16 @@ paths:
}
/evals/{eval_id}/runs/{run_id}/output_items:
get:
deprecated: true
operationId: getEvalRunOutputItems
tags:
- Evals
summary: Get eval run output items
description: |
Get a list of output items for an evaluation run.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -6748,12 +6792,16 @@ paths:
}
/evals/{eval_id}/runs/{run_id}/output_items/{output_item_id}:
get:
deprecated: true
operationId: getEvalRunOutputItem
tags:
- Evals
summary: Get an output item of an eval run
description: |
Get an evaluation run output item by ID.

Deprecated. OpenAI scheduled the shutdown of the Evals API for November 30, 2026.
[Migrate to Promptfoo](https://developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo).
parameters:
- name: eval_id
in: path
Expand Down Expand Up @@ -56042,7 +56090,10 @@ components:
- type: object
description: |
Reference to a prompt template and its variables.
[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).

This field is deprecated in favor of
[prompts in application code](https://developers.openai.com/api/docs/guides/prompting/migrate-from-prompt-object).
OpenAI scheduled the shutdown of saved prompts for November 30, 2026.
required:
- id
properties:
Expand Down Expand Up @@ -56853,6 +56904,7 @@ components:
metadata:
$ref: '#/components/schemas/Metadata'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
input:
type: array
Expand Down Expand Up @@ -60108,6 +60160,7 @@ components:
metadata:
$ref: '#/components/schemas/Metadata'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
input:
type: array
Expand Down Expand Up @@ -60430,6 +60483,7 @@ components:
metadata:
$ref: '#/components/schemas/Metadata'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
input:
type: array
Expand Down Expand Up @@ -63132,6 +63186,7 @@ components:
format: unixtime
description: Expiration timestamp for the session, in seconds since epoch.
prompt:
deprecated: true
anyOf:
- $ref: '#/components/schemas/Prompt'
- type: 'null'
Expand Down Expand Up @@ -63331,6 +63386,7 @@ components:
truncation:
$ref: '#/components/schemas/RealtimeTruncation'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
required:
- client_secret
Expand Down Expand Up @@ -63583,6 +63639,7 @@ components:
truncation:
$ref: '#/components/schemas/RealtimeTruncation'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
required:
- type
Expand Down Expand Up @@ -64013,6 +64070,7 @@ components:
truncation:
$ref: '#/components/schemas/RealtimeTruncation'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
required:
- type
Expand Down Expand Up @@ -67546,6 +67604,7 @@ components:
tool_choice:
$ref: '#/components/schemas/ToolChoiceParam'
prompt:
deprecated: true
$ref: '#/components/schemas/Prompt'
ResponseQueuedEvent:
type: object
Expand Down Expand Up @@ -108556,13 +108615,17 @@ components:
tool_choice:
$ref: '#/components/schemas/BetaToolChoiceParam'
prompt:
deprecated: true
$ref: '#/components/schemas/BetaPrompt'
BetaPrompt:
anyOf:
- type: object
description: |
Reference to a prompt template and its variables.
[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).

This field is deprecated in favor of
[prompts in application code](https://developers.openai.com/api/docs/guides/prompting/migrate-from-prompt-object).
OpenAI scheduled the shutdown of saved prompts for November 30, 2026.
required:
- id
properties:
Expand Down
Loading
Loading