{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-ai-aiprojects/connections-list":{"get":{"operationId":"cloud_azure_ai_aiprojects_connections_list","summary":"List all connections in the project, without populating connection credentials","description":"GET /connections","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"connectionType","in":"query","required":false,"description":"List connections of this specific type","schema":{"type":"string","enum":["AzureOpenAI","AzureBlob","AzureStorageAccount","CognitiveSearch","CosmosDB","ApiKey","AppConfig","AppInsights","CustomKeys"],"description":"List connections of this specific type"}},{"name":"defaultConnection","in":"query","required":false,"description":"List connections that are default connections","schema":{"type":"boolean","description":"List connections that are default connections"}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/connections-get":{"get":{"operationId":"cloud_azure_ai_aiprojects_connections_get","summary":"Get a connection by name, without populating connection credentials","description":"GET /connections/{name}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"The friendly name of the connection, provided by the user.","schema":{"type":"string","description":"The friendly name of the connection, provided by the user."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/connections-get-with-credentials":{"post":{"operationId":"cloud_azure_ai_aiprojects_connections_get_with_credentials","summary":"Get a connection by name, with its connection credentials","description":"POST /connections/{name}/getConnectionWithCredentials","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The friendly name of the connection, provided by the user."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-list-latest":{"get":{"operationId":"cloud_azure_ai_aiprojects_datasets_list_latest","summary":"List the latest version of each DatasetVersion","description":"GET /datasets","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-list-versions":{"get":{"operationId":"cloud_azure_ai_aiprojects_datasets_list_versions","summary":"List all versions of the given DatasetVersion","description":"GET /datasets/{name}/versions","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"The name of the resource","schema":{"type":"string","description":"The name of the resource"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-get-version":{"get":{"operationId":"cloud_azure_ai_aiprojects_datasets_get_version","summary":"Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the…","description":"GET /datasets/{name}/versions/{version}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"The name of the resource","schema":{"type":"string","description":"The name of the resource"}},{"name":"version","in":"query","required":true,"description":"The specific version id of the DatasetVersion to retrieve.","schema":{"type":"string","description":"The specific version id of the DatasetVersion to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-create-or-update-version":{"post":{"operationId":"cloud_azure_ai_aiprojects_datasets_create_or_update_version","summary":"Create a new or update an existing DatasetVersion with the given version id","description":"PATCH /datasets/{name}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The specific version id of the DatasetVersion to create or update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-delete-version":{"post":{"operationId":"cloud_azure_ai_aiprojects_datasets_delete_version","summary":"Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion…","description":"DELETE /datasets/{name}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The version of the DatasetVersion to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-get-credentials":{"post":{"operationId":"cloud_azure_ai_aiprojects_datasets_get_credentials","summary":"Get the SAS credential to access the storage account associated with a Dataset version.","description":"POST /datasets/{name}/versions/{version}/credentials","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The specific version id of the DatasetVersion to operate on."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/datasets-start-pending-upload-version":{"post":{"operationId":"cloud_azure_ai_aiprojects_datasets_start_pending_upload_version","summary":"Start a new or get an existing pending upload of a dataset for a specific version.","description":"POST /datasets/{name}/versions/{version}/startPendingUpload","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The specific version id of the DatasetVersion to operate on."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/deployments-list":{"get":{"operationId":"cloud_azure_ai_aiprojects_deployments_list","summary":"List all deployed models in the project","description":"GET /deployments","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"modelPublisher","in":"query","required":false,"description":"Model publisher to filter models by","schema":{"type":"string","description":"Model publisher to filter models by"}},{"name":"modelName","in":"query","required":false,"description":"Model name (the publisher specific name) to filter models by","schema":{"type":"string","description":"Model name (the publisher specific name) to filter models by"}},{"name":"deploymentType","in":"query","required":false,"description":"Type of deployment to filter list by","schema":{"type":"string","enum":["ModelDeployment"],"description":"Type of deployment to filter list by"}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/deployments-get":{"get":{"operationId":"cloud_azure_ai_aiprojects_deployments_get","summary":"Get a deployed model.","description":"GET /deployments/{name}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"Name of the deployment","schema":{"type":"string","description":"Name of the deployment"}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/indexes-list-latest":{"get":{"operationId":"cloud_azure_ai_aiprojects_indexes_list_latest","summary":"List the latest version of each Index","description":"GET /indexes","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/indexes-list-versions":{"get":{"operationId":"cloud_azure_ai_aiprojects_indexes_list_versions","summary":"List all versions of the given Index","description":"GET /indexes/{name}/versions","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"The name of the resource","schema":{"type":"string","description":"The name of the resource"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/indexes-get-version":{"get":{"operationId":"cloud_azure_ai_aiprojects_indexes_get_version","summary":"Get the specific version of the Index. The service returns 404 Not Found error if the Index does not exist.","description":"GET /indexes/{name}/versions/{version}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"name","in":"query","required":true,"description":"The name of the resource","schema":{"type":"string","description":"The name of the resource"}},{"name":"version","in":"query","required":true,"description":"The specific version id of the Index to retrieve.","schema":{"type":"string","description":"The specific version id of the Index to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/indexes-create-or-update-version":{"post":{"operationId":"cloud_azure_ai_aiprojects_indexes_create_or_update_version","summary":"Create a new or update an existing Index with the given version id","description":"PATCH /indexes/{name}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The specific version id of the Index to create or update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/indexes-delete-version":{"post":{"operationId":"cloud_azure_ai_aiprojects_indexes_delete_version","summary":"Delete the specific version of the Index. The service returns 204 No Content if the Index was deleted…","description":"DELETE /indexes/{name}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","name","version"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"name":{"type":"string","description":"The name of the resource"},"version":{"type":"string","description":"The version of the Index to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-list-evals":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_list_evals","summary":"List all evaluations","description":"GET /openai/evals","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"after","in":"query","required":false,"description":"Identifier for the last run from the previous pagination request.","schema":{"type":"string","description":"Identifier for the last run from the previous pagination request."}},{"name":"limit","in":"query","required":false,"description":"Number of runs to retrieve.","schema":{"type":"integer","default":20,"description":"Number of runs to retrieve."}},{"name":"order","in":"query","required":false,"description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.","schema":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."}},{"name":"order_by","in":"query","required":false,"description":"Evals can be ordered by creation time or last updated time. Use `created_at` for creation time or `updated_at` for last updated time.","schema":{"type":"string","enum":["created_at","updated_at"],"default":"created_at","description":"Evals can be ordered by creation time or last updated time. Use `created_at` for creation time or `updated_at` for last updated time."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-create-eval":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_create_eval","summary":"Create evaluation","description":"POST /openai/evals","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-get-eval":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_get_eval","summary":"Get an evaluation","description":"GET /openai/evals/{eval_id}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"eval_id","in":"query","required":true,"description":"The ID of the evaluation to retrieve.","schema":{"type":"string","description":"The ID of the evaluation to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-update-eval":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_update_eval","summary":"Update an evaluation","description":"POST /openai/evals/{eval_id}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","eval_id","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"eval_id":{"type":"string","description":"The ID of the evaluation to update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-delete-eval":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_delete_eval","summary":"Delete an evaluation","description":"DELETE /openai/evals/{eval_id}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","eval_id"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"eval_id":{"type":"string","description":"The ID of the evaluation to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-list-runs":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_list_runs","summary":"Get a list of runs for an evaluation","description":"GET /openai/evals/{eval_id}/runs","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"eval_id","in":"query","required":true,"description":"The ID of the evaluation to retrieve runs for.","schema":{"type":"string","description":"The ID of the evaluation to retrieve runs for."}},{"name":"after","in":"query","required":false,"description":"Identifier for the last run from the previous pagination request.","schema":{"type":"string","description":"Identifier for the last run from the previous pagination request."}},{"name":"limit","in":"query","required":false,"description":"Number of runs to retrieve.","schema":{"type":"integer","default":20,"description":"Number of runs to retrieve."}},{"name":"order","in":"query","required":false,"description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.","schema":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."}},{"name":"status","in":"query","required":false,"description":"Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` | `canceled`.","schema":{"type":"string","enum":["queued","in_progress","completed","canceled","failed"],"description":"Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` | `canceled`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-create-eval-run":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_create_eval_run","summary":"Create evaluation run","description":"POST /openai/evals/{eval_id}/runs","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","eval_id","body"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"eval_id":{"type":"string","description":"The ID of the evaluation to create a run for."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-get-eval-run":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_get_eval_run","summary":"Get an evaluation run","description":"GET /openai/evals/{eval_id}/runs/{run_id}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"eval_id","in":"query","required":true,"description":"The ID of the evaluation to retrieve runs for.","schema":{"type":"string","description":"The ID of the evaluation to retrieve runs for."}},{"name":"run_id","in":"query","required":true,"description":"The ID of the run to retrieve.","schema":{"type":"string","description":"The ID of the run to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-cancel-eval-run":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_cancel_eval_run","summary":"Cancel evaluation run","description":"POST /openai/evals/{eval_id}/runs/{run_id}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","eval_id","run_id"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"eval_id":{"type":"string","description":"The ID of the evaluation whose run you want to cancel."},"run_id":{"type":"string","description":"The ID of the run to cancel."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-delete-eval-run":{"post":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_delete_eval_run","summary":"Delete evaluation run","description":"DELETE /openai/evals/{eval_id}/runs/{run_id}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","eval_id","run_id"],"properties":{"endpoint":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"},"api-version":{"type":"string","default":"v1","description":"The API version to use for this operation."},"eval_id":{"type":"string","description":"The ID of the evaluation to delete the run from."},"run_id":{"type":"string","description":"The ID of the run to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-get-eval-run-output-items":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_get_eval_run_output_items","summary":"Get evaluation run output items","description":"GET /openai/evals/{eval_id}/runs/{run_id}/output_items","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"eval_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"query","required":true,"description":"The ID of the run to retrieve output items for.","schema":{"type":"string","description":"The ID of the run to retrieve output items for."}},{"name":"after","in":"query","required":false,"description":"Identifier for the last run from the previous pagination request.","schema":{"type":"string","description":"Identifier for the last run from the previous pagination request."}},{"name":"limit","in":"query","required":false,"description":"Number of runs to retrieve.","schema":{"type":"integer","default":20,"description":"Number of runs to retrieve."}},{"name":"order","in":"query","required":false,"description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.","schema":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."}},{"name":"status","in":"query","required":false,"description":"Filter output items by status. Use `failed` to filter by failed output items or `pass` to filter by passed output items.","schema":{"type":"string","enum":["fail","pass"],"description":"Filter output items by status. Use `failed` to filter by failed output items or `pass` to filter by passed output items."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-ai-aiprojects/open-aievals-get-eval-run-output-item":{"get":{"operationId":"cloud_azure_ai_aiprojects_open_aievals_get_eval_run_output_item","summary":"Get an output item of an evaluation run","description":"GET /openai/evals/{eval_id}/runs/{run_id}/output_items/{output_item_id}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…","schema":{"type":"string","description":"Foundry Project endpoint in the form \"https://{ai-services-account-name}.services.ai.azure.com/api/projects/{project-name}\". If you only…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"v1","description":"The API version to use for this operation."}},{"name":"eval_id","in":"query","required":true,"description":"The ID of the evaluation to retrieve runs for.","schema":{"type":"string","description":"The ID of the evaluation to retrieve runs for."}},{"name":"run_id","in":"query","required":true,"description":"The ID of the run to retrieve.","schema":{"type":"string","description":"The ID of the run to retrieve."}},{"name":"output_item_id","in":"query","required":true,"description":"The ID of the output item to retrieve.","schema":{"type":"string","description":"The ID of the output item to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}