{"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/ai:cohere/chat":{"post":{"operationId":"ai_cohere_chat","summary":"Chat API (v1)","description":"POST /v1/chat","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"Accepts":{"type":"string","enum":["text/event-stream"],"description":"Pass text/event-stream to receive the streamed response as server-sent events. The default is `\\n` delimited events."},"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/ai:cohere/chatv2":{"post":{"operationId":"ai_cohere_chatv2","summary":"Chat API (v2)","description":"POST /v2/chat","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/parsev2":{"post":{"operationId":"ai_cohere_parsev2","summary":"Parse API (v2)","description":"POST /v2/parse","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/embed":{"post":{"operationId":"ai_cohere_embed","summary":"Embed API (v1)","description":"POST /v1/embed","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/embedv2":{"post":{"operationId":"ai_cohere_embedv2","summary":"Embed API (v2)","description":"POST /v2/embed","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/create-transcription":{"post":{"operationId":"ai_cohere_create_transcription","summary":"Create a transcription","description":"POST /v2/audio/transcriptions","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"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/ai:cohere/list-batches":{"get":{"operationId":"ai_cohere_list_batches","summary":"List batches","description":"GET /v2/batches","tags":["ai"],"parameters":[{"name":"page_size","in":"query","required":false,"description":"The maximum number of batches to return. The service may return fewer than this value. If unspecified, at most 50 batches will be…","schema":{"type":"integer","description":"The maximum number of batches to return. The service may return fewer than this value. If unspecified, at most 50 batches will be…"}},{"name":"page_token","in":"query","required":false,"description":"A page token, received from a previous `ListBatches` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"A page token, received from a previous `ListBatches` call. Provide this to retrieve the subsequent page."}},{"name":"order_by","in":"query","required":false,"description":"Batches 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","description":"Batches can be ordered by creation time or last updated time. Use `created_at` for creation time or `updated_at` for last updated time."}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/create-batch":{"post":{"operationId":"ai_cohere_create_batch","summary":"Create a batch","description":"POST /v2/batches","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/get-batch":{"get":{"operationId":"ai_cohere_get_batch","summary":"Retrieve a batch","description":"GET /v2/batches/{id}","tags":["ai"],"parameters":[{"name":"id","in":"query","required":true,"description":"The batch ID.","schema":{"type":"string","description":"The batch ID."}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/cancel-batch":{"post":{"operationId":"ai_cohere_cancel_batch","summary":"Cancel a batch","description":"POST /v2/batches/{id}:cancel","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The batch ID."},"X-Client-Name":{"type":"string","description":"The name of the project that is making 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/ai:cohere/list-embed-jobs":{"get":{"operationId":"ai_cohere_list_embed_jobs","summary":"List Embed Jobs","description":"GET /v1/embed-jobs","tags":["ai"],"parameters":[{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/create-embed-job":{"post":{"operationId":"ai_cohere_create_embed_job","summary":"Create an Embed Job","description":"POST /v1/embed-jobs","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/get-embed-job":{"get":{"operationId":"ai_cohere_get_embed_job","summary":"Fetch an Embed Job","description":"GET /v1/embed-jobs/{id}","tags":["ai"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the embed job to retrieve.","schema":{"type":"string","description":"The ID of the embed job to retrieve."}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/cancel-embed-job":{"post":{"operationId":"ai_cohere_cancel_embed_job","summary":"Cancel an Embed Job","description":"POST /v1/embed-jobs/{id}/cancel","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the embed job to cancel."},"X-Client-Name":{"type":"string","description":"The name of the project that is making 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/ai:cohere/rerank":{"post":{"operationId":"ai_cohere_rerank","summary":"Rerank API (v1)","description":"POST /v1/rerank","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/rerankv2":{"post":{"operationId":"ai_cohere_rerankv2","summary":"Rerank API (v2)","description":"POST /v2/rerank","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/list-datasets":{"get":{"operationId":"ai_cohere_list_datasets","summary":"List Datasets","description":"GET /v1/datasets","tags":["ai"],"parameters":[{"name":"datasetType","in":"query","required":false,"description":"optional filter by dataset type","schema":{"type":"string","description":"optional filter by dataset type"}},{"name":"before","in":"query","required":false,"description":"optional filter before a date","schema":{"type":"string","description":"optional filter before a date"}},{"name":"after","in":"query","required":false,"description":"optional filter after a date","schema":{"type":"string","description":"optional filter after a date"}},{"name":"limit","in":"query","required":false,"description":"optional limit to number of results","schema":{"type":"number","description":"optional limit to number of results"}},{"name":"offset","in":"query","required":false,"description":"optional offset to start of results","schema":{"type":"number","description":"optional offset to start of results"}},{"name":"validationStatus","in":"query","required":false,"description":"optional filter by validation status","schema":{"type":"string","enum":["unknown","queued","processing","failed","validated","skipped"],"description":"optional filter by validation status"}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/create-dataset":{"post":{"operationId":"ai_cohere_create_dataset","summary":"Create a Dataset","description":"POST /v1/datasets","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","description":"The name of the uploaded dataset."},"type":{"type":"string","enum":["embed-input","embed-result","cluster-result","cluster-outliers","reranker-finetune-input","single-label-classification-finetune-input","chat-finetune-input","multi-label-classification-finetune-input","batch-chat-input","batch-openai-chat-input","batch-embed-v2-input","batch-chat-v2-input"],"description":"The dataset type, which is used to validate the data. The only valid type is `embed-input` used in conjunction with the Embed Jobs API."},"keep_original_file":{"type":"boolean","description":"Indicates if the original file should be stored."},"skip_malformed_input":{"type":"boolean","description":"Indicates whether rows with malformed input should be dropped (instead of failing the validation check). Dropped rows will be returned in…"},"keep_fields":{"type":"array","description":"List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in…"},"optional_fields":{"type":"array","description":"List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in…"},"text_separator":{"type":"string","description":"Raw .txt uploads will be split into entries using the text_separator value."},"csv_delimiter":{"type":"string","description":"The delimiter used for .csv uploads."},"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"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/ai:cohere/get-dataset-usage":{"get":{"operationId":"ai_cohere_get_dataset_usage","summary":"Get Dataset Usage","description":"GET /v1/datasets/usage","tags":["ai"],"parameters":[{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/get-dataset":{"get":{"operationId":"ai_cohere_get_dataset","summary":"Get a Dataset","description":"GET /v1/datasets/{id}","tags":["ai"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/delete-dataset":{"post":{"operationId":"ai_cohere_delete_dataset","summary":"Delete a Dataset","description":"DELETE /v1/datasets/{id}","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"X-Client-Name":{"type":"string","description":"The name of the project that is making 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/ai:cohere/tokenize":{"post":{"operationId":"ai_cohere_tokenize","summary":"Tokenize","description":"POST /v1/tokenize","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/detokenize":{"post":{"operationId":"ai_cohere_detokenize","summary":"Detokenize","description":"POST /v1/detokenize","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making the request."},"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/ai:cohere/get-model":{"get":{"operationId":"ai_cohere_get_model","summary":"Get a Model","description":"GET /v1/models/{model}","tags":["ai"],"parameters":[{"name":"model","in":"query","required":true,"schema":{"type":"string"}},{"name":"X-Client-Name","in":"query","required":false,"description":"The name of the project that is making the request.","schema":{"type":"string","description":"The name of the project that is making the request."},"example":"my-cool-project"}],"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/ai:cohere/list-models":{"get":{"operationId":"ai_cohere_list_models","summary":"List Models","description":"GET /v1/models","tags":["ai"],"parameters":[{"name":"page_size","in":"query","required":false,"description":"Maximum number of models to include in a page Defaults to `20`, min value of `1`, max value of `1000`.","schema":{"type":"number","description":"Maximum number of models to include in a page Defaults to `20`, min value of `1`, max value of `1000`."}},{"name":"page_token","in":"query","required":false,"description":"Page token provided in the `next_page_token` field of a previous response.","schema":{"type":"string","description":"Page token provided in the `next_page_token` field of a previous response."}},{"name":"endpoint","in":"query","required":false,"description":"When provided, filters the list of models to only those that are compatible with the specified endpoint.","schema":{"type":"string","enum":["chat","embed","classify","summarize","rerank","rate","generate"],"description":"When provided, filters the list of models to only those that are compatible with the specified endpoint."}},{"name":"default_only","in":"query","required":false,"description":"When provided, filters the list of models to only the default model to the endpoint. This parameter is only valid when `endpoint` is…","schema":{"type":"boolean","description":"When provided, filters the list of models to only the default model to the endpoint. This parameter is only valid when `endpoint` is…"}}],"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/ai:cohere/check-apikey":{"post":{"operationId":"ai_cohere_check_apikey","summary":"Check API key","description":"POST /v1/check-api-key","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"X-Client-Name":{"type":"string","description":"The name of the project that is making 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"}}},"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"}}}}}}}