{"openapi":"3.1.0","info":{"title":"OpenRows API","version":"0.1.0","description":"The OpenRows HTTP API. The public REST API v1 (`/api/v1`) follows Airtable's Web API; the other routes are the ones the web app uses. Authenticate with a personal access token (`Authorization: Bearer or_pat_…`) or the session cookie. Guides: `/docs/api`.","license":{"name":"AGPL-3.0-only","identifier":"AGPL-3.0-only"}},"servers":[{"url":"https://app.openrows.io"}],"paths":{"/api/me":{"get":{"operationId":"getMe","summary":"The signed-in user and their session","description":"Access: any signed-in user, for their own data; personal access tokens need `user.email:read`.","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"isSystemAdmin":{"type":"boolean"}},"required":["id","email","name","avatarUrl","isSystemAdmin"],"additionalProperties":false},"session":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"authenticatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["createdAt","expiresAt"],"additionalProperties":false},"impersonation":{"anyOf":[{"type":"object","properties":{"adminEmail":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["adminEmail","expiresAt"],"additionalProperties":false},{"type":"null"}]}},"required":["user","session"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/deletion":{"get":{"operationId":"getMeDeletion","summary":"What deleting your account would do to the workspaces you own","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":["string","null"]},"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"outcome":{"type":"string","enum":["delete","leave","blocked"]},"others":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","name","outcome","others"],"additionalProperties":false}},"reauthenticatedUntil":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["email","workspaces","reauthenticatedUntil"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/delete":{"post":{"operationId":"postMeDelete","summary":"Delete your account: signed out everywhere, data hard-deleted within 30 days","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["auth"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"confirmEmail":{"type":"string","minLength":1,"maxLength":320}},"required":["confirmEmail"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"purgeBy":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"workspaces":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["purgeBy","workspaces"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/support-access":{"get":{"operationId":"getMeSupportAccess","summary":"When OpenRows staff viewed your account as you, read-only","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"entries":{"type":"array","items":{"type":"object","properties":{"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reason":{"type":["string","null"]}},"required":["startedAt","expiresAt","reason"],"additionalProperties":false}}},"required":["entries"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/impersonation":{"delete":{"operationId":"deleteMeImpersonation","summary":"End a system admin's impersonation of this account in this session","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["auth"],"parameters":[],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/tokens":{"get":{"operationId":"getMeTokens","summary":"The caller's personal access tokens (never their secrets)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["tokens"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["data.records:read","data.records:write","data.recordComments:read","data.recordComments:write","schema.bases:read","schema.bases:write","webhook:manage","automations:read","automations:manage","automations:run","user.email:read"]}},"workspaceIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"usage":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"requests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["day","requests"],"additionalProperties":false}}},"required":["id","name","prefix","scopes","workspaceIds","baseIds","createdAt","expiresAt","lastUsedAt","usage"],"additionalProperties":false}}},"required":["tokens"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postMeTokens","summary":"Create a personal access token; the answer is the only time its secret is shown","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["tokens"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"scopes":{"minItems":1,"maxItems":11,"type":"array","items":{"type":"string","enum":["data.records:read","data.records:write","data.recordComments:read","data.recordComments:write","schema.bases:read","schema.bases:write","webhook:manage","automations:read","automations:manage","automations:run","user.email:read"]}},"workspaceIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"expiresInDays":{"default":90,"type":"integer","minimum":1,"maximum":365}},"required":["name","scopes"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["data.records:read","data.records:write","data.recordComments:read","data.recordComments:write","schema.bases:read","schema.bases:write","webhook:manage","automations:read","automations:manage","automations:run","user.email:read"]}},"workspaceIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"usage":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"requests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["day","requests"],"additionalProperties":false}},"token":{"type":"string"}},"required":["id","name","prefix","scopes","workspaceIds","baseIds","createdAt","expiresAt","lastUsedAt","usage","token"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/tokens/{tokenId}":{"delete":{"operationId":"deleteMeTokensByTokenId","summary":"Revoke a personal access token","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["tokens"],"parameters":[{"name":"tokenId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/notices":{"get":{"operationId":"getMeNotices","summary":"Service notices (Terms, privacy, price and plan changes) the caller hasn't dismissed","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notices"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"notices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["terms","privacy","price","plan","service"]},"title":{"type":"string"},"summary":{"type":"string"},"url":{"type":"string","format":"uri"},"effectiveAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","kind","title","summary","url","effectiveAt","publishedAt"],"additionalProperties":false}}},"required":["notices"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/notices/{noticeId}/dismiss":{"post":{"operationId":"postMeNoticesByNoticeIdDismiss","summary":"Dismiss a service notice's banner for the caller","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notices"],"parameters":[{"name":"noticeId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces":{"get":{"operationId":"getWorkspaces","summary":"The caller's workspaces, with their role in each (null where they collaborate on some bases only)","description":"Access: any signed-in user, for their own data; personal access tokens need `schema.bases:read`.","tags":["workspaces"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","role","createdAt","updatedAt"],"additionalProperties":false}}},"required":["workspaces"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postWorkspaces","summary":"Create a workspace (the caller becomes its owner)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}":{"get":{"operationId":"getWorkspacesByWorkspaceId","summary":"Read a workspace","description":"Access: `workspace:read` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchWorkspacesByWorkspaceId","summary":"Rename a workspace (owners)","description":"Access: `workspace:update` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceId","summary":"Delete a workspace (owners; soft delete, everyone loses access at once)","description":"Access: `workspace:delete` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/members":{"get":{"operationId":"getWorkspacesByWorkspaceIdMembers","summary":"The members of a workspace","description":"Access: `workspace:read` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["members"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"joinedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["userId","email","name","avatarUrl","role","joinedAt"],"additionalProperties":false}}},"required":["members"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/collaborators":{"get":{"operationId":"getWorkspacesByWorkspaceIdCollaborators","summary":"The workspace's collaborator directory: members and base-only collaborators of bases the caller can see (emails only for workspace members)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"collaborators":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"email":{"type":"string"},"initials":{"type":"string","maxLength":2},"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]}},"required":["id","name","initials","color"],"additionalProperties":false}}},"required":["collaborators"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/members/{userId}":{"patch":{"operationId":"patchWorkspacesByWorkspaceIdMembersByUserId","summary":"Change a member's role (owners and creators; only owners grant or change owner)","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["role"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"joinedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["userId","email","name","avatarUrl","role","joinedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceIdMembersByUserId","summary":"Remove a member (their access ends with this request)","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/invitations":{"get":{"operationId":"getWorkspacesByWorkspaceIdInvitations","summary":"Pending invitations of a workspace (owners and creators)","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"invitations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}},"required":["invitations"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postWorkspacesByWorkspaceIdInvitations","summary":"Invite someone by email (owners and creators; only owners invite owners)","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"role":{"default":"editor","type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["email"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/invitations/{invitationId}/resend":{"post":{"operationId":"postWorkspacesByWorkspaceIdInvitationsByInvitationIdResend","summary":"Send an invitation again with a new token and expiry","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/invitations/{invitationId}":{"delete":{"operationId":"deleteWorkspacesByWorkspaceIdInvitationsByInvitationId","summary":"Revoke an invitation","description":"Access: `workspace:manage_members` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/invitations/{token}":{"get":{"operationId":"getInvitationsByToken","summary":"Read the invitation for an emailed token","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceName":{"type":"string"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseName":{"type":["string","null"]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceName":{"default":null,"type":["string","null"]},"inviterName":{"type":["string","null"]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["pending","expired","revoked","accepted"]},"emailMatches":{"type":"boolean"},"alreadyMember":{"type":"boolean"}},"required":["workspaceId","workspaceName","baseId","baseName","interfaceId","interfaceName","inviterName","email","role","expiresAt","status","emailMatches","alreadyMember"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/invitations/{token}/accept":{"post":{"operationId":"postInvitationsByTokenAccept","summary":"Accept an invitation (needs a verified email matching the invitation's)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/regions":{"get":{"operationId":"getRegions","summary":"The regions workspaces can live in, and whether the caller may create one elsewhere","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["regions"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"current":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,15}$"},"regions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,15}$"},"name":{"type":"string","minLength":1,"maxLength":60},"appUrl":{"type":"string","format":"uri"}},"required":["id","name","appUrl"],"additionalProperties":false}},"createElsewhere":{"type":"boolean"}},"required":["current","regions","createElsewhere"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/regions/{regionId}/workspaces":{"post":{"operationId":"postRegionsByRegionIdWorkspaces","summary":"Create a workspace in another region's stack, owned by the caller (Enterprise owners)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["regions"],"parameters":[{"name":"regionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,15}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"region":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,15}$"},"url":{"type":"string","format":"uri"}},"required":["id","name","region","url"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/usage":{"get":{"operationId":"getWorkspacesByWorkspaceIdUsage","summary":"The workspace's plan, its limits and what it uses: records per base, attachment bytes, this month's automation runs and API calls, billable editors (members)","description":"Access: `workspace:read` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"plan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"period":{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["start","end"],"additionalProperties":false},"bases":{"type":"array","items":{"type":"object","properties":{"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["baseId","name","records","limit"],"additionalProperties":false}},"attachmentBytes":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["used","limit"],"additionalProperties":false},"automationRuns":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["used","limit"],"additionalProperties":false},"apiCalls":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["used","limit"],"additionalProperties":false},"editors":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["used","limit"],"additionalProperties":false},"aiCredits":{"anyOf":[{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["used","limit"],"additionalProperties":false},{"type":"null"}]},"revisionHistoryDays":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"features":{"type":"object","properties":{"removeBranding":{"type":"boolean"},"personalViews":{"type":"boolean"},"lockedViews":{"type":"boolean"},"editPermissions":{"type":"boolean"},"sso":{"type":"boolean"},"scim":{"type":"boolean"},"auditLogExport":{"type":"boolean"},"adminConsole":{"type":"boolean"},"dataResidency":{"type":"boolean"}},"required":["removeBranding","personalViews","lockedViews","editPermissions","sso","scim","auditLogExport","adminConsole","dataResidency"],"additionalProperties":false},"upgradeUrl":{"type":["string","null"]}},"required":["workspaceId","plan","period","bases","attachmentBytes","automationRuns","apiCalls","editors","aiCredits","revisionHistoryDays","features","upgradeUrl"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/usage-warnings":{"get":{"operationId":"getBasesByBaseIdUsageWarnings","summary":"The plan limits at 80% or more that touch the base: its records and the workspace's other limits (creators and owners)","description":"Access: `base:read_usage` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"plan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","enum":["recordsPerBase","attachmentBytesPerWorkspace","automationRunsPerMonth","apiCallsPerMonth","editorsPerWorkspace","aiCreditsPerMonth"]},"level":{"type":"string","enum":["near","full"]},"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"base":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]},"resetsOn":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"null"}]}},"required":["metric","level","used","limit","base","resetsOn"],"additionalProperties":false}},"upgradeUrl":{"type":["string","null"]}},"required":["workspaceId","plan","warnings","upgradeUrl"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/billing":{"get":{"operationId":"getWorkspacesByWorkspaceIdBilling","summary":"The workspace's subscription and the plans its owners can buy (owners; nothing to buy without billing)","description":"Access: `workspace:manage_billing` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"enabled":{"type":"boolean"},"plan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"subscription":{"anyOf":[{"type":"object","properties":{"plan":{"type":"string"},"interval":{"type":"string","enum":["month","year"]},"status":{"type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid"]},"entitled":{"type":"boolean"},"cancelAtPeriodEnd":{"type":"boolean"},"currentPeriodEnd":{"type":["string","null"]},"seats":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"graceEndsAt":{"type":["string","null"]}},"required":["plan","interval","status","entitled","cancelAtPeriodEnd","currentPeriodEnd","seats","graceEndsAt"],"additionalProperties":false},{"type":"null"}]},"offers":{"type":"array","items":{"type":"object","properties":{"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string"},"intervals":{"type":"array","items":{"type":"string","enum":["month","year"]}},"price":{"anyOf":[{"type":"object","properties":{"amount":{"type":["number","null"]},"annual":{"type":["number","null"]},"currency":{"type":"string"},"per":{"type":"string"}},"required":["amount","annual","currency","per"],"additionalProperties":false},{"type":"null"}]}},"required":["plan","name","intervals","price"],"additionalProperties":false}},"portal":{"type":"boolean"},"editors":{"type":"integer","minimum":0,"maximum":9007199254740991},"manage":{"type":"boolean"}},"required":["workspaceId","enabled","plan","subscription","offers","portal","editors","manage"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/billing/checkout":{"post":{"operationId":"postWorkspacesByWorkspaceIdBillingCheckout","summary":"Start a checkout for a plan at the billing provider (owners). The plan changes only when the provider's signed event arrives; a workspace with a subscription changes or cancels it in the portal","description":"Access: `workspace:manage_billing` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"interval":{"type":"string","enum":["month","year"]}},"required":["plan","interval"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/billing/portal":{"post":{"operationId":"postWorkspacesByWorkspaceIdBillingPortal","summary":"Open the billing provider's customer portal: change plan, cancel, invoices (owners of a workspace with a subscription)","description":"Access: `workspace:manage_billing` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/billing/subscription":{"patch":{"operationId":"patchWorkspacesByWorkspaceIdBillingSubscription","summary":"Change the workspace's subscription at the billing provider (owners): another plan or interval (prorated), or cancel at the end of the period or take that back. Applied when the provider's signed event arrives","description":"Access: `workspace:manage_billing` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"interval":{"type":"string","enum":["month","year"]}},"required":["plan","interval"],"additionalProperties":false},{"type":"object","properties":{"cancelAtPeriodEnd":{"type":"boolean"}},"required":["cancelAtPeriodEnd"],"additionalProperties":false}]}}}},"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/bases":{"get":{"operationId":"getWorkspacesByWorkspaceIdBases","summary":"The bases of a workspace the caller can see (a base-only collaborator sees only theirs)","description":"Access: any signed-in user, for their own data; personal access tokens need `schema.bases:read`.","tags":["bases"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}},"required":["bases"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postWorkspacesByWorkspaceIdBases","summary":"Create a base (owners and creators)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["bases"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"icon":{"type":"string","maxLength":50},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}},"required":["name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}":{"get":{"operationId":"getBasesByBaseId","summary":"Read a base","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchBasesByBaseId","summary":"Update a base","description":"Access: `base:update` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}]},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseId","summary":"Move a base to the trash","description":"Access: `base:delete` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/duplicate":{"post":{"operationId":"postBasesByBaseIdDuplicate","summary":"Duplicate a base into this or another workspace, with or without its records, in the background","description":"Access: `base:duplicate` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"withRecords":{"default":false,"type":"boolean"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"withRecords":{"type":"boolean"},"status":{"type":"string","enum":["running","done","failed"]},"progress":{"type":"object","properties":{"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["records","totalRecords"],"additionalProperties":false},"base":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","workspaceId","withRecords","status","progress","base","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/duplicates/{duplicateId}":{"get":{"operationId":"getBasesByBaseIdDuplicatesByDuplicateId","summary":"A base duplicate's progress (only who started it)","description":"Access: `base:duplicate` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"duplicateId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"withRecords":{"type":"boolean"},"status":{"type":"string","enum":["running","done","failed"]},"progress":{"type":"object","properties":{"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["records","totalRecords"],"additionalProperties":false},"base":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","workspaceId","withRecords","status","progress","base","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/collaborators":{"get":{"operationId":"getBasesByBaseIdCollaborators","summary":"Everyone with access to a base: workspace members and base collaborators, with their effective role (creators and up)","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"collaborators":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"workspaceRole":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"baseRole":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["userId","email","name","avatarUrl","workspaceRole","baseRole","role"],"additionalProperties":false}}},"required":["collaborators"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/collaborators/{userId}":{"patch":{"operationId":"patchBasesByBaseIdCollaboratorsByUserId","summary":"Set someone's role on a base (creators and up); the effective role is the higher of it and their workspace role","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["creator","editor","commenter","read_only"]}},"required":["role"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"workspaceRole":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"baseRole":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["userId","email","name","avatarUrl","workspaceRole","baseRole","role"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdCollaboratorsByUserId","summary":"Remove someone's base role (a base-only collaborator loses the base at once)","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["members"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/invitations":{"get":{"operationId":"getBasesByBaseIdInvitations","summary":"Pending invitations to a base (creators and up)","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"invitations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}},"required":["invitations"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdInvitations","summary":"Invite someone to this base only, by email (creators and up)","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"role":{"default":"editor","type":"string","enum":["creator","editor","commenter","read_only"]}},"required":["email"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/invitations/{invitationId}/resend":{"post":{"operationId":"postBasesByBaseIdInvitationsByInvitationIdResend","summary":"Send a base invitation again with a new token and expiry","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/invitations/{invitationId}":{"delete":{"operationId":"deleteBasesByBaseIdInvitationsByInvitationId","summary":"Revoke a base invitation","description":"Access: `base:manage_members` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["invitations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/templates":{"get":{"operationId":"getTemplates","summary":"The built-in templates of the gallery, without their records","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["templates"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"templates":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"fields":{"type":"number"},"records":{"type":"number"}},"required":["name","fields","records"],"additionalProperties":false}},"automations":{"type":"number"}},"required":["slug","name","description","category","icon","color","tables","automations"],"additionalProperties":false}}},"required":["templates"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/templates/{slug}":{"get":{"operationId":"getTemplatesBySlug","summary":"A built-in template in the template format: its tables, fields, views and records","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["templates"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","const":"openrows.template"},"version":{"type":"number","const":1},"slug":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":2000},"category":{"type":"string","minLength":1,"maxLength":64},"icon":{"default":null,"anyOf":[{"type":"string","maxLength":50},{"type":"null"}]},"color":{"default":null,"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}]},"tables":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"fields":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"primary":{"default":false,"type":"boolean"},"options":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["id","name","description","type","primary","options"],"additionalProperties":false}},"views":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"config":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["id","name","type","config"],"additionalProperties":false}},"records":{"default":[],"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cells":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["id","cells"],"additionalProperties":false}}},"required":["id","name","description","fields","views","records"],"additionalProperties":false}},"automations":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":1000},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"default":[],"maxItems":25,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}}},"required":["name","description","trigger","actions"],"additionalProperties":false}},"interfaces":{"default":[],"maxItems":5,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"pages":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"config":{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false}},"required":["name","config"],"additionalProperties":false}}},"required":["name","pages"],"additionalProperties":false}}},"required":["format","version","slug","name","description","category","icon","color","tables","automations","interfaces"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/templates":{"post":{"operationId":"postWorkspacesByWorkspaceIdTemplates","summary":"Create a base from a built-in template (owners and creators)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["templates"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":255}},"required":["slug"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/tables":{"get":{"operationId":"getBasesByBaseIdTables","summary":"The tables of a base","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["tables"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","createdAt","updatedAt"],"additionalProperties":false}}},"required":["tables"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdTables","summary":"Create a table with the default fields and a grid view","description":"Access: `table:create` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["tables"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"icon":{"type":"string","maxLength":50},"primaryFieldName":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","fields","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}":{"get":{"operationId":"getTablesByTableId","summary":"Read a table with its live fields","description":"Access: `table:read` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["tables"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","fields","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchTablesByTableId","summary":"Rename, describe or reorder a table","description":"Access: `table:update` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["tables"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}]},"position":{"type":"number"},"permissions":{"type":"object","properties":{"addRecords":{"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"additionalProperties":false}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","fields","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableId","summary":"Move a table to the trash","description":"Access: `table:delete` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["tables"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/duplicate":{"post":{"operationId":"postTablesByTableIdDuplicate","summary":"Duplicate a table (structure, optionally records)","description":"Access: `table:duplicate` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["tables"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"includeRecords":{"default":false,"type":"boolean"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","fields","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/views":{"get":{"operationId":"getTablesByTableIdViews","summary":"The views of a table, in sidebar order","description":"Access: `table:read` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["views"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"views":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"}},"required":["id","tableId","name","position"],"additionalProperties":false}}},"required":["views","sections"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postTablesByTableIdViews","summary":"Create a view","description":"Access: `view:create` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"default":"grid","type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"personal":{"default":false,"type":"boolean"}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/views/{viewId}":{"get":{"operationId":"getViewsByViewId","summary":"Read a view","description":"Access: `view:read` on the view (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["views"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchViewsByViewId","summary":"Rename, reorder, lock, colour or reconfigure a view","description":"Access: `view:update` on the view (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"position":{"type":"number"},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]},"query":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId"],"additionalProperties":false}}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteViewsByViewId","summary":"Delete a view (a table keeps at least one)","description":"Access: `view:delete` on the view (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/views/{viewId}/duplicate":{"post":{"operationId":"postViewsByViewIdDuplicate","summary":"Duplicate a view with its configuration","description":"Access: `view:duplicate` on the view (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/views/{viewId}/order":{"post":{"operationId":"postViewsByViewIdOrder","summary":"Place a record after another in the view's manual order (kanban cards)","description":"Access: `view:update` on the view (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"afterId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["recordId","afterId"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/view-sections":{"post":{"operationId":"postTablesByTableIdViewSections","summary":"Add a section (folder) to the sidebar of a table","description":"Access: `viewSection:create` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"}},"required":["id","tableId","name","position"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/view-sections/{sectionId}":{"patch":{"operationId":"patchTablesByTableIdViewSectionsBySectionId","summary":"Rename or reorder a view section","description":"Access: `viewSection:update` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"sectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"position":{"type":"number"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"}},"required":["id","tableId","name","position"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableIdViewSectionsBySectionId","summary":"Delete a view section (its views stay, outside any section)","description":"Access: `viewSection:delete` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["views"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"sectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/fields":{"post":{"operationId":"postTablesByTableIdFields","summary":"Add a field","description":"Access: `field:create` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["fields"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"description":{"type":"string","maxLength":2000},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"position":{"type":"number"}},"required":["name","type"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/fields/trash":{"get":{"operationId":"getTablesByTableIdFieldsTrash","summary":"Fields of a table in the trash, most recently deleted first","description":"Access: `table:read` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["fields"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}}},"required":["fields"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/fields/{deletedFieldId}/restore":{"post":{"operationId":"postTablesByTableIdFieldsByDeletedFieldIdRestore","summary":"Restore a field from the trash","description":"Access: `field:restore` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["fields"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"deletedFieldId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/fields/{fieldId}":{"patch":{"operationId":"patchFieldsByFieldId","summary":"Rename, describe, reorder or convert a field","description":"Access: `field:update` on the field (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["fields"],"parameters":[{"name":"fieldId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteFieldsByFieldId","summary":"Move a field to the trash","description":"Access: `field:delete` on the field (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["fields"],"parameters":[{"name":"fieldId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/fields/{linkFieldId}/link-candidates":{"get":{"operationId":"getFieldsByLinkFieldIdLinkCandidates","summary":"Records a link field can link to (the record picker), by primary field","description":"Access: `field:link_candidates` on the field (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["fields"],"parameters":[{"name":"linkFieldId","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"schema":{"default":0,"type":"integer","minimum":0,"maximum":10000}},{"name":"purpose","in":"query","required":false,"schema":{"default":"link","type":"string","enum":["link","filter"]}},{"name":"ids","in":"query","required":false,"schema":{"type":"string","maxLength":3700,"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(,[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})*$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"nextOffset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["tableId","records","nextOffset"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/trash":{"get":{"operationId":"getWorkspacesByWorkspaceIdTrash","summary":"Bases of a workspace in the trash (creators and up)","description":"Access: `workspace:read_trash` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["trash"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"purgeAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","deletedAt","deletedBy","purgeAfter"],"additionalProperties":false}}},"required":["bases"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/trash/bases/{trashedBaseId}/restore":{"post":{"operationId":"postWorkspacesByWorkspaceIdTrashBasesByTrashedBaseIdRestore","summary":"Restore a base from the trash","description":"Access: `base:restore` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["trash"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedBaseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/trash/bases/{trashedBaseId}":{"delete":{"operationId":"deleteWorkspacesByWorkspaceIdTrashBasesByTrashedBaseId","summary":"Delete a base in the trash permanently, with everything in it","description":"Access: `base:purge` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["trash"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedBaseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/trash":{"get":{"operationId":"getBasesByBaseIdTrash","summary":"A base's deleted tables, and the deleted fields and views of its tables (editors and up)","description":"Access: `base:read_trash` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["trash"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"purgeAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","deletedAt","deletedBy","purgeAfter"],"additionalProperties":false}},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"purgeAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableName":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"inverse":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"tableName":{"type":"string"}},"required":["id","name","tableName"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","deletedAt","deletedBy","purgeAfter","tableId","tableName","type","inverse"],"additionalProperties":false}},"views":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"purgeAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableName":{"type":"string"},"type":{"type":"string"},"personal":{"type":"boolean"}},"required":["id","name","deletedAt","deletedBy","purgeAfter","tableId","tableName","type","personal"],"additionalProperties":false}}},"required":["tables","fields","views"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/trash/tables/{trashedTableId}/restore":{"post":{"operationId":"postBasesByBaseIdTrashTablesByTrashedTableIdRestore","summary":"Restore a table from the trash, with the link fields deleted with it","description":"Access: `table:restore` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["trash"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedTableId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"position":{"type":"number"},"schemaVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"permissions":{"type":"object","properties":{"addRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"deleteRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"editRecords":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]}},"required":["addRecords","deleteRecords","editRecords"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"},"position":{"type":"number"},"permissions":{"type":"object","properties":{"edit":{"default":{"level":"editors"},"oneOf":[{"type":"object","properties":{"level":{"type":"string","const":"editors"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"creators"}},"required":["level"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"specific"},"userIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"roles":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["owner","creator","editor"]}}},"required":["level","userIds","roles"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","const":"nobody"}},"required":["level"],"additionalProperties":false}]},"allowForms":{"type":"boolean"}},"required":["edit"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recomputing":{"type":"boolean","const":true},"synced":{"type":"boolean","const":true}},"required":["id","tableId","name","description","type","options","isPrimary","position","createdAt","updatedAt","deletedAt"],"additionalProperties":false}},"synced":{"type":"boolean","const":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","icon","position","schemaVersion","fields","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/trash/tables/{trashedTableId}":{"delete":{"operationId":"deleteBasesByBaseIdTrashTablesByTrashedTableId","summary":"Delete a table in the trash permanently, with its records and links","description":"Access: `table:purge` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["trash"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedTableId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/trash/fields/{trashedFieldId}":{"delete":{"operationId":"deleteTablesByTableIdTrashFieldsByTrashedFieldId","summary":"Delete a field in the trash permanently, with its values (and a link pair)","description":"Access: `field:purge` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["trash"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedFieldId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/trash/views/{trashedViewId}/restore":{"post":{"operationId":"postTablesByTableIdTrashViewsByTrashedViewIdRestore","summary":"Restore a view from the trash","description":"Access: `view:restore` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["trash"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedViewId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]},"position":{"type":"number"},"config":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"grid":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]},"hiddenFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":10000},"coverAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"logoAttachmentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"submitLabel":{"type":"string","maxLength":60},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":"string","maxLength":2000},"redirectUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"showBranding":{"type":"boolean"}},"additionalProperties":false},"rowColor":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"select"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","fieldId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"conditions"},"conditions":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"required":["mode","conditions"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"personal":{"type":"boolean"},"locked":{"type":"boolean"},"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","tableId","name","type","position","config","personal","locked","sectionId","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/trash/views/{trashedViewId}":{"delete":{"operationId":"deleteTablesByTableIdTrashViewsByTrashedViewId","summary":"Delete a view in the trash permanently","description":"Access: `view:purge` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["trash"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trashedViewId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/trash/records":{"get":{"operationId":"getTablesByTableIdTrashRecords","summary":"Records of a table in the trash, most recently deleted first (editors and up)","description":"Access: `record:read_trash` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["trash"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"default":100,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{1,16}_[0-9a-f-]{36}$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"deletedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"purgeAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","deletedAt","deletedBy","purgeAfter"],"additionalProperties":false}},"nextCursor":{"type":["string","null"]}},"required":["records","nextCursor"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/trash/records/purge":{"post":{"operationId":"postTablesByTableIdTrashRecordsPurge","summary":"Delete up to 1,000 records in the trash permanently","description":"Access: `record:purge` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["trash"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["recordIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"purged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["purged"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records":{"get":{"operationId":"getTablesByTableIdRecords","summary":"Live records, oldest first, keyset-paged","description":"Access: `record:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"default":100,"type":"integer","minimum":1,"maximum":1000}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["records","nextCursor"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postTablesByTableIdRecords","summary":"Create one record ({ fields }) or up to 1,000 ({ records })","description":"Access: `record:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"records":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"fields":{"default":{},"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"additionalProperties":false}},"clientOpId":{"type":"string","minLength":1,"maxLength":100},"typecast":{"type":"boolean"}},"required":["records"],"additionalProperties":false},{"type":"object","properties":{"fields":{"default":{},"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}},"clientOpId":{"type":"string","minLength":1,"maxLength":100},"typecast":{"type":"boolean"}},"additionalProperties":false}]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}]}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchTablesByTableIdRecords","summary":"Patch up to 1,000 records in one transaction","description":"Access: `record:update` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"records":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}},"ifVersion":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["id","fields"],"additionalProperties":false}},"clientOpId":{"type":"string","minLength":1,"maxLength":100},"typecast":{"type":"boolean"}},"required":["records"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/query":{"post":{"operationId":"postTablesByTableIdRecordsQuery","summary":"Filter, sort, group, page and aggregate records (a view query)","description":"Access: `record:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"query":{"type":"object","properties":{"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"sorts":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId"],"additionalProperties":false}},"groupBy":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId"],"additionalProperties":false}},"fields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"search":{"type":"string","maxLength":1000},"timeZone":{"type":"string","maxLength":64},"within":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}},"dateRange":{"type":"object","properties":{"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}}},"required":["from","to","fields"],"additionalProperties":false}},"additionalProperties":false},"offset":{"type":"integer","minimum":0,"maximum":10000000},"limit":{"default":100,"type":"integer","minimum":0,"maximum":1000},"cursor":{"type":"string","maxLength":10000},"count":{"default":true,"type":"boolean"},"groups":{"default":false,"type":"boolean"},"aggregates":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fn":{"type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["fieldId","fn"],"additionalProperties":false}},"rowColors":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"color":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false}},"required":["color","filter"],"additionalProperties":false}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}},"offset":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"total":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"nextCursor":{"type":["string","null"]},"groups":{"type":"array","items":{"type":"object","properties":{"key":{"type":"array","items":{}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["key","count"],"additionalProperties":false}},"aggregates":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"rowColors":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["green","amber","blue","red","violet","teal","pink","slate","olive","brown"]}}},"required":["records","offset","total","nextCursor"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/delete":{"post":{"operationId":"postTablesByTableIdRecordsDelete","summary":"Move up to 1,000 records to the trash","description":"Access: `record:delete` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"clientOpId":{"type":"string","minLength":1,"maxLength":100}},"required":["recordIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"deleted":{"type":"boolean","const":true}},"required":["id","deleted"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/restore":{"post":{"operationId":"postTablesByTableIdRecordsRestore","summary":"Restore up to 1,000 records from the trash","description":"Access: `record:delete` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"clientOpId":{"type":"string","minLength":1,"maxLength":100}},"required":["recordIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}":{"get":{"operationId":"getTablesByTableIdRecordsByRecordId","summary":"Read a record","description":"Access: `record:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchTablesByTableIdRecordsByRecordId","summary":"Patch the given cells of a record","description":"Access: `record:update` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}},"ifVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"clientOpId":{"type":"string","minLength":1,"maxLength":100},"typecast":{"type":"boolean"}},"required":["fields"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableIdRecordsByRecordId","summary":"Move a record to the trash","description":"Access: `record:delete` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["records"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/comments":{"get":{"operationId":"getTablesByTableIdRecordsByRecordIdComments","summary":"A page of a record's comments, oldest first (the newest page, or before a cursor)","description":"Access: `comment:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:read`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"before","in":"query","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"type":"string"},"mentions":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["reaction","userIds"],"additionalProperties":false}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","tableId","recordId","authorId","body","mentions","reactions","createdAt","editedAt"],"additionalProperties":false}},"previousCursor":{"type":["string","null"]}},"required":["comments","previousCursor"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postTablesByTableIdRecordsByRecordIdComments","summary":"Comment on a record (Markdown, @mentions of people with access to the base)","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","maxLength":10000},"clientOpId":{"type":"string","minLength":1,"maxLength":100}},"required":["body"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"type":"string"},"mentions":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["reaction","userIds"],"additionalProperties":false}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","tableId","recordId","authorId","body","mentions","reactions","createdAt","editedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/comments/{commentId}":{"patch":{"operationId":"patchTablesByTableIdRecordsByRecordIdCommentsByCommentId","summary":"Edit your own comment","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","maxLength":10000},"clientOpId":{"type":"string","minLength":1,"maxLength":100}},"required":["body"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"type":"string"},"mentions":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["reaction","userIds"],"additionalProperties":false}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","tableId","recordId","authorId","body","mentions","reactions","createdAt","editedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableIdRecordsByRecordIdCommentsByCommentId","summary":"Delete your own comment (creators and owners: any comment)","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/comments/{commentId}/reactions/{reaction}":{"put":{"operationId":"putTablesByTableIdRecordsByRecordIdCommentsByCommentIdReactionsByReaction","summary":"Add your reaction to a comment","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"reaction","in":"path","required":true,"schema":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"type":"string"},"mentions":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["reaction","userIds"],"additionalProperties":false}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","tableId","recordId","authorId","body","mentions","reactions","createdAt","editedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableIdRecordsByRecordIdCommentsByCommentIdReactionsByReaction","summary":"Take back your reaction to a comment","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"reaction","in":"path","required":true,"schema":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"type":"string"},"mentions":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbsUp","heart","laugh","tada","eyes","check"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["reaction","userIds"],"additionalProperties":false}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","tableId","recordId","authorId","body","mentions","reactions","createdAt","editedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/comment-counts":{"get":{"operationId":"getTablesByTableIdCommentCounts","summary":"How many comments each record of the table has (records with none left out)","description":"Access: `comment:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:read`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"counts":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":1,"maximum":9007199254740991}}},"required":["counts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/mentionable-users":{"get":{"operationId":"getTablesByTableIdMentionableUsers","summary":"Who a comment on the table's records may mention: everyone with access to the base","description":"Access: `comment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["comments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"userIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["userIds"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/notifications":{"get":{"operationId":"getNotifications","summary":"Your notifications, newest first (only records you can still read)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"default":30,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"unread","in":"query","required":false,"schema":{"type":"string","enum":["true","false"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["mention","reply","assigned"]},"actorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"actorName":{"type":"string"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"commentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseName":{"type":"string"},"tableName":{"type":"string"},"recordName":{"type":"string"},"fieldName":{"type":["string","null"]},"excerpt":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"readAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","kind","actorId","actorName","workspaceId","baseId","tableId","recordId","commentId","fieldId","baseName","tableName","recordName","fieldName","excerpt","createdAt","readAt"],"additionalProperties":false}},"nextCursor":{"type":["string","null"]},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["notifications","nextCursor","unread"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/notifications/unread":{"get":{"operationId":"getNotificationsUnread","summary":"How many of your notifications are unread","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"unread":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["unread"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/notifications/{notificationId}/read":{"post":{"operationId":"postNotificationsByNotificationIdRead","summary":"Mark one of your notifications read","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[{"name":"notificationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"unread":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["unread"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/notifications/read":{"post":{"operationId":"postNotificationsRead","summary":"Mark all your notifications read","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"unread":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["unread"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/notification-preferences":{"get":{"operationId":"getMeNotificationPreferences","summary":"Which notifications you get by email","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","enum":["all","mentions","none"]},"frequency":{"type":"string","enum":["immediately","hourly","daily"]}},"required":["email","frequency"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putMeNotificationPreferences","summary":"Choose which notifications you get by email (all, mentions only, none) and when (immediately, hourly or daily digests)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["notifications"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","enum":["all","mentions","none"]},"frequency":{"type":"string","enum":["immediately","hourly","daily"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","enum":["all","mentions","none"]},"frequency":{"type":"string","enum":["immediately","hourly","daily"]}},"required":["email","frequency"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/revisions":{"get":{"operationId":"getTablesByTableIdRecordsByRecordIdRevisions","summary":"A record's revision history, newest first (fields the caller can't read left out)","description":"Access: `record:read` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["revisions"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"revisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["created","updated","deleted","restored"]},"actorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"via":{"anyOf":[{"type":"string","enum":["form","automation"]},{"type":"null"}]},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"changes":{"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string"},"before":{},"after":{}},"required":["fieldId","type","before","after"],"additionalProperties":false}},"restoredFrom":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","recordId","kind","actorId","via","at","changes","restoredFrom"],"additionalProperties":false}},"nextCursor":{"type":["string","null"]}},"required":["revisions","nextCursor"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/revisions/{revisionId}/restore":{"post":{"operationId":"postTablesByTableIdRecordsByRecordIdRevisionsByRevisionIdRestore","summary":"Restore the record (or one cell) to how it was right after a revision","description":"Access: `record:update` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["revisions"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"revisionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientOpId":{"type":"string","minLength":1,"maxLength":100}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","tableId","version","fields","createdAt","createdBy","updatedAt","updatedBy"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/imports":{"post":{"operationId":"postTablesByTableIdImports","summary":"Import a CSV (up to 50 MB) into the table, in the background","description":"Access: `record:create` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["imports"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","minLength":1,"maxLength":52428800},"delimiter":{"type":"string","enum":[",",";","\t","|"]},"hasHeader":{"default":true,"type":"boolean"},"typecast":{"default":false,"type":"boolean"},"columns":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":499},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"newField":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","type"],"additionalProperties":false}},"required":["index"],"additionalProperties":false}}},"required":["csv","columns"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["running","done","failed"]},"totalRows":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"processedRows":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skippedCells":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdFieldIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","tableId","status","totalRows","processedRows","skippedCells","createdFieldIds","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/imports/{importId}":{"get":{"operationId":"getTablesByTableIdImportsByImportId","summary":"An import's progress (only who started it)","description":"Access: `record:create` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["imports"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["running","done","failed"]},"totalRows":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"processedRows":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skippedCells":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdFieldIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","tableId","status","totalRows","processedRows","skippedCells","createdFieldIds","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/attachments":{"post":{"operationId":"postTablesByTableIdAttachments","summary":"Announce a file for an attachment field and get a presigned PUT for it","description":"Access: `attachment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["attachments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string","minLength":1,"maxLength":255},"type":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},{"type":"string","const":""}]},"size":{"type":"integer","minimum":1,"maximum":104857600}},"required":["filename","size"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"attachment":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"filename":{"type":"string","minLength":1,"maxLength":255},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"type":{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},"width":{"type":"integer","minimum":1,"maximum":1000000},"height":{"type":"integer","minimum":1,"maximum":1000000}},"required":["id","filename","size","type"],"additionalProperties":false},"upload":{"type":"object","properties":{"method":{"type":"string","const":"PUT"},"url":{"type":"string","format":"uri"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["method","url","headers","expiresAt"],"additionalProperties":false}},"required":["attachment","upload"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/attachments/{attachmentId}/confirm":{"post":{"operationId":"postTablesByTableIdAttachmentsByAttachmentIdConfirm","summary":"Confirm an upload: the stored object must match the announced size","description":"Access: `attachment:create` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["attachments"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"filename":{"type":"string","minLength":1,"maxLength":255},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"type":{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},"width":{"type":"integer","minimum":1,"maximum":1000000},"height":{"type":"integer","minimum":1,"maximum":1000000}},"required":["id","filename","size","type"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/storage":{"get":{"operationId":"getWorkspacesByWorkspaceIdStorage","summary":"The workspace's stored files and bytes","description":"Access: `workspace:read` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["attachments"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"files":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["workspaceId","files","bytes"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/snapshots":{"get":{"operationId":"getBasesByBaseIdSnapshots","summary":"A base's snapshots, newest first, and the workspace's retention (creators and up)","description":"Access: `base:snapshot` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"snapshots":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseName":{"type":"string"},"kind":{"type":"string","enum":["manual","auto"]},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","baseName","kind","size","tables","records","createdBy","createdAt","expiresAt"],"additionalProperties":false}},"retentionDays":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["snapshots","retentionDays"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdSnapshots","summary":"Take a snapshot of a base now (schema, records, links, attachment references)","description":"Access: `base:snapshot` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseName":{"type":"string"},"kind":{"type":"string","enum":["manual","auto"]},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","baseName","kind","size","tables","records","createdBy","createdAt","expiresAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/snapshots/{snapshotId}/restore":{"post":{"operationId":"postBasesByBaseIdSnapshotsBySnapshotIdRestore","summary":"Restore a snapshot to a new base of the same workspace (never in place), in the background","description":"Access: `base:snapshot` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshotId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"snapshotId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["running","done","failed"]},"base":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","snapshotId","status","base","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/snapshot-restores/{restoreId}":{"get":{"operationId":"getBasesByBaseIdSnapshotRestoresByRestoreId","summary":"A snapshot restore's progress (only who started it)","description":"Access: `base:snapshot` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"restoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"snapshotId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["running","done","failed"]},"base":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"color":{"type":["string","null"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","description","icon","color","role","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"finishedAt":{"type":["string","null"]}},"required":["id","snapshotId","status","base","error","createdAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/snapshots/{snapshotId}":{"delete":{"operationId":"deleteBasesByBaseIdSnapshotsBySnapshotId","summary":"Delete a snapshot","description":"Access: `base:snapshot` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshotId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/snapshot-settings":{"patch":{"operationId":"patchWorkspacesByWorkspaceIdSnapshotSettings","summary":"Change how long the workspace's base snapshots are kept (owners)","description":"Access: `workspace:update` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["snapshots"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"retentionDays":{"type":"integer","minimum":1,"maximum":365}},"required":["retentionDays"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"retentionDays":{"type":"integer","minimum":1,"maximum":365}},"required":["retentionDays"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations":{"get":{"operationId":"getBasesByBaseIdAutomations","summary":"A base's automations, oldest first (creators and up)","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"automations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"webhookUrl":{"type":["string","null"]},"webhookSample":{"anyOf":[{"type":"object","properties":{"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"body":{}},"required":["receivedAt","body"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"runCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","webhookUrl","webhookSample","createdAt","updatedAt","runCount"],"additionalProperties":false}},"scripts":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"anyOf":[{"type":"string","enum":["disabled","plan"]},{"type":"null"}]},"limits":{"anyOf":[{"type":"object","properties":{"timeoutSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cpuSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"memoryMb":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["timeoutSeconds","cpuSeconds","memoryMb"],"additionalProperties":false},{"type":"null"}]}},"required":["available","reason","limits"],"additionalProperties":false}},"required":["automations","scripts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdAutomations","summary":"Create an automation: a trigger and up to 25 actions, run as you","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":2000},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"default":[],"maxItems":25,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name"],"additionalProperties":false}},"body":{}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script"],"additionalProperties":false}]}},"enabled":{"default":false,"type":"boolean"}},"required":["name","trigger"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"webhookUrl":{"type":["string","null"]},"webhookSample":{"anyOf":[{"type":"object","properties":{"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"body":{}},"required":["receivedAt","body"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","webhookUrl","webhookSample","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations/{automationId}":{"get":{"operationId":"getBasesByBaseIdAutomationsByAutomationId","summary":"An automation","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"webhookUrl":{"type":["string","null"]},"webhookSample":{"anyOf":[{"type":"object","properties":{"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"body":{}},"required":["receivedAt","body"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","webhookUrl","webhookSample","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchBasesByBaseIdAutomationsByAutomationId","summary":"Change an automation, or turn it on or off (turning it on runs it as you)","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"maxItems":25,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name"],"additionalProperties":false}},"body":{}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script"],"additionalProperties":false}]}},"enabled":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"webhookUrl":{"type":["string","null"]},"webhookSample":{"anyOf":[{"type":"object","properties":{"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"body":{}},"required":["receivedAt","body"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","webhookUrl","webhookSample","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdAutomationsByAutomationId","summary":"Delete an automation and its run history","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automation-runs/failed":{"get":{"operationId":"getBasesByBaseIdAutomationRunsFailed","summary":"The base's failed runs of the last 30 days not retried yet, newest first","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"mode":{"type":"string","enum":["live","test","retry"]},"skipReason":{"anyOf":[{"type":"string","enum":["loop","quota"]},{"type":"null"}]},"retryOf":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"trigger":{},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["createRecord","updateRecord","findRecords","sendEmail","httpRequest","slackMessage","runScript"]},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"input":{},"output":{},"error":{"type":["string","null"]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["index","type","status","input","output","error","durationMs"],"additionalProperties":false}},"error":{"type":["string","null"]},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"triggeredBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"automationName":{"type":"string"}},"required":["id","automationId","status","mode","skipReason","retryOf","trigger","steps","error","depth","triggeredBy","durationMs","createdAt","automationName"],"additionalProperties":false}}},"required":["runs"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations/{automationId}/runs":{"get":{"operationId":"getBasesByBaseIdAutomationsByAutomationIdRuns","summary":"An automation's runs of the last 30 days, newest first, with each step","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["succeeded","failed","skipped"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"mode":{"type":"string","enum":["live","test","retry"]},"skipReason":{"anyOf":[{"type":"string","enum":["loop","quota"]},{"type":"null"}]},"retryOf":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"trigger":{},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["createRecord","updateRecord","findRecords","sendEmail","httpRequest","slackMessage","runScript"]},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"input":{},"output":{},"error":{"type":["string","null"]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["index","type","status","input","output","error","durationMs"],"additionalProperties":false}},"error":{"type":["string","null"]},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"triggeredBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","automationId","status","mode","skipReason","retryOf","trigger","steps","error","depth","triggeredBy","durationMs","createdAt"],"additionalProperties":false}}},"required":["runs"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations/{automationId}/test":{"post":{"operationId":"postBasesByBaseIdAutomationsByAutomationIdTest","summary":"Test an automation: its trigger with a sample record (or webhook request) and its actions for real, as you","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"mode":{"type":"string","enum":["live","test","retry"]},"skipReason":{"anyOf":[{"type":"string","enum":["loop","quota"]},{"type":"null"}]},"retryOf":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"trigger":{},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["createRecord","updateRecord","findRecords","sendEmail","httpRequest","slackMessage","runScript"]},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"input":{},"output":{},"error":{"type":["string","null"]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["index","type","status","input","output","error","durationMs"],"additionalProperties":false}},"error":{"type":["string","null"]},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"triggeredBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","automationId","status","mode","skipReason","retryOf","trigger","steps","error","depth","triggeredBy","durationMs","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations/{automationId}/runs/{runId}/retry":{"post":{"operationId":"postBasesByBaseIdAutomationsByAutomationIdRunsByRunIdRetry","summary":"Run a failed run again from its trigger data, as you (once per run)","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"runId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"mode":{"type":"string","enum":["live","test","retry"]},"skipReason":{"anyOf":[{"type":"string","enum":["loop","quota"]},{"type":"null"}]},"retryOf":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"trigger":{},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["createRecord","updateRecord","findRecords","sendEmail","httpRequest","slackMessage","runScript"]},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"input":{},"output":{},"error":{"type":["string","null"]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["index","type","status","input","output","error","durationMs"],"additionalProperties":false}},"error":{"type":["string","null"]},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"triggeredBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","automationId","status","mode","skipReason","retryOf","trigger","steps","error","depth","triggeredBy","durationMs","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/automations/{automationId}/webhook-url":{"post":{"operationId":"postBasesByBaseIdAutomationsByAutomationIdWebhookUrl","summary":"A new URL for a webhook-received trigger; the old one stops working at once","description":"Access: `base:manage_automations` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["automations"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"webhookUrl":{"type":["string","null"]},"webhookSample":{"anyOf":[{"type":"object","properties":{"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"body":{}},"required":["receivedAt","body"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","webhookUrl","webhookSample","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/records/{recordId}/buttons/{fieldId}":{"post":{"operationId":"postTablesByTableIdRecordsByRecordIdButtonsByFieldId","summary":"Click a record's button that runs automations (editors who may edit the record)","description":"Access: `record:update` on the table (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["automations"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"fieldId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"started":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["started"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/scripts":{"get":{"operationId":"getBasesByBaseIdScripts","summary":"A base's saved scripts by name (editors and up)","description":"Access: `base:read_scripts` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scripts"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"scripts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","code","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false}},"canEdit":{"type":"boolean"}},"required":["scripts","canEdit"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdScripts","summary":"Save a new script (creators and up)","description":"Access: `base:manage_scripts` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scripts"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"code":{"default":"","type":"string","maxLength":100000}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","code","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/scripts/{scriptId}":{"get":{"operationId":"getBasesByBaseIdScriptsByScriptId","summary":"A saved script (editors and up)","description":"Access: `base:read_scripts` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scripts"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scriptId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","code","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchBasesByBaseIdScriptsByScriptId","summary":"Rename a script or change its code (creators and up)","description":"Access: `base:manage_scripts` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scripts"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scriptId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":500},"code":{"type":"string","maxLength":100000}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updatedBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","code","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdScriptsByScriptId","summary":"Delete a script (creators and up)","description":"Access: `base:manage_scripts` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scripts"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scriptId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/syncs":{"post":{"operationId":"postBasesByBaseIdSyncs","summary":"Add a table synced from a table or view you can read (creators and up)","description":"Access: `table:create_sync` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"source":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"table"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["baseId","tableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"csv"},"url":{"type":"string","maxLength":2048,"format":"uri"}},"required":["kind","url"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"postgres"},"connectionString":{"type":"string","maxLength":2048,"pattern":"^postgres(ql)?:\\/\\/"},"table":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_$]{0,62}(\\.[A-Za-z_][A-Za-z0-9_$]{0,62})?$"},"query":{"type":"string","minLength":1,"maxLength":10000}},"required":["kind","connectionString"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"connector"},"connector":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"path":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"headerRow":{"default":1,"type":"integer","minimum":1,"maximum":1000}},"required":["kind","connector","path"],"additionalProperties":false}]},"fieldIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"keyFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"columns":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"default":"singleLineText","type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","singleSelect","multipleSelect","email","url","phone"]},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name"],"additionalProperties":false}},"keyColumn":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}]},"schedule":{"default":"hourly","type":"string","enum":["manual","5m","hourly","daily"]}},"required":["source"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["table","csv","postgres","connector"]},"workspaceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"tableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"label":{"type":"string"},"connector":{"type":["string","null"]}},"required":["kind","workspaceId","baseId","tableId","viewId","label","connector"],"additionalProperties":false},"keyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"keyColumn":{"type":["string","null"]},"fields":{"type":"array","items":{"type":"object","properties":{"sourceFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"column":{"type":["string","null"]},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["sourceFieldId","column","fieldId"],"additionalProperties":false}},"sourceFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"schedule":{"type":"string","enum":["manual","5m","hourly","daily"]},"status":{"type":"string","enum":["active","paused"]},"pauseReason":{"anyOf":[{"type":"string","enum":["paused","access_lost","source_deleted","too_many_records"]},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"trigger":{"type":"string","enum":["create","manual","schedule"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","paused"]},"created":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deleted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","trigger","status","created","updated","deleted","unchanged","skipped","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"}},"required":["id","baseId","tableId","source","keyFieldId","keyColumn","fields","sourceFieldId","schedule","status","pauseReason","createdBy","lastSyncedAt","nextRunAt","createdAt","runs","canManage"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/syncs/preview":{"post":{"operationId":"postBasesByBaseIdSyncsPreview","summary":"Preview a CSV URL, Postgres or connector source (creators and up)","description":"Access: `table:create_sync` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"csv"},"url":{"type":"string","maxLength":2048,"format":"uri"}},"required":["kind","url"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"postgres"},"connectionString":{"type":"string","maxLength":2048,"pattern":"^postgres(ql)?:\\/\\/"},"table":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_$]{0,62}(\\.[A-Za-z_][A-Za-z0-9_$]{0,62})?$"},"query":{"type":"string","minLength":1,"maxLength":10000}},"required":["kind","connectionString"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"connector"},"connector":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"path":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"headerRow":{"default":1,"type":"integer","minimum":1,"maximum":1000}},"required":["kind","connector","path"],"additionalProperties":false}]}},"required":["source"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","singleSelect","multipleSelect","email","url","phone"]},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","type","options"],"additionalProperties":false}},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}}}},"required":["label","columns","rows"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/syncs/browse":{"post":{"operationId":"postBasesByBaseIdSyncsBrowse","summary":"List a sync connector's items with your connected account (creators and up)","description":"Access: `table:create_sync` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"connector":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"path":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"search":{"type":"string","maxLength":2048}},"required":["connector"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"detail":{"type":["string","null"]},"leaf":{"type":"boolean"}},"required":["id","name","detail","leaf"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/sync":{"get":{"operationId":"getTablesByTableIdSync","summary":"A synced table's source, schedule and recent runs","description":"Access: `table:read_sync` on the table (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["syncs"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["table","csv","postgres","connector"]},"workspaceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"tableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"label":{"type":"string"},"connector":{"type":["string","null"]}},"required":["kind","workspaceId","baseId","tableId","viewId","label","connector"],"additionalProperties":false},"keyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"keyColumn":{"type":["string","null"]},"fields":{"type":"array","items":{"type":"object","properties":{"sourceFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"column":{"type":["string","null"]},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["sourceFieldId","column","fieldId"],"additionalProperties":false}},"sourceFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"schedule":{"type":"string","enum":["manual","5m","hourly","daily"]},"status":{"type":"string","enum":["active","paused"]},"pauseReason":{"anyOf":[{"type":"string","enum":["paused","access_lost","source_deleted","too_many_records"]},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"trigger":{"type":"string","enum":["create","manual","schedule"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","paused"]},"created":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deleted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","trigger","status","created","updated","deleted","unchanged","skipped","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"}},"required":["id","baseId","tableId","source","keyFieldId","keyColumn","fields","sourceFieldId","schedule","status","pauseReason","createdBy","lastSyncedAt","nextRunAt","createdAt","runs","canManage"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchTablesByTableIdSync","summary":"Change a sync's schedule, pause or resume it (creators and up)","description":"Access: `table:manage_sync` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"schedule":{"type":"string","enum":["manual","5m","hourly","daily"]},"paused":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["table","csv","postgres","connector"]},"workspaceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"tableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"label":{"type":"string"},"connector":{"type":["string","null"]}},"required":["kind","workspaceId","baseId","tableId","viewId","label","connector"],"additionalProperties":false},"keyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"keyColumn":{"type":["string","null"]},"fields":{"type":"array","items":{"type":"object","properties":{"sourceFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"column":{"type":["string","null"]},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["sourceFieldId","column","fieldId"],"additionalProperties":false}},"sourceFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"schedule":{"type":"string","enum":["manual","5m","hourly","daily"]},"status":{"type":"string","enum":["active","paused"]},"pauseReason":{"anyOf":[{"type":"string","enum":["paused","access_lost","source_deleted","too_many_records"]},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"trigger":{"type":"string","enum":["create","manual","schedule"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","paused"]},"created":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deleted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","trigger","status","created","updated","deleted","unchanged","skipped","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"}},"required":["id","baseId","tableId","source","keyFieldId","keyColumn","fields","sourceFieldId","schedule","status","pauseReason","createdBy","lastSyncedAt","nextRunAt","createdAt","runs","canManage"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteTablesByTableIdSync","summary":"Stop syncing: the table keeps its records as a normal table (creators and up)","description":"Access: `table:manage_sync` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/tables/{tableId}/sync/run":{"post":{"operationId":"postTablesByTableIdSyncRun","summary":"Sync now: queue a run of the sync (editors and up)","description":"Access: `table:run_sync` on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"tableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["table","csv","postgres","connector"]},"workspaceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"tableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"label":{"type":"string"},"connector":{"type":["string","null"]}},"required":["kind","workspaceId","baseId","tableId","viewId","label","connector"],"additionalProperties":false},"keyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"keyColumn":{"type":["string","null"]},"fields":{"type":"array","items":{"type":"object","properties":{"sourceFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"column":{"type":["string","null"]},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["sourceFieldId","column","fieldId"],"additionalProperties":false}},"sourceFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"schedule":{"type":"string","enum":["manual","5m","hourly","daily"]},"status":{"type":"string","enum":["active","paused"]},"pauseReason":{"anyOf":[{"type":"string","enum":["paused","access_lost","source_deleted","too_many_records"]},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"trigger":{"type":"string","enum":["create","manual","schedule"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","paused"]},"created":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deleted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","trigger","status","created","updated","deleted","unchanged","skipped","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"}},"required":["id","baseId","tableId","source","keyFieldId","keyColumn","fields","sourceFieldId","schedule","status","pauseReason","createdBy","lastSyncedAt","nextRunAt","createdAt","runs","canManage"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/sync-connectors":{"get":{"operationId":"getMeSyncConnectors","summary":"The sync connectors and your connected accounts","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"connectors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"levels":{"type":"array","items":{"type":"string"}},"account":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"connectedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["label","connectedAt"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","levels","account"],"additionalProperties":false}}},"required":["connectors"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/sync-connectors/{connectorId}":{"delete":{"operationId":"deleteMeSyncConnectorsByConnectorId","summary":"Disconnect your account from a sync connector (its tokens are revoked)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["syncs"],"parameters":[{"name":"connectorId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/extensions":{"get":{"operationId":"getBasesByBaseIdExtensions","summary":"A base's installed extensions in panel order","description":"Access: `base:read_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"builtIn":{"type":["string","null"]},"name":{"type":"string"},"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"size":{"type":"string","enum":["small","medium","large"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","builtIn","name","manifest","size","position","settings","createdBy","createdAt","updatedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"},"canConfigure":{"type":"boolean"},"canInstallCustom":{"type":"boolean"}},"required":["extensions","canManage","canConfigure","canInstallCustom"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdExtensions","summary":"Install a built-in extension or a third-party bundle (creators and up)","description":"Access: `base:manage_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"builtIn":{"type":"string","enum":["chart","print-view","url-preview"]}},"required":["builtIn"],"additionalProperties":false},{"type":"object","properties":{"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","scopes"],"additionalProperties":false},"bundle":{"type":"object","properties":{"html":{"default":"","type":"string"},"css":{"default":"","type":"string"},"js":{"default":"","type":"string"}},"additionalProperties":false}},"required":["manifest","bundle"],"additionalProperties":false}]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"builtIn":{"type":["string","null"]},"name":{"type":"string"},"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"size":{"type":"string","enum":["small","medium","large"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","builtIn","name","manifest","size","position","settings","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/extensions/{extensionId}/bundle":{"get":{"operationId":"getBasesByBaseIdExtensionsByExtensionIdBundle","summary":"An installed extension's manifest and bundle","description":"Access: `base:read_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"extensionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"bundle":{"type":"object","properties":{"html":{"type":"string"},"css":{"type":"string"},"js":{"type":"string"}},"required":["html","css","js"],"additionalProperties":false}},"required":["manifest","bundle"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/extensions/{extensionId}":{"patch":{"operationId":"patchBasesByBaseIdExtensionsByExtensionId","summary":"Rename an extension or change its size (creators and up)","description":"Access: `base:manage_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"extensionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"size":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"builtIn":{"type":["string","null"]},"name":{"type":"string"},"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"size":{"type":"string","enum":["small","medium","large"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","builtIn","name","manifest","size","position","settings","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdExtensionsByExtensionId","summary":"Remove an extension from the base (creators and up)","description":"Access: `base:manage_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"extensionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/extensions/order":{"put":{"operationId":"putBasesByBaseIdExtensionsOrder","summary":"Arrange the base's extension panel (creators and up)","description":"Access: `base:manage_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"builtIn":{"type":["string","null"]},"name":{"type":"string"},"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"size":{"type":"string","enum":["small","medium","large"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","builtIn","name","manifest","size","position","settings","createdBy","createdAt","updatedAt"],"additionalProperties":false}},"canManage":{"type":"boolean"},"canConfigure":{"type":"boolean"},"canInstallCustom":{"type":"boolean"}},"required":["extensions","canManage","canConfigure","canInstallCustom"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/extensions/{extensionId}/settings":{"put":{"operationId":"putBasesByBaseIdExtensionsByExtensionIdSettings","summary":"Replace an extension's settings (editors and up)","description":"Access: `base:configure_extensions` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["extensions"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"extensionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"settings":{"type":"object","propertyNames":{"type":"string","maxLength":200},"additionalProperties":{}}},"required":["settings"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"builtIn":{"type":["string","null"]},"name":{"type":"string"},"manifest":{"type":"object","properties":{"manifestVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"version":{"default":"1.0.0","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"scopes":{"maxItems":5,"type":"array","items":{"type":"string","enum":["records:read","records:write","cursor:read","settings:write","embed:frames"]}}},"required":["manifestVersion","name","description","version","scopes"],"additionalProperties":false},"size":{"type":"string","enum":["small","medium","large"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","builtIn","name","manifest","size","position","settings","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces":{"get":{"operationId":"getBasesByBaseIdInterfaces","summary":"A base's interfaces and pages: creators get drafts and unpublished pages, everyone else published pages only","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"interfaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}},"required":["id","baseId","name","position","pages"],"additionalProperties":false}},"canEdit":{"type":"boolean"}},"required":["interfaces","canEdit"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdInterfaces","summary":"Create an interface (creators and up)","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}},"required":["id","baseId","name","position","pages"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces/{interfaceId}":{"patch":{"operationId":"patchBasesByBaseIdInterfacesByInterfaceId","summary":"Rename or move an interface","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"number"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}},"required":["id","baseId","name","position","pages"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdInterfacesByInterfaceId","summary":"Delete an interface and its pages","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces/{interfaceId}/pages":{"post":{"operationId":"postBasesByBaseIdInterfacesByInterfaceIdPages","summary":"Add a page (a record list or record review over one table), unpublished","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["name","layout","tableId"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces/{interfaceId}/pages/{pageId}":{"get":{"operationId":"getBasesByBaseIdInterfacesByInterfaceIdPagesByPageId","summary":"A page (non-creators: published pages only)","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchBasesByBaseIdInterfacesByInterfaceIdPagesByPageId","summary":"Rename or move a page, or save its draft (viewers don't see it until published)","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"number"},"draft":{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","tableId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}]}}},"required":["conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","tableId","groupFieldId"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"additionalProperties":false}},"required":["layout","tableId"],"additionalProperties":false}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdInterfacesByInterfaceIdPagesByPageId","summary":"Delete a page","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces/{interfaceId}/pages/{pageId}/publish":{"post":{"operationId":"postBasesByBaseIdInterfacesByInterfaceIdPagesByPageIdPublish","summary":"Publish a page's draft: what the base's other collaborators see","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/interfaces/{interfaceId}/pages/{pageId}/unpublish":{"post":{"operationId":"postBasesByBaseIdInterfacesByInterfaceIdPagesByPageIdUnpublish","summary":"Unpublish a page: only creators and owners see it again","description":"Access: `base:manage_interfaces` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}":{"get":{"operationId":"getInterfacesByInterfaceId","summary":"An interface and its pages as the caller reaches it (interface-only collaborators: published pages)","description":"Access: `interface:read` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"interface":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"interfaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"number"},"draft":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"published":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["recordList","recordReview","dashboard","form","kanban","calendar","timeline"]},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"sorts":{"default":[],"maxItems":10,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["fieldId","direction"],"additionalProperties":false}},"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"elements":{"default":[],"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"text"},"content":{"default":"","type":"string","maxLength":10000}},"required":["id","x","y","w","h","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"filter"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100}},"required":["id","x","y","w","h","type","fieldId","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"button"},"label":{"default":"Open","type":"string","minLength":1,"maxLength":100},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"openUrl"},"url":{"type":"string","maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runAutomation"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","fieldId"],"additionalProperties":false}]}},"required":["id","x","y","w","h","type","label","action"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"field"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"editable":{"default":false,"type":"boolean"}},"required":["id","x","y","w","h","type","fieldId","editable"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"number"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","empty","filled","unique","sum","avg","min","max"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","fieldId","fn"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":199},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":1,"maximum":40},"type":{"type":"string","const":"chart"},"label":{"default":"","type":"string","maxLength":100},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"chart":{"default":"bar","type":"string","enum":["bar","stackedBar","line","pie","donut"]},"groupFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seriesFieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fieldId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"fn":{"default":"count","type":"string","enum":["count","sum","avg","min","max"]},"order":{"default":"field","type":"string","enum":["field","valueDesc","valueAsc"]}},"required":["id","x","y","w","h","type","label","tableId","viewId","chart","groupFieldId","seriesFieldId","fieldId","fn","order"],"additionalProperties":false}]}},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"form":{"type":"object","properties":{"fields":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"default":"","type":"string","maxLength":100},"required":{"default":false,"type":"boolean"}},"required":["fieldId","label","required"],"additionalProperties":false}},"submitLabel":{"default":"Submit","type":"string","minLength":1,"maxLength":60},"successMessage":{"default":"Thanks, your response was recorded.","type":"string","maxLength":500}},"required":["fields","submitLabel","successMessage"],"additionalProperties":false}},"required":["layout","tableId","sorts","fields","elements"],"additionalProperties":false},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"}},"required":["id","interfaceId","name","position","draft","published","publishedAt","hasChanges"],"additionalProperties":false}}},"required":["id","baseId","name","position","pages"],"additionalProperties":false},"baseName":{"type":"string"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"canEdit":{"type":"boolean"},"access":{"type":"string","enum":["base","interface"]},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["interface","baseName","workspaceId","canEdit","access","role"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/pages/{pageId}/records":{"post":{"operationId":"postInterfacesByInterfaceIdPagesByPageIdRecords","summary":"A window of a page's records: the page's filter for this viewer, only the fields it shows","description":"Access: `interface:read` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"default":false,"type":"boolean"},"filters":{"default":{},"type":"object","propertyNames":{"type":"string","maxLength":40},"additionalProperties":{"anyOf":[{"type":"string","maxLength":1000},{"type":"boolean"},{"type":"null"}]}},"offset":{"default":0,"type":"integer","minimum":0,"maximum":100000},"limit":{"default":200,"type":"integer","minimum":1,"maximum":200},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"table":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"}},"required":["id","name","type","options","isPrimary"],"additionalProperties":false}},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"links":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}}},"required":["id","fields"],"additionalProperties":false}},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"editable":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"canSubmit":{"type":"boolean"},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false}},"required":["table","fields","records","offset","total","editable","canSubmit"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/pages/{pageId}/records/{recordId}":{"patch":{"operationId":"patchInterfacesByInterfaceIdPagesByPageIdRecordsByRecordId","summary":"Edit the fields a published page makes editable, on one of its records","description":"Access: `interface:write` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["fields"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/pages/{pageId}/submissions":{"post":{"operationId":"postInterfacesByInterfaceIdPagesByPageIdSubmissions","summary":"Submit a form page: a new record from the form's fields","description":"Access: `interface:write` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["fields"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/pages/{pageId}/data":{"post":{"operationId":"postInterfacesByInterfaceIdPagesByPageIdData","summary":"A page's numbers and charts, aggregated on the server (the draft's for creators, with `draft`)","description":"Access: `interface:read` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"default":false,"type":"boolean"},"filters":{"default":{},"type":"object","propertyNames":{"type":"string","maxLength":40},"additionalProperties":{"anyOf":[{"type":"string","maxLength":1000},{"type":"boolean"},{"type":"null"}]}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"elements":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"number"},"value":{},"records":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"}},"required":["id","name","type","options","isPrimary"],"additionalProperties":false}}},"required":["type","value","records"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"series":{"anyOf":[{"type":"array","items":{}},{"type":"null"}]},"rows":{"type":"array","items":{"type":"object","properties":{"key":{},"values":{"type":"array","items":{"type":["number","null"]}},"other":{"type":"boolean"}},"required":["key","values"],"additionalProperties":false}},"truncated":{"type":"boolean"},"records":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"}},"required":["id","name","type","options","isPrimary"],"additionalProperties":false}}},"required":["type","series","rows","truncated","records"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"error"},"code":{"type":"string","enum":["missing","hidden","invalid"]},"message":{"type":"string"}},"required":["type","code","message"],"additionalProperties":false}]}}},"required":["elements"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/interfaces":{"get":{"operationId":"getMeInterfaces","summary":"The interfaces shared with you alone, without their bases","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"interfaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseName":{"type":"string"},"workspaceName":{"type":"string"},"role":{"type":"string","enum":["editor","read_only"]}},"required":["id","name","baseId","baseName","workspaceName","role"],"additionalProperties":false}}},"required":["interfaces"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/collaborators":{"get":{"operationId":"getInterfacesByInterfaceIdCollaborators","summary":"An interface's interface-only collaborators and pending invitations (creators)","description":"Access: `interface:manage_members` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"collaborators":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"role":{"type":"string","enum":["editor","read_only"]}},"required":["userId","email","name","avatarUrl","role"],"additionalProperties":false}},"invitations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}},"required":["collaborators","invitations"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postInterfacesByInterfaceIdCollaborators","summary":"Invite someone to this interface only, by email (creators)","description":"Access: `interface:manage_members` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"role":{"default":"read_only","type":"string","enum":["editor","read_only"]}},"required":["email"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"interfaceId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},"invitedByName":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sentAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"emailSent":{"type":"boolean"}},"required":["id","workspaceId","baseId","interfaceId","email","role","invitedByName","expiresAt","sentAt","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/collaborators/{userId}":{"patch":{"operationId":"patchInterfacesByInterfaceIdCollaboratorsByUserId","summary":"Change an interface-only collaborator's role","description":"Access: `interface:manage_members` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["editor","read_only"]}},"required":["role"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"role":{"type":"string","enum":["editor","read_only"]}},"required":["userId","email","name","avatarUrl","role"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteInterfacesByInterfaceIdCollaboratorsByUserId","summary":"Remove an interface-only collaborator","description":"Access: `interface:manage_members` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/interfaces/{interfaceId}/invitations/{invitationId}":{"delete":{"operationId":"deleteInterfacesByInterfaceIdInvitationsByInvitationId","summary":"Revoke a pending invitation to this interface","description":"Access: `interface:manage_members` on the interface (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["interfaces"],"parameters":[{"name":"interfaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/airtable/bases":{"post":{"operationId":"postWorkspacesByWorkspaceIdAirtableBases","summary":"The Airtable bases an Airtable personal access token can read (workspace creators; the token is not kept)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["airtable"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":20,"maxLength":256,"pattern":"^pat[A-Za-z0-9]+\\.[A-Za-z0-9]+$"}},"required":["token"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"permissionLevel":{"type":"string"}},"required":["id","name","permissionLevel"],"additionalProperties":false}}},"required":["bases"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/airtable/imports":{"post":{"operationId":"postWorkspacesByWorkspaceIdAirtableImports","summary":"Import Airtable bases into new bases of the workspace, in the background","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["airtable"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":20,"maxLength":256,"pattern":"^pat[A-Za-z0-9]+\\.[A-Za-z0-9]+$"},"baseIds":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","pattern":"^app[A-Za-z0-9]{14}$"}}},"required":["token","baseIds"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"imports":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"airtableBaseId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["running","done","failed","cancelled"]},"phase":{"type":"string","enum":["schema","records","links"]},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"tablesDone":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachments":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachmentsFailed":{"type":"integer","minimum":0,"maximum":9007199254740991},"linkedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991},"percent":{"type":"integer","minimum":0,"maximum":100},"report":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","tableId","fields","records"],"additionalProperties":false}},"unsupportedFields":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"untranslatedFormulas":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"},"formula":{"type":"string"}},"required":["table","field","type","message","formula"],"additionalProperties":false}},"converted":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"skippedCells":{"type":"integer","minimum":0,"maximum":9007199254740991},"truncatedTables":{"type":"array","items":{"type":"string"}},"failedAttachments":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"filename":{"type":"string"},"message":{"type":"string"}},"required":["table","field","filename","message"],"additionalProperties":false}},"skippedLinks":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"unsupportedViews":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"view":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","view","type","message"],"additionalProperties":false}}},"required":["tables","unsupportedFields","untranslatedFormulas","converted","skippedCells","truncatedTables","failedAttachments","skippedLinks","views","unsupportedViews"],"additionalProperties":false},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"startedAt":{"type":["string","null"]},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","airtableBaseId","name","status","phase","tables","tablesDone","records","attachments","attachmentsFailed","linkedRecords","percent","report","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}}},"required":["imports"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"get":{"operationId":"getWorkspacesByWorkspaceIdAirtableImports","summary":"The Airtable imports the caller started in the workspace (the last 7 days)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["airtable"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"imports":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"airtableBaseId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["running","done","failed","cancelled"]},"phase":{"type":"string","enum":["schema","records","links"]},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"tablesDone":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachments":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachmentsFailed":{"type":"integer","minimum":0,"maximum":9007199254740991},"linkedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991},"percent":{"type":"integer","minimum":0,"maximum":100},"report":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","tableId","fields","records"],"additionalProperties":false}},"unsupportedFields":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"untranslatedFormulas":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"},"formula":{"type":"string"}},"required":["table","field","type","message","formula"],"additionalProperties":false}},"converted":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"skippedCells":{"type":"integer","minimum":0,"maximum":9007199254740991},"truncatedTables":{"type":"array","items":{"type":"string"}},"failedAttachments":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"filename":{"type":"string"},"message":{"type":"string"}},"required":["table","field","filename","message"],"additionalProperties":false}},"skippedLinks":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"unsupportedViews":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"view":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","view","type","message"],"additionalProperties":false}}},"required":["tables","unsupportedFields","untranslatedFormulas","converted","skippedCells","truncatedTables","failedAttachments","skippedLinks","views","unsupportedViews"],"additionalProperties":false},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"startedAt":{"type":["string","null"]},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","airtableBaseId","name","status","phase","tables","tablesDone","records","attachments","attachmentsFailed","linkedRecords","percent","report","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}}},"required":["imports"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/airtable/imports/{importId}":{"get":{"operationId":"getWorkspacesByWorkspaceIdAirtableImportsByImportId","summary":"An Airtable import's progress and report (only who started it)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["airtable"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"airtableBaseId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["running","done","failed","cancelled"]},"phase":{"type":"string","enum":["schema","records","links"]},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"tablesDone":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachments":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachmentsFailed":{"type":"integer","minimum":0,"maximum":9007199254740991},"linkedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991},"percent":{"type":"integer","minimum":0,"maximum":100},"report":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","tableId","fields","records"],"additionalProperties":false}},"unsupportedFields":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"untranslatedFormulas":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"},"formula":{"type":"string"}},"required":["table","field","type","message","formula"],"additionalProperties":false}},"converted":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"skippedCells":{"type":"integer","minimum":0,"maximum":9007199254740991},"truncatedTables":{"type":"array","items":{"type":"string"}},"failedAttachments":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"filename":{"type":"string"},"message":{"type":"string"}},"required":["table","field","filename","message"],"additionalProperties":false}},"skippedLinks":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"unsupportedViews":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"view":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","view","type","message"],"additionalProperties":false}}},"required":["tables","unsupportedFields","untranslatedFormulas","converted","skippedCells","truncatedTables","failedAttachments","skippedLinks","views","unsupportedViews"],"additionalProperties":false},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"startedAt":{"type":["string","null"]},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","airtableBaseId","name","status","phase","tables","tablesDone","records","attachments","attachmentsFailed","linkedRecords","percent","report","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/airtable/imports/{importId}/cancel":{"post":{"operationId":"postWorkspacesByWorkspaceIdAirtableImportsByImportIdCancel","summary":"Stop a running Airtable import (only who started it); the new base keeps what was imported","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["airtable"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"airtableBaseId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["running","done","failed","cancelled"]},"phase":{"type":"string","enum":["schema","records","links"]},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"tablesDone":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachments":{"type":"integer","minimum":0,"maximum":9007199254740991},"attachmentsFailed":{"type":"integer","minimum":0,"maximum":9007199254740991},"linkedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991},"percent":{"type":"integer","minimum":0,"maximum":100},"report":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","tableId","fields","records"],"additionalProperties":false}},"unsupportedFields":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"untranslatedFormulas":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"},"formula":{"type":"string"}},"required":["table","field","type","message","formula"],"additionalProperties":false}},"converted":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","field","type","message"],"additionalProperties":false}},"skippedCells":{"type":"integer","minimum":0,"maximum":9007199254740991},"truncatedTables":{"type":"array","items":{"type":"string"}},"failedAttachments":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"field":{"type":"string"},"filename":{"type":"string"},"message":{"type":"string"}},"required":["table","field","filename","message"],"additionalProperties":false}},"skippedLinks":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"unsupportedViews":{"default":[],"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"view":{"type":"string"},"type":{"type":"string"},"message":{"type":"string"}},"required":["table","view","type","message"],"additionalProperties":false}}},"required":["tables","unsupportedFields","untranslatedFormulas","converted","skippedCells","truncatedTables","failedAttachments","skippedLinks","views","unsupportedViews"],"additionalProperties":false},"error":{"type":["string","null"]},"createdAt":{"type":"string"},"startedAt":{"type":["string","null"]},"finishedAt":{"type":["string","null"]}},"required":["id","baseId","airtableBaseId","name","status","phase","tables","tablesDone","records","attachments","attachmentsFailed","linkedRecords","percent","report","error","createdAt","startedAt","finishedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/ai":{"get":{"operationId":"getWorkspacesByWorkspaceIdAi","summary":"Whether AI features are on in the workspace (members): a provider from the workspace's own key or the instance's. Off: the app hides them","description":"Access: `workspace:read` on the workspace (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"available":{"type":"boolean"},"source":{"anyOf":[{"type":"string","enum":["workspace","instance"]},{"type":"null"}]}},"required":["workspaceId","available","source"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/ai/settings":{"get":{"operationId":"getWorkspacesByWorkspaceIdAiSettings","summary":"The workspace's AI provider settings (owners): the instance's model, the workspace's base URL and model, whether a key is stored (never the key)","description":"Access: `workspace:manage_ai` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"source":{"anyOf":[{"type":"string","enum":["workspace","instance"]},{"type":"null"}]},"instance":{"type":"object","properties":{"available":{"type":"boolean"},"model":{"type":["string","null"]},"credits":{"anyOf":[{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"resetsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["used","limit","resetsOn"],"additionalProperties":false},{"type":"null"}]}},"required":["available","model"],"additionalProperties":false},"workspace":{"anyOf":[{"type":"object","properties":{"baseUrl":{"type":"string"},"model":{"type":"string"},"hasKey":{"type":"boolean"},"updatedAt":{"type":"string"}},"required":["baseUrl","model","hasKey","updatedAt"],"additionalProperties":false},{"type":"null"}]},"allowedHosts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["workspaceId","source","instance","workspace","allowedHosts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putWorkspacesByWorkspaceIdAiSettings","summary":"Bring your own key (owners): an OpenAI-compatible endpoint, model and API key for the workspace's AI features. The key is write-only and encrypted at rest; omit it to keep the stored one","description":"Access: `workspace:manage_ai` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"model":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[\\x21-\\x7e]+$"},"apiKey":{"type":"string","minLength":8,"maxLength":512,"pattern":"^[\\x21-\\x7e]+$"}},"required":["model"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"source":{"anyOf":[{"type":"string","enum":["workspace","instance"]},{"type":"null"}]},"instance":{"type":"object","properties":{"available":{"type":"boolean"},"model":{"type":["string","null"]},"credits":{"anyOf":[{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"resetsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["used","limit","resetsOn"],"additionalProperties":false},{"type":"null"}]}},"required":["available","model"],"additionalProperties":false},"workspace":{"anyOf":[{"type":"object","properties":{"baseUrl":{"type":"string"},"model":{"type":"string"},"hasKey":{"type":"boolean"},"updatedAt":{"type":"string"}},"required":["baseUrl","model","hasKey","updatedAt"],"additionalProperties":false},{"type":"null"}]},"allowedHosts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["workspaceId","source","instance","workspace","allowedHosts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceIdAiSettings","summary":"Remove the workspace's own AI key (owners): AI features fall back to the instance's provider, or turn off","description":"Access: `workspace:manage_ai` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"source":{"anyOf":[{"type":"string","enum":["workspace","instance"]},{"type":"null"}]},"instance":{"type":"object","properties":{"available":{"type":"boolean"},"model":{"type":["string","null"]},"credits":{"anyOf":[{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"resetsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["used","limit","resetsOn"],"additionalProperties":false},{"type":"null"}]}},"required":["available","model"],"additionalProperties":false},"workspace":{"anyOf":[{"type":"object","properties":{"baseUrl":{"type":"string"},"model":{"type":"string"},"hasKey":{"type":"boolean"},"updatedAt":{"type":"string"}},"required":["baseUrl","model","hasKey","updatedAt"],"additionalProperties":false},{"type":"null"}]},"allowedHosts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["workspaceId","source","instance","workspace","allowedHosts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/ai/settings/test":{"post":{"operationId":"postWorkspacesByWorkspaceIdAiSettingsTest","summary":"Send one small structured request to the workspace's AI provider (owners) and report whether it answered","description":"Access: `workspace:manage_ai` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"source":{"type":"string","enum":["workspace","instance"]},"model":{"type":"string"},"error":{"type":["string","null"]},"usage":{"anyOf":[{"type":"object","properties":{"inputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"outputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalTokens":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["inputTokens","outputTokens","totalTokens"],"additionalProperties":false},{"type":"null"}]},"latencyMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["ok","source","model","error","usage","latencyMs"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/fields/{fieldId}/ai":{"get":{"operationId":"getFieldsByFieldIdAi","summary":"An AI field's generation state: counts and the records not done","description":"Access: `field:ai_status` on the field (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["fields"],"parameters":[{"name":"fieldId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"available":{"type":"boolean"},"counts":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"done":{"type":"integer","minimum":0,"maximum":9007199254740991},"error":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","done","error","canceled"],"additionalProperties":false},"cells":{"type":"array","items":{"type":"object","properties":{"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["pending","done","error","canceled"]},"error":{"type":["string","null"]},"updatedAt":{"type":"string"}},"required":["recordId","status","error","updatedAt"],"additionalProperties":false}}},"required":["fieldId","available","counts","cells"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/fields/{fieldId}/ai/generate":{"post":{"operationId":"postFieldsByFieldIdAiGenerate","summary":"Generate an AI field's value again for records, or for the whole field","description":"Access: `field:ai_generate` on the field (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["fields"],"parameters":[{"name":"fieldId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"recordIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["recordIds"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","enum":["all","missing"]}},"required":["scope"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"queued":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["queued"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/fields/{fieldId}/ai/cancel":{"post":{"operationId":"postFieldsByFieldIdAiCancel","summary":"Stop an AI field's pending generations","description":"Access: `field:ai_generate` on the field (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["fields"],"parameters":[{"name":"fieldId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["canceled"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/assistant/plan":{"post":{"operationId":"postBasesByBaseIdAssistantPlan","summary":"Ask the AI assistant for a change plan (creators): new tables, fields, formulas, views and automations for the base. The model gets the base's schema, and a few records only with includeRecords. Nothing is changed","description":"Access: `base:ai_assistant` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"includeRecords":{"default":false,"type":"boolean"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"object","properties":{"summary":{"type":"string","maxLength":1000},"baseName":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"operations":{"minItems":0,"maxItems":40,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"createTable"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"fields":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}}},"required":["op","name","description","fields"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createField"},"table":{"type":"string","minLength":1,"maxLength":100},"field":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}},"required":["op","table","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createView"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["grid","kanban","calendar","gallery","form"]},"field":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["op","table","name","type","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createAutomation"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"trigger":{"type":"string","enum":["recordCreated","recordUpdated"]},"watchFields":{"anyOf":[{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"actions":{"minItems":1,"maxItems":5,"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":1000}},"subject":{"type":"string","maxLength":200},"body":{"type":"string","maxLength":5000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"cells":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","cells"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"table":{"type":"string","minLength":1,"maxLength":100},"cells":{"minItems":0,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","table","cells"],"additionalProperties":false}]}}},"required":["op","table","name","trigger","watchFields","actions"],"additionalProperties":false}]}}},"required":["summary","baseName","operations"],"additionalProperties":false},"problems":{"type":"array","items":{"type":"object","properties":{"operation":{"type":"integer","minimum":0,"maximum":9007199254740991},"field":{"type":["string","null"]},"kind":{"type":"string","enum":["formula","reference","name","type"]},"message":{"type":"string"}},"required":["operation","field","kind","message"],"additionalProperties":false}},"attempts":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["plan","problems","attempts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/assistant/apply":{"post":{"operationId":"postBasesByBaseIdAssistantApply","summary":"Apply a change plan the user confirmed (creators), in one transaction through the same checks as the API","description":"Access: `base:ai_assistant` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["bases"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"object","properties":{"summary":{"type":"string","maxLength":1000},"baseName":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"operations":{"minItems":0,"maxItems":40,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"createTable"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"fields":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}}},"required":["op","name","description","fields"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createField"},"table":{"type":"string","minLength":1,"maxLength":100},"field":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}},"required":["op","table","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createView"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["grid","kanban","calendar","gallery","form"]},"field":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["op","table","name","type","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createAutomation"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"trigger":{"type":"string","enum":["recordCreated","recordUpdated"]},"watchFields":{"anyOf":[{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"actions":{"minItems":1,"maxItems":5,"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":1000}},"subject":{"type":"string","maxLength":200},"body":{"type":"string","maxLength":5000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"cells":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","cells"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"table":{"type":"string","minLength":1,"maxLength":100},"cells":{"minItems":0,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","table","cells"],"additionalProperties":false}]}}},"required":["op","table","name","trigger","watchFields","actions"],"additionalProperties":false}]}}},"required":["summary","baseName","operations"],"additionalProperties":false}},"required":["plan"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"type":"integer","minimum":0,"maximum":9007199254740991},"automations":{"type":"integer","minimum":0,"maximum":9007199254740991},"firstTableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["baseId","tables","fields","views","automations","firstTableId"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/assistant/plan":{"post":{"operationId":"postWorkspacesByWorkspaceIdAssistantPlan","summary":"Describe a new base (creators): the AI assistant proposes its tables, fields, views and automations as a change plan. Nothing is created","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"object","properties":{"summary":{"type":"string","maxLength":1000},"baseName":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"operations":{"minItems":0,"maxItems":40,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"createTable"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"fields":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}}},"required":["op","name","description","fields"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createField"},"table":{"type":"string","minLength":1,"maxLength":100},"field":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}},"required":["op","table","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createView"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["grid","kanban","calendar","gallery","form"]},"field":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["op","table","name","type","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createAutomation"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"trigger":{"type":"string","enum":["recordCreated","recordUpdated"]},"watchFields":{"anyOf":[{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"actions":{"minItems":1,"maxItems":5,"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":1000}},"subject":{"type":"string","maxLength":200},"body":{"type":"string","maxLength":5000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"cells":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","cells"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"table":{"type":"string","minLength":1,"maxLength":100},"cells":{"minItems":0,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","table","cells"],"additionalProperties":false}]}}},"required":["op","table","name","trigger","watchFields","actions"],"additionalProperties":false}]}}},"required":["summary","baseName","operations"],"additionalProperties":false},"problems":{"type":"array","items":{"type":"object","properties":{"operation":{"type":"integer","minimum":0,"maximum":9007199254740991},"field":{"type":["string","null"]},"kind":{"type":"string","enum":["formula","reference","name","type"]},"message":{"type":"string"}},"required":["operation","field","kind","message"],"additionalProperties":false}},"attempts":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["plan","problems","attempts"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/assistant/apply":{"post":{"operationId":"postWorkspacesByWorkspaceIdAssistantApply","summary":"Create a new base from a change plan the user confirmed (creators)","description":"Access: `base:create` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["workspaces"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"plan":{"type":"object","properties":{"summary":{"type":"string","maxLength":1000},"baseName":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"operations":{"minItems":0,"maxItems":40,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"createTable"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"fields":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}}},"required":["op","name","description","fields"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createField"},"table":{"type":"string","minLength":1,"maxLength":100},"field":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","attachment","user","link","formula","autoNumber","createdTime","lastModifiedTime","createdBy","lastModifiedBy"]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"choices":{"anyOf":[{"minItems":0,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"linkedTable":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["name","type","description","choices","formula","linkedTable"],"additionalProperties":false}},"required":["op","table","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createView"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["grid","kanban","calendar","gallery","form"]},"field":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["op","table","name","type","field"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"createAutomation"},"table":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"trigger":{"type":"string","enum":["recordCreated","recordUpdated"]},"watchFields":{"anyOf":[{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},{"type":"null"}]},"actions":{"minItems":1,"maxItems":5,"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":1000}},"subject":{"type":"string","maxLength":200},"body":{"type":"string","maxLength":5000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"cells":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","cells"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"table":{"type":"string","minLength":1,"maxLength":100},"cells":{"minItems":0,"maxItems":20,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","maxLength":2000}},"required":["field","value"],"additionalProperties":false}}},"required":["type","table","cells"],"additionalProperties":false}]}}},"required":["op","table","name","trigger","watchFields","actions"],"additionalProperties":false}]}}},"required":["summary","baseName","operations"],"additionalProperties":false}},"required":["name","plan"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tables":{"type":"integer","minimum":0,"maximum":9007199254740991},"fields":{"type":"integer","minimum":0,"maximum":9007199254740991},"views":{"type":"integer","minimum":0,"maximum":9007199254740991},"automations":{"type":"integer","minimum":0,"maximum":9007199254740991},"firstTableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["baseId","tables","fields","views","automations","firstTableId"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/views/{viewId}/shares":{"get":{"operationId":"getViewsByViewIdShares","summary":"The view's share links (not revoked), newest first","description":"Access: `view:share` on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"shares":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false}}},"required":["shares"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postViewsByViewIdShares","summary":"Make a read-only share link of the view; its token is answered only here","description":"Access: `view:share` on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"password":{"anyOf":[{"type":"string","minLength":8,"maxLength":256},{"type":"null"}]},"allowedDomains":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])$"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":300}},"allowRestrictedEmbed":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"share":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false},"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["share","token"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/views/{viewId}/shares/{shareId}":{"patch":{"operationId":"patchViewsByViewIdSharesByShareId","summary":"Change a view share link's expiry, password, domains or toggles","description":"Access: `view:share` on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"shareId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"password":{"anyOf":[{"type":"string","minLength":8,"maxLength":256},{"type":"null"}]},"allowedDomains":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])$"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":300}},"allowRestrictedEmbed":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteViewsByViewIdSharesByShareId","summary":"Revoke a share link (it answers 404 from then on)","description":"Access: `view:share` on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"viewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"shareId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/shares":{"get":{"operationId":"getBasesByBaseIdShares","summary":"The base's whole-base share links (not revoked), newest first","description":"Access: `base:share` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"shares":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false}}},"required":["shares"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postBasesByBaseIdShares","summary":"Make a read-only share link of the whole base; its token is answered only here","description":"Access: `base:share` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"password":{"anyOf":[{"type":"string","minLength":8,"maxLength":256},{"type":"null"}]},"allowedDomains":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])$"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":300}},"allowRestrictedEmbed":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"share":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false},"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["share","token"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/bases/{baseId}/shares/{shareId}":{"patch":{"operationId":"patchBasesByBaseIdSharesByShareId","summary":"Change a base share link's expiry, password, domains or toggles","description":"Access: `base:share` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"shareId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"password":{"anyOf":[{"type":"string","minLength":8,"maxLength":256},{"type":"null"}]},"allowedDomains":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])$"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":300}},"allowRestrictedEmbed":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["view","base","form"]},"viewId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expired":{"type":"boolean"},"hasPassword":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"embedOrigins":{"type":"array","items":{"type":"string"}},"allowRestrictedEmbed":{"type":"boolean"}},"required":["id","kind","viewId","baseId","createdBy","createdAt","expiresAt","expired","hasPassword","allowedDomains","allowCopy","allowDownload","embedOrigins","allowRestrictedEmbed"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteBasesByBaseIdSharesByShareId","summary":"Revoke a base share link (it answers 404 from then on)","description":"Access: `base:share` on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["shares"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"shareId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/shared/{shareToken}":{"get":{"operationId":"getSharedByShareToken","summary":"What the share link shows: its name, the views it opens and its toggles","description":"Access: anyone.","tags":["shared"],"parameters":[{"name":"shareToken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["view","base","form"]},"name":{"type":"string"},"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"views":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]}},"required":["id","name","type"],"additionalProperties":false}}},"required":["name","views"],"additionalProperties":false}},"allowCopy":{"type":"boolean"},"allowDownload":{"type":"boolean"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["kind","name","tables","allowCopy","allowDownload","expiresAt"],"additionalProperties":false}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/shared/{shareToken}/unlock":{"post":{"operationId":"postSharedByShareTokenUnlock","summary":"Enter a share link's password; sets a cookie for this link (12 hours at most)","description":"Access: anyone.","tags":["shared"],"parameters":[{"name":"shareToken","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","minLength":1,"maxLength":256},"captchaToken":{"type":"string","minLength":1,"maxLength":2048}},"required":["password"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success, no content"},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/shared/{shareToken}/views/{viewId}":{"get":{"operationId":"getSharedByShareTokenViewsByViewId","summary":"A shared view: its name, visible fields and layout","description":"Access: anyone.","tags":["shared"],"parameters":[{"name":"shareToken","in":"path","required":true,"schema":{"type":"string"}},{"name":"viewId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"view":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["grid","gallery","kanban","calendar","timeline","list","form"]}},"required":["name","type"],"additionalProperties":false},"table":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"}},"required":["id","name","type","options","isPrimary"],"additionalProperties":false}},"layout":{"type":"object","properties":{"fieldOrder":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"columnWidths":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"integer","minimum":60,"maximum":1200}},"frozenCount":{"type":"integer","minimum":0,"maximum":10},"rowHeight":{"type":"string","enum":["compact","default","medium","tall"]}},"additionalProperties":false},"kanban":{"type":"object","properties":{"stackFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"collapseEmpty":{"type":"boolean"}},"additionalProperties":false},"calendar":{"type":"object","properties":{"dateFields":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"startFieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["startFieldId"],"additionalProperties":false}},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"mode":{"type":"string","enum":["month","week","day"]}},"additionalProperties":false},"gallery":{"type":"object","properties":{"cardFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"coverFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"coverFit":{"type":"string","enum":["crop","fit"]},"cardSize":{"type":"string","enum":["small","medium","large"]}},"additionalProperties":false},"timeline":{"type":"object","properties":{"startFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"endFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"scale":{"type":"string","enum":["day","week","month"]},"groupFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"colorFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dependencyFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"additionalProperties":false},"list":{"type":"object","properties":{"parentFieldId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"rowFields":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"additionalProperties":false},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["view","table","fields","layout","expiresAt"],"additionalProperties":false}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/shared/{shareToken}/views/{viewId}/records":{"get":{"operationId":"getSharedByShareTokenViewsByViewIdRecords","summary":"A window of a shared view's records, with its filter and order","description":"Access: anyone.","tags":["shared"],"parameters":[{"name":"shareToken","in":"path","required":true,"schema":{"type":"string"}},{"name":"viewId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"offset","in":"query","required":false,"schema":{"default":0,"type":"integer","minimum":0,"maximum":10000000}},{"name":"limit","in":"query","required":false,"schema":{"default":100,"type":"integer","minimum":1,"maximum":200}},{"name":"from","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"links":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}}},"required":["id","fields"],"additionalProperties":false}},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["records","offset","total"],"additionalProperties":false}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/forms/{formToken}":{"get":{"operationId":"getFormsByFormToken","summary":"A public form: its title, description, fields, conditions and settings","description":"Access: anyone.","tags":["forms"],"parameters":[{"name":"formToken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":["string","null"]},"hasCover":{"type":"boolean"},"hasLogo":{"type":"boolean"},"submitLabel":{"type":"string"},"afterSubmit":{"type":"string","enum":["message","redirect"]},"submitMessage":{"type":["string","null"]},"redirectUrl":{"type":["string","null"]},"showBranding":{"type":"boolean"},"entries":{"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":255},"helpText":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"allowPrefill":{"type":"boolean"},"condition":{"anyOf":[{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},{"type":"null"}]},"viewIdForRecordSelection":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["fieldId"],"additionalProperties":false}},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"type":{"type":"string","enum":["singleLineText","longText","number","currency","percent","checkbox","date","dateTime","duration","rating","singleSelect","multipleSelect","email","url","phone","barcode","link","lookup","rollup","count","formula","ai","button","attachment","autoNumber","createdTime","lastModifiedTime","user","createdBy","lastModifiedBy","syncSource"]},"options":{},"isPrimary":{"type":"boolean"}},"required":["id","name","type","options","isPrimary"],"additionalProperties":false}},"captchaSiteKey":{"type":["string","null"]},"accepting":{"type":"boolean"}},"required":["title","description","hasCover","hasLogo","submitLabel","afterSubmit","submitMessage","redirectUrl","showBranding","entries","fields","captchaSiteKey","accepting"],"additionalProperties":false}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/forms/{formToken}/fields/{fieldId}/records":{"get":{"operationId":"getFormsByFormTokenFieldsByFieldIdRecords","summary":"A linked record field's picker: records of the form's chosen view, by primary field only","description":"Access: anyone.","tags":["forms"],"parameters":[{"name":"formToken","in":"path","required":true,"schema":{"type":"string"}},{"name":"fieldId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"offset","in":"query","required":false,"schema":{"default":0,"type":"integer","minimum":0,"maximum":10000}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"nextOffset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["records","nextOffset"],"additionalProperties":false}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/forms/{formToken}/submissions":{"post":{"operationId":"postFormsByFormTokenSubmissions","summary":"Submit the form: creates one record (once per submissionId)","description":"Access: anyone.","tags":["forms"],"parameters":[{"name":"formToken","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submissionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}},"captchaToken":{"type":"string","minLength":1,"maxLength":2048}},"required":["submissionId","fields"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean","const":true}},"required":["submitted"],"additionalProperties":false}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/forms/{formToken}/attachments":{"post":{"operationId":"postFormsByFormTokenAttachments","summary":"Announce a file for an attachment field on the form; answers a presigned PUT","description":"Access: anyone.","tags":["forms"],"parameters":[{"name":"formToken","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string","minLength":1,"maxLength":255},"type":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},{"type":"string","const":""}]},"size":{"type":"integer","minimum":1,"maximum":20971520}},"required":["fieldId","filename","size"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"attachment":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"filename":{"type":"string","minLength":1,"maxLength":255},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"type":{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},"width":{"type":"integer","minimum":1,"maximum":1000000},"height":{"type":"integer","minimum":1,"maximum":1000000}},"required":["id","filename","size","type"],"additionalProperties":false},"upload":{"type":"object","properties":{"method":{"type":"string","const":"PUT"},"url":{"type":"string","format":"uri"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["method","url","headers","expiresAt"],"additionalProperties":false}},"required":["attachment","upload"],"additionalProperties":false}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/forms/{formToken}/attachments/{attachmentId}/confirm":{"post":{"operationId":"postFormsByFormTokenAttachmentsByAttachmentIdConfirm","summary":"Confirm a form upload: the stored object must match the announced size","description":"Access: anyone.","tags":["forms"],"parameters":[{"name":"formToken","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"filename":{"type":"string","minLength":1,"maxLength":255},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"type":{"type":"string","maxLength":255,"pattern":"^[\\w.+-]+\\/[\\w.+-]+$"},"width":{"type":"integer","minimum":1,"maximum":1000000},"height":{"type":"integer","minimum":1,"maximum":1000000}},"required":["id","filename","size","type"],"additionalProperties":false}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}},"security":[]}},"/api/bases/{baseId}/events":{"get":{"operationId":"getBasesByBaseIdEvents","summary":"The base's events after `since` (a seq), oldest first, for realtime catch-up; 410 when `since` is older than the 7-day retention","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["realtime"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"since","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"limit","in":"query","required":false,"schema":{"default":500,"type":"integer","minimum":1,"maximum":1000}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"seq":{"type":"integer","minimum":0,"maximum":9007199254740991},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tableId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"kind":{"type":"string"},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"actorId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"clientOpId":{"type":["string","null"]},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["seq","baseId","tableId","kind","payload","actorId","clientOpId","at"],"additionalProperties":false}},"next":{"type":"integer","minimum":0,"maximum":9007199254740991},"hasMore":{"type":"boolean"}},"required":["events","next","hasMore"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/webhooks":{"get":{"operationId":"getV1BasesByBaseIdWebhooks","summary":"A base's webhooks (never their secrets)","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"webhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"url":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["record.created","record.updated","record.deleted","record.restored","field.created","field.updated","field.deleted","field.restored","table.created","table.updated","table.deleted","table.restored","form.submitted","comment.created","comment.updated","comment.deleted"]}},"tableIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"fieldIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["failures","creator_access"]},{"type":"null"}]},"consecutiveFailures":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastDeliveryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastSuccess":{"type":["boolean","null"]},"previousSecretExpiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","url","description","events","tableIds","fieldIds","enabled","disabledReason","consecutiveFailures","lastDeliveryAt","lastSuccess","previousSecretExpiresAt","createdBy","createdAt","updatedAt"],"additionalProperties":false}}},"required":["webhooks"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postV1BasesByBaseIdWebhooks","summary":"Create a webhook; the answer holds its signing secret, shown only this once","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"description":{"default":"","type":"string","maxLength":200},"events":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"string","enum":["record.created","record.updated","record.deleted","record.restored","field.created","field.updated","field.deleted","field.restored","table.created","table.updated","table.deleted","table.restored","form.submitted","comment.created","comment.updated","comment.deleted"]}},"tableIds":{"anyOf":[{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"fieldIds":{"anyOf":[{"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"enabled":{"default":true,"type":"boolean"}},"required":["url","events"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"url":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["record.created","record.updated","record.deleted","record.restored","field.created","field.updated","field.deleted","field.restored","table.created","table.updated","table.deleted","table.restored","form.submitted","comment.created","comment.updated","comment.deleted"]}},"tableIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"fieldIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["failures","creator_access"]},{"type":"null"}]},"consecutiveFailures":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastDeliveryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastSuccess":{"type":["boolean","null"]},"previousSecretExpiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"secret":{"type":"string"}},"required":["id","baseId","url","description","events","tableIds","fieldIds","enabled","disabledReason","consecutiveFailures","lastDeliveryAt","lastSuccess","previousSecretExpiresAt","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/webhooks/{webhookId}":{"patch":{"operationId":"patchV1BasesByBaseIdWebhooksByWebhookId","summary":"Change, enable or disable a webhook, or rotate its secret (returned once)","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"description":{"type":"string","maxLength":200},"events":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"string","enum":["record.created","record.updated","record.deleted","record.restored","field.created","field.updated","field.deleted","field.restored","table.created","table.updated","table.deleted","table.restored","form.submitted","comment.created","comment.updated","comment.deleted"]}},"tableIds":{"anyOf":[{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"fieldIds":{"anyOf":[{"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"enabled":{"type":"boolean"},"rotateSecret":{"type":"boolean","const":true},"expirePreviousSecret":{"type":"boolean","const":true}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"url":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["record.created","record.updated","record.deleted","record.restored","field.created","field.updated","field.deleted","field.restored","table.created","table.updated","table.deleted","table.restored","form.submitted","comment.created","comment.updated","comment.deleted"]}},"tableIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"fieldIds":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["failures","creator_access"]},{"type":"null"}]},"consecutiveFailures":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastDeliveryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastSuccess":{"type":["boolean","null"]},"previousSecretExpiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"secret":{"type":"string"}},"required":["id","baseId","url","description","events","tableIds","fieldIds","enabled","disabledReason","consecutiveFailures","lastDeliveryAt","lastSuccess","previousSecretExpiresAt","createdBy","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteV1BasesByBaseIdWebhooksByWebhookId","summary":"Delete a webhook and its delivery log","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/webhooks/{webhookId}/deliveries":{"get":{"operationId":"getV1BasesByBaseIdWebhooksByWebhookIdDeliveries","summary":"A webhook's delivery attempts of the last 7 days, newest first","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"deliveries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"eventId":{"type":"string"},"eventType":{"type":"string"},"attempt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"success":{"type":"boolean"},"responseStatus":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseBody":{"type":["string","null"]},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","eventId","eventType","attempt","success","responseStatus","durationMs","responseBody","error","createdAt"],"additionalProperties":false}}},"required":["deliveries"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver":{"post":{"operationId":"postV1BasesByBaseIdWebhooksByWebhookIdDeliveriesByDeliveryIdRedeliver","summary":"Queue a logged delivery's event again, with the same event id","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"queued":{"type":"boolean","const":true},"eventId":{"type":"string"}},"required":["queued","eventId"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/webhooks/{webhookId}/ping":{"post":{"operationId":"postV1BasesByBaseIdWebhooksByWebhookIdPing","summary":"Send a signed test event now and answer with the attempt","description":"Access: `base:manage_webhooks` on the base (see ACTIONS for the minimum role); personal access tokens need `webhook:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"eventId":{"type":"string"},"eventType":{"type":"string"},"attempt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"success":{"type":"boolean"},"responseStatus":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseBody":{"type":["string","null"]},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","eventId","eventType","attempt","success","responseStatus","durationMs","responseBody","error","createdAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/automations":{"get":{"operationId":"getV1BasesByBaseIdAutomations","summary":"A base's automations (never their webhook URLs)","description":"Access: `base:read_automations` on the base (see ACTIONS for the minimum role); personal access tokens need `automations:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"automations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","createdAt","updatedAt"],"additionalProperties":false}}},"required":["automations"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/automations/{automationId}":{"get":{"operationId":"getV1BasesByBaseIdAutomationsByAutomationId","summary":"One automation: its trigger, actions and last run","description":"Access: `base:read_automations` on the base (see ACTIONS for the minimum role); personal access tokens need `automations:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchV1BasesByBaseIdAutomationsByAutomationId","summary":"Turn an automation on or off; turning it on makes it run as you","description":"Access: `base:toggle_automations` on the base (see ACTIONS for the minimum role); personal access tokens need `automations:manage`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"disabledReason":{"anyOf":[{"type":"string","enum":["creator_access"]},{"type":"null"}]},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"recordCreated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordUpdated"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldIds":{"default":null,"anyOf":[{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["type","tableId","fieldIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"recordMatches"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false}},"required":["type","tableId","filter"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled"},"schedule":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string","minLength":1,"maxLength":120},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","expression","timeZone"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"every":{"type":"integer","minimum":1,"maximum":1000},"unit":{"type":"string","enum":["minutes","hours","days","weeks"]},"startAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"},"timeZone":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","every","unit","startAt","timeZone"],"additionalProperties":false}]}},"required":["type","schedule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"formSubmitted"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"viewId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","viewId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhookReceived"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"buttonClicked"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","tableId","fieldId"],"additionalProperties":false}]},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"createRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"updateRecord"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recordId":{"type":"string","minLength":1,"maxLength":2000},"fields":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{}}},"required":["type","tableId","recordId","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"findRecords"},"tableId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false},{"type":"object","properties":{"conjunction":{"default":"and","type":"string","enum":["and","or"]},"conditions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operator":{"type":"string","enum":["is","isNot","contains","doesNotContain","isEmpty","isNotEmpty","=","!=","<","<=",">",">=","isBefore","isAfter","isOnOrBefore","isOnOrAfter","isWithin","isAnyOf","isNoneOf","hasAnyOf","hasAllOf","hasNoneOf","isExactly"]},"value":{}},"required":["fieldId","operator"],"additionalProperties":false}}},"required":["conjunction","conditions"],"additionalProperties":false}]}}},"required":["conjunction","conditions"],"additionalProperties":false},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["type","tableId","limit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"sendEmail"},"to":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["type","to","subject","body"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"httpRequest"},"method":{"default":"POST","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"url":{"type":"string","minLength":1,"maxLength":2000},"headers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,100}$"},"value":{"type":"string","maxLength":4000},"secret":{"default":false,"type":"boolean"}},"required":["name","secret"],"additionalProperties":false}},"body":{}},"required":["type","method","url","headers"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"slackMessage"},"webhookUrl":{"type":"string","minLength":1,"maxLength":2000},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"runScript"},"script":{"type":"string","minLength":1,"maxLength":50000},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z_$][\\w$]{0,63}$"},"additionalProperties":{"type":"string","maxLength":4000}}},"required":["type","script","inputs"],"additionalProperties":false}]}},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastRunStatus":{"anyOf":[{"type":"string","enum":["succeeded","failed","skipped"]},{"type":"null"}]},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","baseId","name","description","enabled","disabledReason","trigger","actions","createdBy","lastRunAt","lastRunStatus","nextRunAt","createdAt","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/automations/{automationId}/runs":{"get":{"operationId":"getV1BasesByBaseIdAutomationsByAutomationIdRuns","summary":"An automation's runs of the last 30 days, newest first","description":"Access: `base:read_automations` on the base (see ACTIONS for the minimum role); personal access tokens need `automations:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["succeeded","failed","skipped"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"mode":{"type":"string","enum":["live","test","retry"]},"skipReason":{"anyOf":[{"type":"string","enum":["loop","quota"]},{"type":"null"}]},"retryOf":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"trigger":{},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["createRecord","updateRecord","findRecords","sendEmail","httpRequest","slackMessage","runScript"]},"status":{"type":"string","enum":["succeeded","failed","skipped"]},"input":{},"output":{},"error":{"type":["string","null"]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["index","type","status","input","output","error","durationMs"],"additionalProperties":false}},"error":{"type":["string","null"]},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"triggeredBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"durationMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","automationId","status","mode","skipReason","retryOf","trigger","steps","error","depth","triggeredBy","durationMs","createdAt"],"additionalProperties":false}}},"required":["runs"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/bases/{baseId}/automations/{automationId}/trigger":{"post":{"operationId":"postV1BasesByBaseIdAutomationsByAutomationIdTrigger","summary":"Trigger a webhook-received (`body`) or button-clicked (`recordId`) automation","description":"Access: `base:run_automations` on the base (see ACTIONS for the minimum role); personal access tokens need `automations:run`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"body":{}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"queued":{"type":"boolean","const":true},"triggerId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["queued","triggerId"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/meta/bases":{"get":{"operationId":"getV1MetaBases","summary":"Bases the caller (and token) can read, with their permission level","description":"Access: any signed-in user, for their own data; personal access tokens need `schema.bases:read`.","tags":["v1"],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"string","maxLength":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"permissionLevel":{"type":"string","enum":["read","comment","edit","create","owner"]}},"required":["id","name","permissionLevel"],"additionalProperties":false}}},"required":["bases"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/meta/bases/{baseId}/tables":{"get":{"operationId":"getV1MetaBasesByBaseIdTables","summary":"A base's tables with their fields (types and options) and views","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"primaryFieldId":{"type":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"openrowsType":{"type":"string"},"description":{"type":"string"},"options":{}},"required":["id","name","type","openrowsType"],"additionalProperties":false}},"views":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}},"required":["id","name","type"],"additionalProperties":false}}},"required":["id","name","primaryFieldId","fields","views"],"additionalProperties":false}}},"required":["tables"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postV1MetaBasesByBaseIdTables","summary":"Create a table with its fields (the first is the primary field)","description":"Access: `table:create` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"fields":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":2000},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","type"],"additionalProperties":false}}},"required":["name","fields"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"primaryFieldId":{"type":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"openrowsType":{"type":"string"},"description":{"type":"string"},"options":{}},"required":["id","name","type","openrowsType"],"additionalProperties":false}},"views":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}},"required":["id","name","type"],"additionalProperties":false}}},"required":["id","name","primaryFieldId","fields","views"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/meta/bases/{baseId}/tables/{tableIdOrName}/fields":{"post":{"operationId":"postV1MetaBasesByBaseIdTablesByTableIdOrNameFields","summary":"Create a field","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":2000},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","type"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"openrowsType":{"type":"string"},"description":{"type":"string"},"options":{}},"required":["id","name","type","openrowsType"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/meta/bases/{baseId}/tables/{tableIdOrName}/fields/{fieldId}":{"patch":{"operationId":"patchV1MetaBasesByBaseIdTablesByTableIdOrNameFieldsByFieldId","summary":"Rename a field or change its description","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `schema.bases:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"fieldId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"openrowsType":{"type":"string"},"description":{"type":"string"},"options":{}},"required":["id","name","type","openrowsType"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/{baseId}/{tableIdOrName}":{"get":{"operationId":"getV1ByBaseIdByTableIdOrName","summary":"List records: pageSize, offset, maxRecords, view, sort, fields, filterByFormula","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"offset","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"maxRecords","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"view","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"fields[]","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"sort[0][field]","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"sort[0][direction]","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"filterByFormula","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"cellFormat","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"timeZone","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"userLocale","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"returnFieldsByFieldId","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}},{"name":"recordMetadata[]","in":"query","required":false,"schema":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":10000}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}},"offset":{"type":"string"}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postV1ByBaseIdByTableIdOrName","summary":"Create one record (`fields`) or up to 10 (`records`)","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"records":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}}},"required":["fields"],"additionalProperties":false}},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["records"],"additionalProperties":false},{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["fields"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}},"createdRecords":{"type":"array","items":{"type":"string"}},"updatedRecords":{"type":"array","items":{"type":"string"}}},"required":["records"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}]}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchV1ByBaseIdByTableIdOrName","summary":"Update up to 10 records (or upsert with performUpsert)","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"records":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}}},"required":["fields"],"additionalProperties":false}},"performUpsert":{"type":"object","properties":{"fieldsToMergeOn":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}}},"required":["fieldsToMergeOn"],"additionalProperties":false},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["records"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}},"createdRecords":{"type":"array","items":{"type":"string"}},"updatedRecords":{"type":"array","items":{"type":"string"}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putV1ByBaseIdByTableIdOrName","summary":"Replace up to 10 records: fields left out are cleared","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"records":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}}},"required":["fields"],"additionalProperties":false}},"performUpsert":{"type":"object","properties":{"fieldsToMergeOn":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}}},"required":["fieldsToMergeOn"],"additionalProperties":false},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["records"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}},"createdRecords":{"type":"array","items":{"type":"string"}},"updatedRecords":{"type":"array","items":{"type":"string"}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteV1ByBaseIdByTableIdOrName","summary":"Delete up to 10 records (`records[]`), to the trash","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"records[]","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},{"name":"records","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","const":true}},"required":["id","deleted"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/{baseId}/{tableIdOrName}/listRecords":{"post":{"operationId":"postV1ByBaseIdByTableIdOrNameListRecords","summary":"List records with the parameters in the body (for long formulas)","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageSize":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"string","minLength":1,"maxLength":10000},"maxRecords":{"type":"integer","minimum":1,"maximum":10000000},"view":{"type":"string","minLength":1,"maxLength":255},"fields":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"sort":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":255},"direction":{"type":"string","enum":["asc","desc"]}},"required":["field"],"additionalProperties":false}},"filterByFormula":{"type":"string","maxLength":10000},"cellFormat":{"default":"json","type":"string","enum":["json","string"]},"timeZone":{"type":"string","maxLength":64},"userLocale":{"type":"string","maxLength":35},"returnFieldsByFieldId":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]},"recordMetadata":{"maxItems":1,"type":"array","items":{"type":"string","const":"commentCount"}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}},"offset":{"type":"string"}},"required":["records"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/{baseId}/{tableIdOrName}/{recordId}":{"get":{"operationId":"getV1ByBaseIdByTableIdOrNameByRecordId","summary":"One record","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"cellFormat","in":"query","required":false,"schema":{"default":"json","type":"string","enum":["json","string"]}},{"name":"returnFieldsByFieldId","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"timeZone","in":"query","required":false,"schema":{"type":"string","maxLength":64}},{"name":"userLocale","in":"query","required":false,"schema":{"type":"string","maxLength":35}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchV1ByBaseIdByTableIdOrNameByRecordId","summary":"Update a record: only the fields given change","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["fields"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putV1ByBaseIdByTableIdOrNameByRecordId","summary":"Replace a record: fields left out are cleared","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":255},"additionalProperties":{}},"typecast":{"type":"boolean"},"returnFieldsByFieldId":{"type":"boolean"}},"required":["fields"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdTime":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"commentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","createdTime","fields"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteV1ByBaseIdByTableIdOrNameByRecordId","summary":"Delete a record (to the trash)","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.records:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","const":true}},"required":["id","deleted"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/v1/{baseId}/{tableIdOrName}/{recordId}/comments":{"get":{"operationId":"getV1ByBaseIdByTableIdOrNameByRecordIdComments","summary":"A record's comments, newest first","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:read`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"schema":{"type":"string","maxLength":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"author":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false},"text":{"type":"string"},"createdTime":{"type":"string"},"lastUpdatedTime":{"type":["string","null"]}},"required":["id","author","text","createdTime","lastUpdatedTime"],"additionalProperties":false}},"offset":{"type":["string","null"]}},"required":["comments","offset"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postV1ByBaseIdByTableIdOrNameByRecordIdComments","summary":"Comment on a record","description":"Access: `base:read` on the base (see ACTIONS for the minimum role); personal access tokens need `data.recordComments:write`.","tags":["v1"],"parameters":[{"name":"baseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"tableIdOrName","in":"path","required":true,"schema":{"type":"string"}},{"name":"recordId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":10000}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"author":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false},"text":{"type":"string"},"createdTime":{"type":"string"},"lastUpdatedTime":{"type":["string","null"]}},"required":["id","author","text","createdTime","lastUpdatedTime"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"The request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/oauth-apps":{"get":{"operationId":"getMeOauthApps","summary":"The OAuth apps you registered (never their client secrets)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"apps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"homepageUrl":{"type":["string","null"]},"clientId":{"type":"string"},"redirectUris":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","description","homepageUrl","clientId","redirectUris","createdAt","updatedAt"],"additionalProperties":false}}},"required":["apps"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postMeOauthApps","summary":"Register an OAuth app; the answer is the only time its client secret is shown","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":500},"homepageUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"redirectUris":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":2000}}},"required":["name","redirectUris"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"homepageUrl":{"type":["string","null"]},"clientId":{"type":"string"},"redirectUris":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"clientSecret":{"type":["string","null"]}},"required":["id","name","description","homepageUrl","clientId","redirectUris","createdAt","updatedAt","clientSecret"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/oauth-apps/{appId}":{"patch":{"operationId":"patchMeOauthAppsByAppId","summary":"Change an OAuth app, or rotate its client secret (answered once)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[{"name":"appId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":500},"homepageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"redirectUris":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":2000}},"rotateSecret":{"type":"boolean","const":true}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"type":"string"},"homepageUrl":{"type":["string","null"]},"clientId":{"type":"string"},"redirectUris":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"clientSecret":{"type":["string","null"]}},"required":["id","name","description","homepageUrl","clientId","redirectUris","createdAt","updatedAt","clientSecret"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteMeOauthAppsByAppId","summary":"Delete an OAuth app: every person's authorization and token of it end","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[{"name":"appId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/authorizations":{"get":{"operationId":"getMeAuthorizations","summary":"The OAuth apps you authorized, with their scopes and grants","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"authorizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"app":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"homepageUrl":{"type":["string","null"]}},"required":["id","name","homepageUrl"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string","enum":["data.records:read","data.records:write","data.recordComments:read","data.recordComments:write","schema.bases:read","schema.bases:write","webhook:manage","automations:read","automations:manage","automations:run","user.email:read"]}},"workspaceIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","app","scopes","workspaceIds","baseIds","createdAt","updatedAt","lastUsedAt"],"additionalProperties":false}}},"required":["authorizations"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/me/authorizations/{authorizationId}":{"delete":{"operationId":"deleteMeAuthorizationsByAuthorizationId","summary":"Revoke an app's access: its access and refresh tokens stop working at once","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[{"name":"authorizationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/oauth/authorize":{"get":{"operationId":"getOauthAuthorize","summary":"Check an authorization request for the consent screen","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[{"name":"response_type","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"redirect_uri","in":"query","required":false,"schema":{"type":"string","maxLength":2000}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","maxLength":1000}},{"name":"state","in":"query","required":false,"schema":{"type":"string","maxLength":1000}},{"name":"code_challenge","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"type":"string","maxLength":20}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"homepageUrl":{"type":["string","null"]}},"required":["name","description","homepageUrl"],"additionalProperties":false},"clientId":{"type":"string"},"redirectUri":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["data.records:read","data.records:write","data.recordComments:read","data.recordComments:write","schema.bases:read","schema.bases:write","webhook:manage","automations:read","automations:manage","automations:run","user.email:read"]}},"current":{"anyOf":[{"type":"object","properties":{"workspaceIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["workspaceIds","baseIds"],"additionalProperties":false},{"type":"null"}]}},"required":["app","clientId","redirectUri","scopes","current"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"post":{"operationId":"postOauthAuthorize","summary":"The consent screen's answer: where to send the browser (a code, or access_denied)","description":"Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).","tags":["oauth"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":100},"redirectUri":{"type":"string","minLength":1,"maxLength":2000},"scope":{"type":"string","minLength":1,"maxLength":1000},"state":{"type":"string","maxLength":1000},"codeChallenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"codeChallengeMethod":{"type":"string","const":"S256"},"decision":{"type":"string","enum":["allow","deny"]},"workspaceIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"baseIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["clientId","redirectUri","scope","codeChallenge","codeChallengeMethod","decision"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"redirectTo":{"type":"string"}},"required":["redirectTo"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/audit-log":{"get":{"operationId":"getWorkspacesByWorkspaceIdAuditLog","summary":"The workspace's audit log, newest first, with filters (owners, Enterprise)","description":"Access: `workspace:manage_audit` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["audit"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","maxLength":60}},{"name":"actorId","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"action":{"type":"string","enum":["auth.sign_in","workspace.update","workspace.create_in_region","workspace.delete","member.join","member.role_change","member.remove","invitation.create","invitation.revoke","base_collaborator.add","base_collaborator.role_change","base_collaborator.remove","share.create","share.update","share.revoke","token.create","token.revoke","oauth.authorize","oauth.revoke","webhook.create","webhook.update","webhook.delete","export.base","export.csv","export.audit_log","base.delete","base.restore","base.destroy","table.delete","field.delete","view.delete","ai_settings.update","ai_settings.delete","automation.create","automation.update","automation.delete","impersonation.start","impersonation.end","audit_stream.update","audit_stream.delete","sso.update","sso.delete","sso_domain.add","sso_domain.verify","sso_domain.delete","member.sso_join","scim.token_create","scim.token_revoke","scim.update","scim_user.create","scim_user.update","scim_user.delete","scim_group.create","scim_group.update","scim_group.delete","scim_group.role_change","member.scim_provision","member.scim_deprovision","policy.update"]},"actor":{"type":"object","properties":{"kind":{"type":"string","enum":["user","token","admin","system","scim"]},"userId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"email":{"type":["string","null"]}},"required":["kind","userId","email"],"additionalProperties":false},"ip":{"type":["string","null"]},"userAgent":{"type":["string","null"]},"target":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["type","id","name"],"additionalProperties":false},"summary":{"type":"object","properties":{"before":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":["string","number","boolean","null"]},{"type":"array","items":{"type":["string","number","boolean","null"]}}]}},"after":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":["string","number","boolean","null"]},{"type":"array","items":{"type":["string","number","boolean","null"]}}]}}},"additionalProperties":false}},"required":["id","at","action","actor","ip","userAgent","target","summary"],"additionalProperties":false}},"nextBefore":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"retentionDays":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["events","nextBefore","retentionDays"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/audit-log/stream":{"get":{"operationId":"getWorkspacesByWorkspaceIdAuditLogStream","summary":"The audit log's SIEM stream: its endpoint and delivery state (owners, Enterprise)","description":"Access: `workspace:manage_audit` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["audit"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"stream":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"enabled":{"type":"boolean"},"lastDeliveryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastError":{"type":["string","null"]},"failures":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["url","enabled","lastDeliveryAt","lastError","failures","createdAt"],"additionalProperties":false},{"type":"null"}]}},"required":["stream"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putWorkspacesByWorkspaceIdAuditLogStream","summary":"Create or change the SIEM stream; the secret is returned once (owners, Enterprise)","description":"Access: `workspace:manage_audit` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["audit"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"enabled":{"default":true,"type":"boolean"},"rotateSecret":{"default":false,"type":"boolean"}},"required":["url"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"stream":{"type":"object","properties":{"url":{"type":"string"},"enabled":{"type":"boolean"},"lastDeliveryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastError":{"type":["string","null"]},"failures":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["url","enabled","lastDeliveryAt","lastError","failures","createdAt"],"additionalProperties":false},"secret":{"type":["string","null"]}},"required":["stream","secret"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceIdAuditLogStream","summary":"Remove the SIEM stream (owners, Enterprise)","description":"Access: `workspace:manage_audit` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["audit"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/sso":{"get":{"operationId":"getWorkspacesByWorkspaceIdSso","summary":"The workspace's single sign-on: its identity provider and domains (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"connection":{"anyOf":[{"type":"object","properties":{"alias":{"type":"string"},"protocol":{"type":"string","enum":["oidc","saml"]},"displayName":{"type":"string"},"enabled":{"type":"boolean"},"requireSso":{"type":"boolean"},"jit":{"type":"boolean"},"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]},"oidc":{"anyOf":[{"type":"object","properties":{"issuer":{"type":"string"},"clientId":{"type":"string"}},"required":["issuer","clientId"],"additionalProperties":false},{"type":"null"}]},"saml":{"anyOf":[{"type":"object","properties":{"entityId":{"type":"string"},"ssoUrl":{"type":"string"},"certificateFingerprints":{"type":"array","items":{"type":"string"}}},"required":["entityId","ssoUrl","certificateFingerprints"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["alias","protocol","displayName","enabled","requireSso","jit","defaultRole","oidc","saml","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"domains":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"type":"string"},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"txtName":{"type":"string"},"txtValue":{"type":"string"}},"required":["id","domain","verifiedAt","lastCheckedAt","txtName","txtValue"],"additionalProperties":false}},"serviceProvider":{"type":"object","properties":{"redirectUri":{"type":"string"},"entityId":{"type":"string"},"acsUrl":{"type":"string"},"metadataUrl":{"type":"string"}},"required":["redirectUri","entityId","acsUrl","metadataUrl"],"additionalProperties":false}},"required":["available","connection","domains","serviceProvider"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putWorkspacesByWorkspaceIdSso","summary":"Connect or change the SAML or OIDC identity provider (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"protocol":{"type":"string","const":"oidc"},"displayName":{"type":"string","minLength":1,"maxLength":100},"enabled":{"default":true,"type":"boolean"},"requireSso":{"default":false,"type":"boolean"},"jit":{"default":true,"type":"boolean"},"defaultRole":{"default":"editor","type":"string","enum":["creator","editor","commenter","read_only"]},"oidc":{"type":"object","properties":{"issuer":{"type":"string","maxLength":500,"format":"uri"},"clientId":{"type":"string","minLength":1,"maxLength":200},"clientSecret":{"type":"string","minLength":1,"maxLength":500}},"required":["issuer","clientId"],"additionalProperties":false}},"required":["protocol","displayName","oidc"],"additionalProperties":false},{"type":"object","properties":{"protocol":{"type":"string","const":"saml"},"displayName":{"type":"string","minLength":1,"maxLength":100},"enabled":{"default":true,"type":"boolean"},"requireSso":{"default":false,"type":"boolean"},"jit":{"default":true,"type":"boolean"},"defaultRole":{"default":"editor","type":"string","enum":["creator","editor","commenter","read_only"]},"saml":{"type":"object","properties":{"entityId":{"type":"string","minLength":1,"maxLength":500},"ssoUrl":{"type":"string","maxLength":500,"format":"uri"},"signingCertificate":{"type":"string","maxLength":20000}},"required":["entityId","ssoUrl"],"additionalProperties":false}},"required":["protocol","displayName","saml"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"connection":{"anyOf":[{"type":"object","properties":{"alias":{"type":"string"},"protocol":{"type":"string","enum":["oidc","saml"]},"displayName":{"type":"string"},"enabled":{"type":"boolean"},"requireSso":{"type":"boolean"},"jit":{"type":"boolean"},"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]},"oidc":{"anyOf":[{"type":"object","properties":{"issuer":{"type":"string"},"clientId":{"type":"string"}},"required":["issuer","clientId"],"additionalProperties":false},{"type":"null"}]},"saml":{"anyOf":[{"type":"object","properties":{"entityId":{"type":"string"},"ssoUrl":{"type":"string"},"certificateFingerprints":{"type":"array","items":{"type":"string"}}},"required":["entityId","ssoUrl","certificateFingerprints"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["alias","protocol","displayName","enabled","requireSso","jit","defaultRole","oidc","saml","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"domains":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"type":"string"},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"txtName":{"type":"string"},"txtValue":{"type":"string"}},"required":["id","domain","verifiedAt","lastCheckedAt","txtName","txtValue"],"additionalProperties":false}},"serviceProvider":{"type":"object","properties":{"redirectUri":{"type":"string"},"entityId":{"type":"string"},"acsUrl":{"type":"string"},"metadataUrl":{"type":"string"}},"required":["redirectUri","entityId","acsUrl","metadataUrl"],"additionalProperties":false}},"required":["available","connection","domains","serviceProvider"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceIdSso","summary":"Remove the identity provider and the domains (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/sso/domains":{"post":{"operationId":"postWorkspacesByWorkspaceIdSsoDomains","summary":"Add an email domain; it counts once its DNS TXT record is verified (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","maxLength":253}},"required":["domain"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"type":"string"},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"txtName":{"type":"string"},"txtValue":{"type":"string"}},"required":["id","domain","verifiedAt","lastCheckedAt","txtName","txtValue"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/sso/domains/{domainId}/verify":{"post":{"operationId":"postWorkspacesByWorkspaceIdSsoDomainsByDomainIdVerify","summary":"Look up the domain's TXT record and verify it (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"domainId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"type":"string"},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"txtName":{"type":"string"},"txtValue":{"type":"string"}},"required":["id","domain","verifiedAt","lastCheckedAt","txtName","txtValue"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/sso/domains/{domainId}":{"delete":{"operationId":"deleteWorkspacesByWorkspaceIdSsoDomainsByDomainId","summary":"Remove an email domain (owners)","description":"Access: `workspace:manage_sso` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["sso"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"domainId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/scim":{"get":{"operationId":"getWorkspacesByWorkspaceIdScim","summary":"The workspace's SCIM provisioning: token, default role, groups (owners)","description":"Access: `workspace:manage_scim` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scim"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string"},"token":{"anyOf":[{"type":"object","properties":{"hint":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["hint","createdAt","lastUsedAt"],"additionalProperties":false},{"type":"null"}]},"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]},"verifiedDomains":{"type":"array","items":{"type":"string"}},"users":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"linked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["total","active","linked"],"additionalProperties":false},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"displayName":{"type":"string"},"externalId":{"type":["string","null"]},"role":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"members":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","displayName","externalId","role","members"],"additionalProperties":false}}},"required":["baseUrl","token","defaultRole","verifiedDomains","users","groups"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"patch":{"operationId":"patchWorkspacesByWorkspaceIdScim","summary":"Change the role provisioned people get without a mapped group (owners)","description":"Access: `workspace:manage_scim` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scim"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]}},"required":["defaultRole"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string"},"token":{"anyOf":[{"type":"object","properties":{"hint":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["hint","createdAt","lastUsedAt"],"additionalProperties":false},{"type":"null"}]},"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]},"verifiedDomains":{"type":"array","items":{"type":"string"}},"users":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"linked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["total","active","linked"],"additionalProperties":false},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"displayName":{"type":"string"},"externalId":{"type":["string","null"]},"role":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"members":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","displayName","externalId","role","members"],"additionalProperties":false}}},"required":["baseUrl","token","defaultRole","verifiedDomains","users","groups"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/scim/token":{"post":{"operationId":"postWorkspacesByWorkspaceIdScimToken","summary":"Create or rotate the SCIM bearer token; the old one stops working (owners)","description":"Access: `workspace:manage_scim` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scim"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"state":{"type":"object","properties":{"baseUrl":{"type":"string"},"token":{"anyOf":[{"type":"object","properties":{"hint":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["hint","createdAt","lastUsedAt"],"additionalProperties":false},{"type":"null"}]},"defaultRole":{"type":"string","enum":["creator","editor","commenter","read_only"]},"verifiedDomains":{"type":"array","items":{"type":"string"}},"users":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"linked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["total","active","linked"],"additionalProperties":false},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"displayName":{"type":"string"},"externalId":{"type":["string","null"]},"role":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"members":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","displayName","externalId","role","members"],"additionalProperties":false}}},"required":["baseUrl","token","defaultRole","verifiedDomains","users","groups"],"additionalProperties":false}},"required":["token","state"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"delete":{"operationId":"deleteWorkspacesByWorkspaceIdScimToken","summary":"Revoke the SCIM bearer token (owners)","description":"Access: `workspace:manage_scim` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scim"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Success, no content"},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/scim/groups/{groupId}":{"patch":{"operationId":"patchWorkspacesByWorkspaceIdScimGroupsByGroupId","summary":"Map a provisioned group to a role, or clear it (owners)","description":"Access: `workspace:manage_scim` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["scim"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]}},"required":["role"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"displayName":{"type":"string"},"externalId":{"type":["string","null"]},"role":{"anyOf":[{"type":"string","enum":["creator","editor","commenter","read_only"]},{"type":"null"}]},"members":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","displayName","externalId","role","members"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/policies":{"get":{"operationId":"getWorkspacesByWorkspaceIdPolicies","summary":"The workspace's policies: sharing, embeds, tokens, invitations (owners)","description":"Access: `workspace:manage_policies` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["policies"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"policies":{"type":"object","properties":{"shareLinks":{"type":"boolean"},"publicForms":{"type":"boolean"},"embeds":{"type":"boolean"},"personalAccessTokens":{"type":"boolean"},"inviteDomains":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":253}}},"required":["shareLinks","publicForms","embeds","personalAccessTokens","inviteDomains"],"additionalProperties":false},"sso":{"type":"object","properties":{"configured":{"type":"boolean"},"enabled":{"type":"boolean"},"requireSso":{"type":"boolean"}},"required":["configured","enabled","requireSso"],"additionalProperties":false},"scim":{"type":"object","properties":{"configured":{"type":"boolean"}},"required":["configured"],"additionalProperties":false},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["available","policies","sso","scim","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}},"put":{"operationId":"putWorkspacesByWorkspaceIdPolicies","summary":"Set the workspace's policies; audited (owners)","description":"Access: `workspace:manage_policies` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["policies"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"shareLinks":{"type":"boolean"},"publicForms":{"type":"boolean"},"embeds":{"type":"boolean"},"personalAccessTokens":{"type":"boolean"},"inviteDomains":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":253}}},"required":["shareLinks","publicForms","embeds","personalAccessTokens","inviteDomains"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"policies":{"type":"object","properties":{"shareLinks":{"type":"boolean"},"publicForms":{"type":"boolean"},"embeds":{"type":"boolean"},"personalAccessTokens":{"type":"boolean"},"inviteDomains":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":253}}},"required":["shareLinks","publicForms","embeds","personalAccessTokens","inviteDomains"],"additionalProperties":false},"sso":{"type":"object","properties":{"configured":{"type":"boolean"},"enabled":{"type":"boolean"},"requireSso":{"type":"boolean"}},"required":["configured","enabled","requireSso"],"additionalProperties":false},"scim":{"type":"object","properties":{"configured":{"type":"boolean"}},"required":["configured"],"additionalProperties":false},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["available","policies","sso","scim","updatedAt"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The request failed validation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}},"/api/workspaces/{workspaceId}/admin/members":{"get":{"operationId":"getWorkspacesByWorkspaceIdAdminMembers","summary":"Everyone with access to the workspace or its bases, with last activity (owners)","description":"Access: `workspace:manage_policies` on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).","tags":["policies"],"parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]},"email":{"type":"string"},"workspaceRole":{"anyOf":[{"type":"string","enum":["owner","creator","editor","commenter","read_only"]},{"type":"null"}]},"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"role":{"type":"string","enum":["owner","creator","editor","commenter","read_only"]}},"required":["id","name","role"],"additionalProperties":false}},"baseCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"interfaceCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastActiveAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"provisioned":{"type":"boolean"}},"required":["userId","name","email","workspaceRole","bases","baseCount","interfaceCount","lastActiveAt","provisioned"],"additionalProperties":false}},"truncated":{"type":"boolean"}},"required":["members","truncated"],"additionalProperties":false}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Signed in, but the role is too low","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such resource, or no access to it","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too many requests: a rate limit was reached (see Retry-After)","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"The tightest bucket's size (its burst).","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that bucket now.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that bucket is full again.","schema":{"type":"integer"}}}}}}}},"components":{"schemas":{"Problem":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"detail":{"type":"string"},"instance":{"type":"string"},"code":{"type":"string","enum":["BAD_REQUEST","VALIDATION_FAILED","TYPECAST_FORBIDDEN","INVALID_FILTER_BY_FORMULA","UNAUTHENTICATED","FORBIDDEN","EDIT_RESTRICTED","SHARE_PASSWORD_REQUIRED","SHARE_PASSWORD_INCORRECT","SHARE_SIGN_IN_REQUIRED","SHARE_DOMAIN_NOT_ALLOWED","SHARE_DOWNLOAD_DISABLED","CAPTCHA_FAILED","QUOTA_EXCEEDED","PLAN_FEATURE_REQUIRED","POLICY_RESTRICTED","REAUTHENTICATION_REQUIRED","WORKSPACE_SUSPENDED","IMPERSONATION_READ_ONLY","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","ATTACHMENT_SCANNING","ATTACHMENT_QUARANTINED","WORKSPACE_CREATION_ELSEWHERE","SOLE_OWNER","EVENTS_EXPIRED","PAYLOAD_TOO_LARGE","UNSUPPORTED_MEDIA_TYPE","RATE_LIMITED","INTERNAL_ERROR","NOT_READY","SERVICE_UNAVAILABLE"]},"requestId":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["type","title","status","code","requestId"],"additionalProperties":{}},"V1Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"},"requestId":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["type","message","code","requestId"],"additionalProperties":{}}},"required":["error"],"additionalProperties":false}},"securitySchemes":{"session":{"type":"apiKey","in":"cookie","name":"openrows_session"},"personalAccessToken":{"type":"http","scheme":"bearer"}}},"security":[{"session":[]},{"personalAccessToken":[]}]}