{"components": {"schemas": {"HTTPValidationError": {"properties": {"detail": {"items": {"$ref": "#/components/schemas/ValidationError"}, "title": "Detail", "type": "array"}}, "title": "HTTPValidationError", "type": "object"}, "HealthResponse": {"properties": {"app_name": {"title": "App Name", "type": "string"}, "env": {"title": "Env", "type": "string"}, "status": {"title": "Status", "type": "string"}, "version": {"title": "Version", "type": "string"}}, "required": ["status", "env", "version", "app_name"], "title": "HealthResponse", "type": "object"}, "TokensData": {"properties": {"tokens": {"example": ["bed5d31217596118fb297fd84bf3bd3a"], "items": {"type": "string"}, "title": "Tokens", "type": "array"}}, "required": ["tokens"], "title": "TokensData", "type": "object"}, "ValidationError": {"properties": {"loc": {"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]}, "title": "Location", "type": "array"}, "msg": {"title": "Message", "type": "string"}, "type": {"title": "Error Type", "type": "string"}}, "required": ["loc", "msg", "type"], "title": "ValidationError", "type": "object"}}, "securitySchemes": {"HTTPBearer": {"description": "Mindee's platform JWT", "scheme": "bearer", "type": "http"}}}, "info": {"title": "portal", "version": "0.1.0"}, "openapi": "3.1.0", "paths": {"/internal/cache": {"delete": {"description": "This route clears the whole application's cache", "operationId": "clear_cache_internal_cache_delete", "responses": {"204": {"description": "Successful Response"}}, "security": [{"HTTPBearer": []}], "summary": "Clear Cache", "tags": ["cache"]}}, "/internal/cache/tokens": {"put": {"description": "This route is used to clear all cached resources, given a list of tokens found in the\nrequest body. Most of the time, this is used when we need to clear the cache of a whole\nsubscription: it means we need to clear the cache for all of its tokens.", "operationId": "clear_multiple_tokens_cache_internal_cache_tokens_put", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TokensData"}}}, "required": true}, "responses": {"204": {"description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "security": [{"HTTPBearer": []}], "summary": "Clear Multiple Tokens Cache", "tags": ["cache"]}}, "/internal/health": {"delete": {"operationId": "health_check_internal_health_delete", "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HealthResponse"}}}, "description": "Successful Response"}}, "summary": "Health Check", "tags": ["health"]}, "get": {"operationId": "health_check_internal_health_get", "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HealthResponse"}}}, "description": "Successful Response"}}, "summary": "Health Check", "tags": ["health"]}, "post": {"operationId": "health_check_internal_health_post", "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HealthResponse"}}}, "description": "Successful Response"}}, "summary": "Health Check", "tags": ["health"]}, "put": {"operationId": "health_check_internal_health_put", "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HealthResponse"}}}, "description": "Successful Response"}}, "summary": "Health Check", "tags": ["health"]}}, "/v1/customers/self/products": {"get": {"operationId": "send_request_v1_customers_self_products_get", "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}}, "summary": "Send Request"}}, "/v1/documents/{document_id}/feedback": {"patch": {"operationId": "send_request_v1_documents__document_id__feedback_patch", "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}}, "summary": "Send Request"}, "put": {"operationId": "send_request_v1_documents__document_id__feedback_patch", "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}}, "summary": "Send Request"}}, "/v1/products/{account}/{product}/{version}/documents/queue/{job_id}": {"get": {"operationId": "send_request_v1_products__account___product___version__documents_queue__job_id__get", "parameters": [{"in": "path", "name": "account", "required": true, "schema": {"title": "Account", "type": "string"}}, {"in": "path", "name": "product", "required": true, "schema": {"title": "Product", "type": "string"}}, {"in": "path", "name": "version", "required": true, "schema": {"title": "Version", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "summary": "Send Request"}}, "/v1/products/{account}/{product}/{version}/documents/{document_id}": {"get": {"operationId": "send_request_v1_products__account___product___version__documents__document_id__get", "parameters": [{"in": "path", "name": "account", "required": true, "schema": {"title": "Account", "type": "string"}}, {"in": "path", "name": "product", "required": true, "schema": {"title": "Product", "type": "string"}}, {"in": "path", "name": "version", "required": true, "schema": {"title": "Version", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "summary": "Send Request"}}, "/v1/products/{account}/{product}/{version}/openapi.json": {"get": {"operationId": "send_request_v1_products__account___product___version__openapi_json_get", "parameters": [{"in": "path", "name": "account", "required": true, "schema": {"title": "Account", "type": "string"}}, {"in": "path", "name": "product", "required": true, "schema": {"title": "Product", "type": "string"}}, {"in": "path", "name": "version", "required": true, "schema": {"title": "Version", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "summary": "Send Request"}}, "/v1/products/{account}/{product}/{version}/predict": {"post": {"operationId": "send_request_v1_products__account___product___version__predict_post", "parameters": [{"in": "path", "name": "account", "required": true, "schema": {"title": "Account", "type": "string"}}, {"in": "path", "name": "product", "required": true, "schema": {"title": "Product", "type": "string"}}, {"in": "path", "name": "version", "required": true, "schema": {"title": "Version", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "summary": "Send Request"}}, "/v1/products/{account}/{product}/{version}/predict_async": {"post": {"operationId": "send_request_v1_products__account___product___version__predict_async_post", "parameters": [{"in": "path", "name": "account", "required": true, "schema": {"title": "Account", "type": "string"}}, {"in": "path", "name": "product", "required": true, "schema": {"title": "Product", "type": "string"}}, {"in": "path", "name": "version", "required": true, "schema": {"title": "Version", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}, "description": "Validation Error"}}, "summary": "Send Request"}}, "/v1/workflows/{workflow_id}/executions": {"post": {"operationId": "send_request_v1_workflows__workflow_id__executions_post", "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}}, "summary": "Send Request"}}, "/v1/workflows/{workflow_id}/predict_async": {"post": {"operationId": "send_request_v1_workflows__workflow_id__predict_async_post", "responses": {"200": {"content": {"application/json": {"schema": {}}}, "description": "Successful Response"}}, "summary": "Send Request"}}}}