{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:google-deepreview/deepreview-get-user-quota":{"get":{"operationId":"dev_tools_google_deepreview_deepreview_get_user_quota","summary":"Retrieves the review quota limits and sliding-window usage for the authenticated caller.","description":"GET /v1/{+name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name of the singleton user quota to retrieve. Format: `userQuota`","schema":{"type":"string","description":"Required. The resource name of the singleton user quota to retrieve. Format: `userQuota`"}}],"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/dev-tools:google-deepreview/deepreview-operations-delete":{"post":{"operationId":"dev_tools_google_deepreview_deepreview_operations_delete","summary":"Deletes a long-running operation. This method indicates that the client is no longer interested in the…","description":"DELETE /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be deleted."}}}}}},"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/dev-tools:google-deepreview/deepreview-documents-estimate-review-cost":{"post":{"operationId":"dev_tools_google_deepreview_deepreview_documents_estimate_review_cost","summary":"Estimates what a review of a document would cost on the caller's Gemini API key. The estimate comes from…","description":"POST /v1/{+document}:estimateReviewCost","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["document","body"],"properties":{"document":{"type":"string","description":"Required. The document to review. Format: `documents/{document}`"},"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/dev-tools:google-deepreview/deepreview-documents-list":{"get":{"operationId":"dev_tools_google_deepreview_deepreview_documents_list","summary":"Lists documents for the authenticated caller with cursor pagination.","description":"GET /v1/documents","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Supported AIP-160 filter expressions (e.g., `display_name = \"...\"`).","schema":{"type":"string","description":"Optional. Supported AIP-160 filter expressions (e.g., `display_name = \"...\"`)."}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Supported AIP-132 order_by field.","schema":{"type":"string","description":"Optional. Supported AIP-132 order_by field."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most…","schema":{"type":"integer","description":"Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token received from a previous `ListDocuments` call.","schema":{"type":"string","description":"Optional. A page token received from a previous `ListDocuments` call."}}],"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/dev-tools:google-deepreview/deepreview-media-upload":{"post":{"operationId":"dev_tools_google_deepreview_deepreview_media_upload","summary":"Creates a new Document resource and ingests the manuscript via Scotty or Google Drive.","description":"POST /v1/documents","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"documentId":{"type":"string","description":"Optional. The ID to use for the document, which will become the final component of the document's resource name. If not provided, a unique…"},"requestId":{"type":"string","description":"Optional. Idempotency identifier for network retry safety (AIP-155). Must be a valid UUID4 string."},"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/dev-tools:google-deepreview/deepreview-documents-reviews-list":{"get":{"operationId":"dev_tools_google_deepreview_deepreview_documents_reviews_list","summary":"Lists all review execution runs for a document.","description":"GET /v1/{+parent}/reviews","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Supported AIP-160 filter expressions.","schema":{"type":"string","description":"Optional. Supported AIP-160 filter expressions."}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Supported AIP-132 order_by field.","schema":{"type":"string","description":"Optional. Supported AIP-132 order_by field."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most…","schema":{"type":"integer","description":"Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token received from a previous `ListReviews` call.","schema":{"type":"string","description":"Optional. A page token received from a previous `ListReviews` call."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent Document resource name. Format: `documents/{document}`","schema":{"type":"string","description":"Required. The parent Document resource name. Format: `documents/{document}`"}}],"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/dev-tools:google-deepreview/deepreview-documents-reviews-create":{"post":{"operationId":"dev_tools_google_deepreview_deepreview_documents_reviews_create","summary":"Creates and initiates an asynchronous multi-agent review for a document.","description":"POST /v1/{+parent}/reviews","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent Document resource name where this review will be created. Format: `documents/{document}`"},"requestId":{"type":"string","description":"Optional. Idempotency identifier for network retry safety (AIP-155). Must be a valid UUID4 string."},"reviewId":{"type":"string","description":"Optional. The ID to use for the review, which will become the final component of the review's resource name. If not provided, a unique…"},"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/dev-tools:google-deepreview/deepreview-media-download":{"get":{"operationId":"dev_tools_google_deepreview_deepreview_media_download","summary":"Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).","description":"GET /v1/{+name}:download","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name of the document to download. Format: `documents/{document}`","schema":{"type":"string","description":"Required. The resource name of the document to download. Format: `documents/{document}`"}}],"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/dev-tools:google-deepreview/deepreview-operations-cancel":{"post":{"operationId":"dev_tools_google_deepreview_deepreview_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v1/{+name}:cancel","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be cancelled."},"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"}}},"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"}}}}}}}