{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:turso/list-databases":{"get":{"operationId":"cloud_turso_list_databases","summary":"List Databases","description":"GET /v1/organizations/{organizationSlug}/databases","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"group","in":"query","required":false,"description":"Filter databases by group name.","schema":{"type":"string","description":"Filter databases by group name."}},{"name":"schema","in":"query","required":false,"description":"The schema database name that can be used to get databases that belong to that parent schema.","schema":{"type":"string","description":"The schema database name that can be used to get databases that belong to that parent schema."}},{"name":"parent","in":"query","required":false,"description":"Filter database branches by using their parent database ID.","schema":{"type":"string","description":"Filter database branches by using their parent database ID."}}],"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:turso/create-database":{"post":{"operationId":"cloud_turso_create_database","summary":"Create Database","description":"POST /v1/organizations/{organizationSlug}/databases","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"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:turso/get-database":{"get":{"operationId":"cloud_turso_get_database","summary":"Retrieve Database","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}}],"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:turso/delete-database":{"post":{"operationId":"cloud_turso_delete_database","summary":"Delete Database","description":"DELETE /v1/organizations/{organizationSlug}/databases/{databaseName}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","databaseName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"databaseName":{"type":"string","description":"The name of the database."}}}}}},"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:turso/get-database-configuration":{"get":{"operationId":"cloud_turso_get_database_configuration","summary":"Retrieve Database Configuration","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}/configuration","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}}],"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:turso/update-database-configuration":{"post":{"operationId":"cloud_turso_update_database_configuration","summary":"Update Database Configuration","description":"PATCH /v1/organizations/{organizationSlug}/databases/{databaseName}/configuration","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","databaseName","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"databaseName":{"type":"string","description":"The name of the database."},"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:turso/list-database-instances":{"get":{"operationId":"cloud_turso_list_database_instances","summary":"List Database Instances","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}/instances","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}}],"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:turso/get-database-instance":{"get":{"operationId":"cloud_turso_get_database_instance","summary":"Retrieve Database Instance","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}/instances/{instanceName}","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}},{"name":"instanceName","in":"query","required":true,"description":"The name of the instance (location code).","schema":{"type":"string","description":"The name of the instance (location code)."}}],"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:turso/create-database-token":{"post":{"operationId":"cloud_turso_create_database_token","summary":"Generate Database Auth Token","description":"POST /v1/organizations/{organizationSlug}/databases/{databaseName}/auth/tokens","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","databaseName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"databaseName":{"type":"string","description":"The name of the database."},"expiration":{"type":"string","default":"never","description":"Expiration time for the token (e.g., 2w1d30m)."},"authorization":{"type":"string","enum":["full-access","read-only"],"default":"full-access","description":"Authorization level for the token (full-access or read-only)."},"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:turso/get-database-usage":{"get":{"operationId":"cloud_turso_get_database_usage","summary":"Retrieve Database Usage","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}/usage","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}},{"name":"from","in":"query","required":false,"description":"The datetime to retrieve usage **from** in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Defaults to the current calendar…","schema":{"type":"string","description":"The datetime to retrieve usage **from** in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Defaults to the current calendar…"}},{"name":"to","in":"query","required":false,"description":"The datetime to retrieve usage **to** in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Defaults to the current calendar month…","schema":{"type":"string","description":"The datetime to retrieve usage **to** in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Defaults to the current calendar month…"}}],"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:turso/get-database-stats":{"get":{"operationId":"cloud_turso_get_database_stats","summary":"Retrieve Database Stats","description":"GET /v1/organizations/{organizationSlug}/databases/{databaseName}/stats","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"databaseName","in":"query","required":true,"description":"The name of the database.","schema":{"type":"string","description":"The name of the database."}}],"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:turso/invalidate-database-tokens":{"post":{"operationId":"cloud_turso_invalidate_database_tokens","summary":"Invalidate All Database Auth Tokens","description":"POST /v1/organizations/{organizationSlug}/databases/{databaseName}/auth/rotate","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","databaseName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"databaseName":{"type":"string","description":"The name of the database."}}}}}},"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:turso/list-groups":{"get":{"operationId":"cloud_turso_list_groups","summary":"List Groups","description":"GET /v1/organizations/{organizationSlug}/groups","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/create-group":{"post":{"operationId":"cloud_turso_create_group","summary":"Create Group","description":"POST /v1/organizations/{organizationSlug}/groups","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"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:turso/get-group":{"get":{"operationId":"cloud_turso_get_group","summary":"Retrieve Group","description":"GET /v1/organizations/{organizationSlug}/groups/{groupName}","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"groupName","in":"query","required":true,"description":"The name of the group.","schema":{"type":"string","description":"The name of the group."}}],"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:turso/delete-group":{"post":{"operationId":"cloud_turso_delete_group","summary":"Delete Group","description":"DELETE /v1/organizations/{organizationSlug}/groups/{groupName}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."}}}}}},"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:turso/get-group-configuration":{"get":{"operationId":"cloud_turso_get_group_configuration","summary":"Retrieve Group Configuration","description":"GET /v1/organizations/{organizationSlug}/groups/{groupName}/configuration","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"groupName","in":"query","required":true,"description":"The name of the group.","schema":{"type":"string","description":"The name of the group."}}],"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:turso/update-group-configuration":{"post":{"operationId":"cloud_turso_update_group_configuration","summary":"Update Group Configuration","description":"PATCH /v1/organizations/{organizationSlug}/groups/{groupName}/configuration","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."},"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:turso/transfer-group":{"post":{"operationId":"cloud_turso_transfer_group","summary":"Transfer Group","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/transfer","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."},"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:turso/unarchive-group":{"post":{"operationId":"cloud_turso_unarchive_group","summary":"Unarchive Group","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/unarchive","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."}}}}}},"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:turso/add-location-to-group":{"post":{"operationId":"cloud_turso_add_location_to_group","summary":"Add Location to Group","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName","location"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."},"location":{"type":"string","description":"The location code to add to the group."}}}}}},"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:turso/remove-location-from-group":{"post":{"operationId":"cloud_turso_remove_location_from_group","summary":"Remove Location from Group","description":"DELETE /v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName","location"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."},"location":{"type":"string","description":"The location code to remove from the group."}}}}}},"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:turso/update-group-databases":{"post":{"operationId":"cloud_turso_update_group_databases","summary":"Update Databases in a Group","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/update","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."}}}}}},"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:turso/create-group-token":{"post":{"operationId":"cloud_turso_create_group_token","summary":"Create Group Auth Token","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/auth/tokens","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."},"expiration":{"type":"string","default":"never","description":"Expiration time for the token (e.g., 2w1d30m)."},"authorization":{"type":"string","enum":["full-access","read-only"],"default":"full-access","description":"Authorization level for the token (full-access or read-only)."},"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:turso/invalidate-group-tokens":{"post":{"operationId":"cloud_turso_invalidate_group_tokens","summary":"Invalidate All Group Auth Tokens","description":"POST /v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotate","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","groupName"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"groupName":{"type":"string","description":"The name of the group."}}}}}},"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:turso/list-locations":{"get":{"operationId":"cloud_turso_list_locations","summary":"List Locations","description":"GET /v1/locations","tags":["cloud"],"x-apizie-access":"read","parameters":[],"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:turso/list-organizations":{"get":{"operationId":"cloud_turso_list_organizations","summary":"List Organizations","description":"GET /v1/organizations","tags":["cloud"],"x-apizie-access":"read","parameters":[],"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:turso/get-organization":{"get":{"operationId":"cloud_turso_get_organization","summary":"Retrieve Organization","description":"GET /v1/organizations/{organizationSlug}","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/update-organization":{"post":{"operationId":"cloud_turso_update_organization","summary":"Update Organization","description":"PATCH /v1/organizations/{organizationSlug}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"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:turso/list-organization-plans":{"get":{"operationId":"cloud_turso_list_organization_plans","summary":"List Plans","description":"GET /v1/organizations/{organizationSlug}/plans","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/list-organization-invoices":{"get":{"operationId":"cloud_turso_list_organization_invoices","summary":"List Invoices","description":"GET /v1/organizations/{organizationSlug}/invoices","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"type","in":"query","required":false,"description":"The type of invoice to retrieve.","schema":{"type":"string","enum":["all","upcoming","issued"],"description":"The type of invoice 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:turso/get-organization-subscription":{"get":{"operationId":"cloud_turso_get_organization_subscription","summary":"Current Subscription","description":"GET /v1/organizations/{organizationSlug}/subscription","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/get-organization-usage":{"get":{"operationId":"cloud_turso_get_organization_usage","summary":"Organization Usage","description":"GET /v1/organizations/{organizationSlug}/usage","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/list-organization-members":{"get":{"operationId":"cloud_turso_list_organization_members","summary":"List Members","description":"GET /v1/organizations/{organizationSlug}/members","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/add-organization-member":{"post":{"operationId":"cloud_turso_add_organization_member","summary":"Add Member","description":"POST /v1/organizations/{organizationSlug}/members","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"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:turso/get-organization-member":{"get":{"operationId":"cloud_turso_get_organization_member","summary":"Retrieve Member","description":"GET /v1/organizations/{organizationSlug}/members/{username}","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"username","in":"query","required":true,"description":"The username of a Turso user or organization member.","schema":{"type":"string","description":"The username of a Turso user or organization member."}}],"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:turso/update-member-role":{"post":{"operationId":"cloud_turso_update_member_role","summary":"Update Member Role","description":"PATCH /v1/organizations/{organizationSlug}/members/{username}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","username","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"username":{"type":"string","description":"The username of a Turso user or organization member."},"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:turso/remove-organization-member":{"post":{"operationId":"cloud_turso_remove_organization_member","summary":"Remove Member","description":"DELETE /v1/organizations/{organizationSlug}/members/{username}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","username"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"username":{"type":"string","description":"The username of a Turso user or organization member."}}}}}},"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:turso/validate-apitoken":{"get":{"operationId":"cloud_turso_validate_apitoken","summary":"Validate API Token","description":"GET /v1/auth/validate","tags":["cloud"],"x-apizie-access":"read","parameters":[],"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:turso/list-apitokens":{"get":{"operationId":"cloud_turso_list_apitokens","summary":"List API Tokens","description":"GET /v1/auth/api-tokens","tags":["cloud"],"x-apizie-access":"read","parameters":[],"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:turso/create-apitoken":{"post":{"operationId":"cloud_turso_create_apitoken","summary":"Create API Token","description":"POST /v1/auth/api-tokens/{tokenName}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tokenName"],"properties":{"tokenName":{"type":"string","description":"The name of the api token."},"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:turso/revoke-apitoken":{"post":{"operationId":"cloud_turso_revoke_apitoken","summary":"Revoke API Token","description":"DELETE /v1/auth/api-tokens/{tokenName}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tokenName"],"properties":{"tokenName":{"type":"string","description":"The name of the api token."}}}}}},"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:turso/list-organization-apitokens":{"get":{"operationId":"cloud_turso_list_organization_apitokens","summary":"List Organization API Tokens","description":"GET /v1/organizations/{organizationSlug}/api-tokens","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/revoke-organization-apitoken":{"post":{"operationId":"cloud_turso_revoke_organization_apitoken","summary":"Revoke Organization API Token","description":"DELETE /v1/organizations/{organizationSlug}/api-tokens/{tokenId}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","tokenId"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"tokenId":{"type":"string","description":"The ID of the token to revoke (from the list endpoint)."}}}}}},"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:turso/list-organization-audit-logs":{"get":{"operationId":"cloud_turso_list_organization_audit_logs","summary":"List Audit Logs","description":"GET /v1/organizations/{organizationSlug}/audit-logs","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}},{"name":"page_size","in":"query","required":false,"description":"The limit of items to return per page. Defaults to 100.","schema":{"type":"integer","description":"The limit of items to return per page. Defaults to 100."}},{"name":"page","in":"query","required":false,"description":"The page number to return. Defaults to 1.","schema":{"type":"integer","description":"The page number to return. Defaults to 1."}}],"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:turso/list-organization-invites-v2":{"get":{"operationId":"cloud_turso_list_organization_invites_v2","summary":"List Invites","description":"GET /v2/organizations/{organizationSlug}/invites","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationSlug","in":"query","required":true,"description":"The slug of the organization or user account.","schema":{"type":"string","description":"The slug of the organization or user account."}}],"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:turso/invite-organization-member-v2":{"post":{"operationId":"cloud_turso_invite_organization_member_v2","summary":"Invite Organization Member","description":"POST /v2/organizations/{organizationSlug}/invites","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","body"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"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:turso/delete-organization-invite-by-email-v2":{"post":{"operationId":"cloud_turso_delete_organization_invite_by_email_v2","summary":"Delete Invite","description":"DELETE /v2/organizations/{organizationSlug}/invites/{email}","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationSlug","email"],"properties":{"organizationSlug":{"type":"string","description":"The slug of the organization or user account."},"email":{"type":"string","description":"The email of the user invited."}}}}}},"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:turso/get-current-user":{"get":{"operationId":"cloud_turso_get_current_user","summary":"Get Current User","description":"GET /v1/user","tags":["cloud"],"x-apizie-access":"read","parameters":[],"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:turso/list-deleted-databases":{"get":{"operationId":"cloud_turso_list_deleted_databases","summary":"List Deleted Databases","description":"GET /v3/organizations/{organizationId}/databases","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationId","in":"query","required":true,"description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field).","schema":{"type":"string","description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field)."}},{"name":"deleted","in":"query","required":true,"description":"Must be `true` to list deleted databases.","schema":{"type":"boolean","description":"Must be `true` to list deleted databases."}},{"name":"search","in":"query","required":false,"description":"Filter deleted databases by name.","schema":{"type":"string","description":"Filter deleted databases by name."}},{"name":"limit","in":"query","required":false,"description":"Page size, from 1 to 1000.","schema":{"type":"integer","default":100,"description":"Page size, from 1 to 1000."}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from the previous page's `pagination.next`.","schema":{"type":"string","description":"Opaque pagination cursor from the previous page's `pagination.next`."}}],"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:turso/restore-database":{"post":{"operationId":"cloud_turso_restore_database","summary":"Restore Database","description":"POST /v3/organizations/{organizationId}/databases/{databaseId}/restore","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationId","databaseId"],"properties":{"organizationId":{"type":"string","description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field)."},"databaseId":{"type":"string","description":"The UUID of the database, as returned when listing deleted databases (the `DbId` field)."},"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:turso/list-deleted-groups":{"get":{"operationId":"cloud_turso_list_deleted_groups","summary":"List Deleted Groups","description":"GET /v3/organizations/{organizationId}/deleted-groups","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"organizationId","in":"query","required":true,"description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field).","schema":{"type":"string","description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field)."}},{"name":"limit","in":"query","required":false,"description":"Page size, from 1 to 1000.","schema":{"type":"integer","default":100,"description":"Page size, from 1 to 1000."}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from the previous page's `pagination.next`.","schema":{"type":"string","description":"Opaque pagination cursor from the previous page's `pagination.next`."}}],"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:turso/restore-group":{"post":{"operationId":"cloud_turso_restore_group","summary":"Restore Group","description":"POST /v3/organizations/{organizationId}/groups/{groupId}/restore","tags":["cloud"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organizationId","groupId"],"properties":{"organizationId":{"type":"string","description":"The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the `id` field)."},"groupId":{"type":"string","description":"The UUID of the group, as returned when listing deleted groups (the `uuid` field)."}}}}}},"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":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"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"}}}}}}}