{"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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-list":{"get":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_list","summary":"Lists queries created by the current user.","description":"GET /queries","tags":["analytics"],"parameters":[{"name":"orderBy","in":"query","required":false,"description":"Field to sort the list by. Accepts the following values: * `queryId` (default) * `metadata.title` The default sorting order is ascending.…","schema":{"type":"string","description":"Field to sort the list by. Accepts the following values: * `queryId` (default) * `metadata.title` The default sorting order is ascending.…"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified.","schema":{"type":"integer","description":"Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified."}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying which page of results the server should return. Typically, this is the value of nextPageToken, returned from the…","schema":{"type":"string","description":"A token identifying which page of results the server should return. Typically, this is the value of nextPageToken, returned from the…"}}],"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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-create":{"post":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_create","summary":"Creates a new query.","description":"POST /queries","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-get":{"get":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_get","summary":"Retrieves a query.","description":"GET /queries/{queryId}","tags":["analytics"],"parameters":[{"name":"queryId","in":"query","required":true,"description":"Required. The ID of the query to retrieve.","schema":{"type":"string","description":"Required. The ID of the query 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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-delete":{"post":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_delete","summary":"Deletes an existing query as well as its generated reports.","description":"DELETE /queries/{queryId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["queryId"],"properties":{"queryId":{"type":"string","description":"Required. The ID of the query 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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-run":{"post":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_run","summary":"Runs an existing query to generate a report.","description":"POST /queries/{queryId}:run","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["queryId","body"],"properties":{"queryId":{"type":"string","description":"Required. The ID of the query to run."},"synchronous":{"type":"boolean","description":"Whether the query should be run synchronously. When `true`, the request won't return until the resulting report has finished running. This…"},"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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-reports-get":{"get":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_reports_get","summary":"Retrieves a report.","description":"GET /queries/{queryId}/reports/{reportId}","tags":["analytics"],"parameters":[{"name":"queryId","in":"query","required":true,"description":"Required. The ID of the query that generated the report.","schema":{"type":"string","description":"Required. The ID of the query that generated the report."}},{"name":"reportId","in":"query","required":true,"description":"Required. The ID of the query to retrieve.","schema":{"type":"string","description":"Required. The ID of the query 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/analytics:googleapis-doubleclickbidmanager/doubleclickbidmanager-queries-reports-list":{"get":{"operationId":"analytics_googleapis_doubleclickbidmanager_doubleclickbidmanager_queries_reports_list","summary":"Lists reports generated by the provided query.","description":"GET /queries/{queryId}/reports","tags":["analytics"],"parameters":[{"name":"orderBy","in":"query","required":false,"description":"Field to sort the list by. Accepts the following values: * `key.reportId` (default) The default sorting order is ascending. To specify…","schema":{"type":"string","description":"Field to sort the list by. Accepts the following values: * `key.reportId` (default) The default sorting order is ascending. To specify…"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified.","schema":{"type":"integer","description":"Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified."}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying which page of results the server should return. Typically, this is the value of nextPageToken returned from the…","schema":{"type":"string","description":"A token identifying which page of results the server should return. Typically, this is the value of nextPageToken returned from the…"}},{"name":"queryId","in":"query","required":true,"description":"Required. The ID of the query that generated the reports.","schema":{"type":"string","description":"Required. The ID of the query that generated the reports."}}],"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"}}}}}}}