{"schema_version":1,"contract_id":"vicky.public-agent-api","contract_version":"sha256:563d2d581da0ad29","transport":{"base_url_environment":"VICKY_API_BASE_URL","media_type":"application/json","authentication":["human_jwt","delegated_oauth","personal_access_token"],"delegated_oauth":{"login_command":"sosoapi auth login","refresh_command":"sosoapi auth refresh","status_command":"sosoapi auth status","credential_output":"never","refresh_mode":"automatic_before_expiry"},"api_command":"sosoapi api post <route>","api_stdin":"one JSON object","api_stdout":{"schema_version":1,"http_status":"integer","body":"JSON value or text"}},"profiles":{"identity_v1":{"routes":["/identity-api/billing/status","/identity-api/commercial-access/status","/identity-api/feedback/submit","/identity-api/member/list","/identity-api/organization/channels/list","/identity-api/organization/channels/move/preview","/identity-api/organization/connections/list","/identity-api/organization/connections/review","/identity-api/organization/list","/identity-api/user/inbox/list","/identity-api/user/notifications/get","/identity-api/user/notifications/update","/identity-api/user/profile/get","/identity-api/user/profile/sign-avatar-url","/identity-api/user/profile/update","/identity-api/user/social-accounts/clear-block","/identity-api/user/social-accounts/disconnect","/identity-api/user/social-accounts/list","/identity-api/user/social-accounts/set-auto-sync","/identity-api/workspace/create","/identity-api/workspace/list","/identity-api/workspace/update"]},"organization_context_v1":{"routes":["/identity-api/agent/organization-context"],"delegated_capability":"agent:operate","completion_truth":"live Organization, Workspace, and Channel authority projection"},"api_key_lifecycle_v1":{"routes":["/identity-api/api-keys/create","/identity-api/api-keys/extend","/identity-api/api-keys/list","/identity-api/api-keys/renew","/identity-api/api-keys/revoke"],"account_level":true},"assets_v1":{"routes":["/assets-api/create","/assets-api/delete","/assets-api/exports/create","/assets-api/exports/status","/assets-api/exports/verify","/assets-api/get","/assets-api/imports/status","/assets-api/imports/url","/assets-api/list","/assets-api/list-workspace","/assets-api/orphans/delete","/assets-api/orphans/list","/assets-api/purges/request","/assets-api/purges/retry","/assets-api/storage/inventory","/assets-api/update","/assets-api/upload/complete","/assets-api/upload/sign"]},"project_v1":{"routes":["/studio-api/projects/account-defaults/get","/studio-api/projects/account-defaults/replace","/studio-api/projects/accounts/link","/studio-api/projects/accounts/list","/studio-api/projects/accounts/unlink","/studio-api/projects/archive","/studio-api/projects/assets/link","/studio-api/projects/assets/list","/studio-api/projects/assets/unlink","/studio-api/projects/create","/studio-api/projects/export/create","/studio-api/projects/export/status","/studio-api/projects/get","/studio-api/projects/lifecycle/history","/studio-api/projects/list","/studio-api/projects/profile/get","/studio-api/projects/profile/update","/studio-api/projects/set-active","/studio-api/projects/unarchive","/studio-api/projects/update","/studio-api/publication-attentions/list"]},"publishing_v1":{"routes":["/studio-api/scheduled-posts/bulk-create","/studio-api/scheduled-posts/cancel","/studio-api/scheduled-posts/create","/studio-api/scheduled-posts/create-image-url","/studio-api/scheduled-posts/delete","/studio-api/scheduled-posts/eligibility","/studio-api/scheduled-posts/get","/studio-api/scheduled-posts/list","/studio-api/scheduled-posts/publish-now","/studio-api/scheduled-posts/retry","/studio-api/scheduled-posts/update","/studio-api/scheduled-posts/withdraw-delete","/studio-api/x/usage"],"completion_truth":"terminal publication outcome"},"analytics_operations_v1":{"routes":["/analytics-api/dashboard/ops-counts"]},"social_evidence_v1":{"routes":["/analytics-api/social/comments/query","/analytics-api/social/posts/query"],"completion_truth":"provider-derived discovery and comment evidence"},"provider_insights_v1":{"routes":["/analytics-api/provider-insights/request","/analytics-api/provider-insights/status"],"completion_truth":"provider-native result or explicit unavailable reason","cache_authoritative":false},"oauth_v1":{"routes":["/oauth-api/instagram/init","/oauth-api/instagram/refresh","/oauth-api/meta/init","/oauth-api/meta/refresh","/oauth-api/threads/check","/oauth-api/threads/init","/oauth-api/threads/refresh","/oauth-api/youtube/init","/oauth-api/youtube/refresh"]},"jobs_v1":{"routes":["/jobs-api/get","/jobs-api/list"]},"community_engagement_review_apply_v1":{"routes":["/community-engagement-api/actions/apply","/community-engagement-api/actions/prepare","/community-engagement-api/actions/status","/community-engagement-api/capabilities","/community-engagement-api/operations/summary","/community-engagement-api/review-queue/query","/community-engagement-api/reviews/submit"],"delegated_capability":"agent:engage","personal_access_token":true,"personal_access_token_policy":"exact_workspace_reply_grant_required","approval_flow":"explicit_prepare_then_single_use_apply_token","completion_truth":"terminal provider receipt"},"community_engagement_comment_create_v1":{"routes":["/community-engagement-api/comments/create","/community-engagement-api/comments/outcome","/community-engagement-api/comments/reconcile","/community-engagement-api/comments/status"],"delegated_capability":"agent:engage","personal_access_token":true,"personal_access_token_policy":"exact_workspace_membership_and_role","completion_truth":"terminal provider receipt"}},"auth_bootstrap_routes":["/identity-api/agent-auth/config","/identity-api/agent-auth/request","/identity-api/agent-auth/revoke-current","/identity-api/agent-auth/session"],"routes":{"/analytics-api/dashboard/ops-counts":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"analytics-api.DashboardOpsCountsRequestSchema","response_schema_ref":"dashboard-ops-counts.DashboardOpsCountsResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scheduledCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"recentJobsCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"socialsCount":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["scheduledCount","recentJobsCount","socialsCount"]}},"/analytics-api/provider-insights/request":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"provider-native result or explicit unavailable reason","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200,202],"request_schema_ref":"provider-insights.ProviderInsightRequestSchema","response_schema_ref":"provider-insights.ProviderInsightRequestResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"social_account_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)$"},"resource_kind":{"type":"string","enum":["account","post"]},"provider_resource_id":{"type":"string","minLength":1,"maxLength":512},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"include_audience":{"type":"boolean"},"refresh":{"type":"boolean"}},"required":["workspace_id","social_account_id","resource_kind"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_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)$"},"status":{"type":"string","enum":["queued","completed"]},"cache_status":{"type":"string","enum":["hit","miss","bypassed"]},"poll_after_ms":{"type":"integer","minimum":0,"maximum":60000},"result":{"type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"resource":{"type":"object","properties":{"kind":{"type":"string","enum":["account","post"]},"social_account_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)$"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","social_account_id","provider_resource_id"]},"provider_api_version":{"type":"string","minLength":1,"maxLength":100},"fetched_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)))$"},"status":{"type":"string","enum":["available","partial","unavailable"]},"availability":{"minItems":1,"maxItems":64,"type":"array","items":{"type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":200},"status":{"type":"string","enum":["available","partial","not_returned","unsupported","permission_required","threshold_not_met","no_data","failed"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["scope","status"]}},"provider_data":{"anyOf":[{},{"type":"null"}]},"requested_date_range":{"anyOf":[{"type":"object","properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["start_date","end_date"]},{"type":"null"}]},"cache":{"type":"object","properties":{"authoritative":{"type":"boolean","const":false},"status":{"type":"string","enum":["stored","hit","bypassed"]},"expires_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":["authoritative","status","expires_at"]}},"required":["contract_version","request_id","platform","resource","provider_api_version","fetched_at","status","availability","provider_data","requested_date_range","cache"]}},"required":["contract_version","request_id","status","cache_status","poll_after_ms"]}},"/analytics-api/provider-insights/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"provider-native result or explicit unavailable reason","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"provider-insights.ProviderInsightStatusRequestSchema","response_schema_ref":"provider-insights.ProviderInsightStatusResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"request_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":["workspace_id","request_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_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)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"result":{"type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"resource":{"type":"object","properties":{"kind":{"type":"string","enum":["account","post"]},"social_account_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)$"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","social_account_id","provider_resource_id"]},"provider_api_version":{"type":"string","minLength":1,"maxLength":100},"fetched_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)))$"},"status":{"type":"string","enum":["available","partial","unavailable"]},"availability":{"minItems":1,"maxItems":64,"type":"array","items":{"type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":200},"status":{"type":"string","enum":["available","partial","not_returned","unsupported","permission_required","threshold_not_met","no_data","failed"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["scope","status"]}},"provider_data":{"anyOf":[{},{"type":"null"}]},"requested_date_range":{"anyOf":[{"type":"object","properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["start_date","end_date"]},{"type":"null"}]},"cache":{"type":"object","properties":{"authoritative":{"type":"boolean","const":false},"status":{"type":"string","enum":["stored","hit","bypassed"]},"expires_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":["authoritative","status","expires_at"]}},"required":["contract_version","request_id","platform","resource","provider_api_version","fetched_at","status","availability","provider_data","requested_date_range","cache"]},"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"reason":{"type":"string","minLength":1,"maxLength":2000},"retryable":{"type":"boolean"}},"required":["code","reason","retryable"]}},"required":["contract_version","request_id","status","attempt_count"]}},"/analytics-api/social/comments/query":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"social-analytics.SocialCommentsQueryRequestSchema","response_schema_ref":"social-analytics.SocialCommentsQueryResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"cursor":{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},"page_size":{"type":"integer","minimum":1,"maximum":100},"filters":{"type":"object","properties":{"social_account_ids":{"minItems":1,"maxItems":50,"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)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["instagram","facebook","threads","youtube"]}},"social_post_ids":{"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)$"}},"provider_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}},"scheduled_post_ids":{"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)$"}},"content_formats":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"published_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"published_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"observed_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"observed_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"additionalProperties":false},"order":{"type":"string","const":"observation_at_desc_comment_version_desc_comment_observation_id_desc"}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"social-analytics/v1"},"cursor_contract_version":{"type":"string","const":"social-analytics-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"social_comment_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)$"},"comment_observation_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)$"},"comment_version":{"type":"integer","minimum":1,"maximum":9007199254740991},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_post_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)$"},"social_account_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)$"},"platform":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"provider_author_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"provider_author_username":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"provider_created_at":{"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"}]},"first_seen_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)))$"},"last_seen_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)))$"},"provider_state":{"type":"string","enum":["visible","deleted","unavailable","unknown"]},"observation_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)))$"},"raw_evidence":{"type":"object","properties":{"sanitised":{"type":"boolean","const":true},"sanitization_version":{"type":"string","const":"social-evidence/v1"},"sanitization_receipt":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"redacted_fields":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"payload":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/$defs/__schema0"}}},"required":["sanitised","sanitization_version","sanitization_receipt","redacted_fields","payload"]},"provenance":{"type":"object","properties":{"provider":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"source":{"type":"string","enum":["provider_api","provider_webhook","publication_outcome","backfill"]},"source_job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provider_api_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"schema_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}},"required":["provider","source","source_job_id","provider_api_version","schema_version"]}},"required":["social_comment_id","comment_observation_id","comment_version","parent_social_comment_id","social_post_id","social_account_id","platform","provider_post_id","provider_comment_id","provider_author_id","provider_author_username","text","provider_created_at","first_seen_at","last_seen_at","provider_state","observation_at","raw_evidence","provenance"]}},"next_cursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}},"/analytics-api/social/posts/query":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"social-analytics.SocialPostsQueryRequestSchema","response_schema_ref":"social-analytics.SocialPostsQueryResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"cursor":{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},"page_size":{"type":"integer","minimum":1,"maximum":100},"filters":{"type":"object","properties":{"social_account_ids":{"minItems":1,"maxItems":50,"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)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["instagram","facebook","threads","youtube"]}},"social_post_ids":{"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)$"}},"provider_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}},"scheduled_post_ids":{"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)$"}},"content_formats":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"published_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"published_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"additionalProperties":false},"order":{"type":"string","const":"provider_published_at_desc_social_post_id_desc"}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"social-analytics/v1"},"cursor_contract_version":{"type":"string","const":"social-analytics-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"social_post_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)$"},"workspace_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)$"},"social_account_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)$"},"platform":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_published_at":{"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"}]},"content_format":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"provider_state":{"type":"string","enum":["available","deleted","unavailable","unknown"]},"first_seen_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)))$"},"last_seen_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)))$"},"scheduled_post_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provenance":{"type":"object","properties":{"provider":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"source":{"type":"string","enum":["provider_api","provider_webhook","publication_outcome","backfill"]},"source_job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provider_api_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"schema_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}},"required":["provider","source","source_job_id","provider_api_version","schema_version"]}},"required":["social_post_id","workspace_id","social_account_id","platform","provider_post_id","provider_published_at","content_format","permalink","provider_state","first_seen_at","last_seen_at","scheduled_post_id","provenance"]}},"next_cursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"]}},"/assets-api/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsCreate","response_schema_ref":"assets-api.AssetsCreateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"asset_type":{"type":"string","enum":["text","image","video"]},"asset_url":{"type":"string","minLength":1,"maxLength":2048},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"source":{"type":"string","maxLength":64},"source_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["asset_type","asset_url"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_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)$"},"user_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)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]},"deduped":{"type":"boolean"}},"required":["asset","deduped"]}},"/assets-api/delete":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsDelete","response_schema_ref":"assets-api.AssetsDeleteResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]}},"/assets-api/exports/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetExportCreate","response_schema_ref":"assets-api.AssetExportCreateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"mode":{"type":"string","enum":["export_only","export_verify_then_purge"]},"asset_ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","mode","asset_ids"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_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)$"},"status":{"type":"string","enum":["exported","verification_required"]},"manifest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"manifest_object_key":{"type":"string","minLength":1},"deduped":{"type":"boolean"}},"required":["export_id","status","manifest_sha256","manifest_object_key","deduped"]}},"/assets-api/exports/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetExportStatus","response_schema_ref":"assets-api.AssetExportStatusResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"export_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":["workspace_id","export_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_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)$"},"status":{"type":"string","enum":["exported","verification_required","verifying","verified","failed"]},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"verification_error":{"anyOf":[{"type":"string"},{"type":"null"}]},"verification_cursor":{"type":"integer","minimum":0,"maximum":9007199254740991},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["export_id","status","job_id","verification_error","verification_cursor","verified_at"]}},"/assets-api/exports/verify":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetExportVerify","response_schema_ref":"assets-api.AssetExportVerifyResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"export_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":["workspace_id","export_id"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_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)$"},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"status":{"type":"string","enum":["verifying","verified"]}},"required":["export_id","job_id","status"]}},"/assets-api/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsGet","response_schema_ref":"assets-api.AssetsGetResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_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)$"},"user_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)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"required":["asset"]}},"/assets-api/imports/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsImportUrlStatus","response_schema_ref":"assets-api.AssetsImportUrlStatusResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"import_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)$"},"include_asset":{"type":"boolean"}},"required":["workspace_id","import_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"import":{"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)$"},"status":{"type":"string","enum":["queued","importing","needs_repair","ready","asset_purged","failed"]},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"completed_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_purged_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_url":{"type":"string","format":"uri"},"final_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"object_key":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"byte_size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"media_probe":{"anyOf":[{"$ref":"#/$defs/__schema0"},{"type":"null"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","status","job_id","asset_id","completed_asset_id","asset_purged_at","source_url","final_url","object_key","content_type","byte_size","content_sha256","media_probe","error_message","created_at","completed_at"]},"asset":{"anyOf":[{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","asset_type","asset_url"]},{"type":"null"}]}},"required":["import"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}},"/assets-api/imports/url":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"queued_asynchronous_poll_import_status","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsImportUrl","response_schema_ref":"assets-api.AssetsImportUrlResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"source_url":{"type":"string","maxLength":2048,"format":"uri"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"expected_kind":{"type":"string","enum":["image","video"]},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}}},"required":["workspace_id","source_url","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"import_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)$"},"job_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)$"},"status":{"type":"string","enum":["queued","importing","needs_repair","ready","asset_purged","failed"]}},"required":["import_id","job_id","status"]}},"/assets-api/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsList","response_schema_ref":"assets-api.AssetsListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"asset_type":{"anyOf":[{"type":"string","enum":["text","image","video","audio"]},{"type":"array","items":{"type":"string","enum":["text","image","video","audio"]}}]},"source":{"type":"string","maxLength":64},"tag":{"type":"string","maxLength":64},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"description":"Rows to skip. Served up to 100000; beyond it 400 OFFSET_TOO_LARGE. Prefer filters to paging deep.","type":"integer","minimum":0,"maximum":9007199254740991},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_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)$"},"user_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)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["assets","total"]}},"/assets-api/list-workspace":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsListWorkspace","response_schema_ref":"assets-api.AssetsListWorkspaceResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":["video","image","audio","cover","thumbnail","frame","video-source","branding"]},"customer_ready_only":{"default":false,"type":"boolean"},"limit":{"default":24,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"description":"Rows to skip. Served up to 100000; beyond it 400 OFFSET_TOO_LARGE.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["workspace_id"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"created_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)))$"},"readiness":{"type":"object","properties":{"status":{"type":"string","enum":["ready","not_ready"]},"reason_code":{"type":"string","enum":["ready","unsupported_kind","missing_registered_media","untrusted_workspace_object","media_probe_missing_or_invalid"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["status","reason_code","message"]}},"required":["id","asset_type","asset_url","title","description","tags","created_at","readiness"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"next_offset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["assets","total","next_offset"]}},"/assets-api/orphans/delete":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsOrphansDelete","response_schema_ref":"assets-api.AssetsOrphansDeleteResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"keys":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}}},"required":["workspace_id","keys"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"status":{"type":"string","enum":["deleted","not_orphan","not_eligible","not_in_workspace","error"]}},"required":["key","status"]}}},"required":["results"]}},"/assets-api/orphans/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsOrphansList","response_schema_ref":"assets-api.AssetsOrphansListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"object_continuation_token":{"type":"string","minLength":1,"maxLength":2048},"continuation_token":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":200}},"required":["workspace_id"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"orphans":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["video","image","audio","cover","thumbnail","frame","video-source","branding"]},{"type":"null"}]},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastModified":{"type":"string"},"eligible_for_cleanup":{"type":"boolean"}},"required":["key","kind","size","lastModified","eligible_for_cleanup"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"next_object_continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]},"continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["orphans","total","next_object_continuation_token","continuation_token"]}},"/assets-api/purges/request":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetPurgeRequest","response_schema_ref":"assets-api.AssetPurgeRequestResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"export_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)$"},"asset_ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"confirm_history_loss":{"default":false,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","export_id","asset_ids"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"purge_request_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)$"},"job_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)$"},"status":{"type":"string","enum":["requested","claimed","deleting_bytes","needs_repair","purged","failed","cancelled"]},"classifications":{"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"classification":{"type":"string","enum":["safe","warning_history","blocked_active"]}},"required":["asset_id","classification"]}},"deduped":{"type":"boolean"}},"required":["purge_request_id","job_id","status","classifications","deduped"]}},"/assets-api/purges/retry":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetPurgeRetry","response_schema_ref":"assets-api.AssetPurgeRetryResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"purge_request_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)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","purge_request_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"purge_request_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)$"},"job_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)$"},"status":{"type":"string","enum":["requested","claimed","deleting_bytes","needs_repair","purged","failed","cancelled"]},"deduped":{"type":"boolean"}},"required":["purge_request_id","job_id","status","deduped"]}},"/assets-api/storage/inventory":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetStorageInventory","response_schema_ref":"assets-api.AssetStorageInventoryResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"asset_cursor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"object_continuation_token":{"type":"string","minLength":1,"maxLength":2048},"continuation_token":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":200}},"required":["workspace_id"]},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"object_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"classification":{"type":"string","enum":["safe","warning_history","blocked_active"]}},"required":["id","object_key","classification"]}},"objects":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastModified":{"type":"string"}},"required":["key","size","lastModified"]}},"next_asset_cursor":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"next_object_continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]},"continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["assets","objects","next_asset_cursor","next_object_continuation_token","continuation_token"]}},"/assets-api/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsUpdate","response_schema_ref":"assets-api.AssetsUpdateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_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)$"},"user_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)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"required":["asset"]}},"/assets-api/upload/complete":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsUploadComplete","response_schema_ref":"assets-api.AssetsUploadCompleteResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"asset_type":{"type":"string","enum":["image","video"]},"object_key":{"type":"string","minLength":1,"maxLength":512},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"source":{"default":"mcp_upload","type":"string","maxLength":64},"source_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","asset_type","object_key","content_sha256"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_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)$"},"user_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)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]},"deduped":{"type":"boolean"}},"required":["asset","deduped"]}},"/assets-api/upload/sign":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"assets-api.AssetsUploadSign","response_schema_ref":"assets-api.AssetsUploadSignResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"asset_type":{"type":"string","enum":["image","video"]},"filename":{"type":"string","minLength":1,"maxLength":256},"content_type":{"type":"string","minLength":1,"maxLength":120},"byte_size":{"type":"integer","minimum":1,"maximum":524288000,"description":"Exact length in bytes of the body you will PUT (max 500 MiB). It is signed into the upload URL as Content-Length, counted against the workspace storage limit, and checked again when you complete the upload: an object longer than declared is rejected and removed."},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"title":{"type":"string","maxLength":200}},"required":["workspace_id","asset_type","filename","content_type","byte_size","content_sha256"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object_key":{"type":"string","minLength":1},"public_url":{"type":"string","format":"uri"},"signed_url":{"type":"string","format":"uri"},"upload_headers":{"type":"object","properties":{"Content-Type":{"type":"string","minLength":1},"x-amz-checksum-sha256":{"type":"string","minLength":1}},"required":["Content-Type","x-amz-checksum-sha256"]},"expires_seconds":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["object_key","public_url","signed_url","upload_headers","expires_seconds"]}},"/community-engagement-api/actions/apply":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"existing_prepare_apply","completion_truth":"terminal provider receipt","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementApplyRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementApplyResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"prepare_token":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["workspace_id","prepare_token"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"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)$"},"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_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)))$"},"updated_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)))$"},"terminal_at":{"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","workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key","status","attempt_count","provider_evidence","created_at","updated_at","terminal_at"]}},"required":["contract_version","action"]}},"/community-engagement-api/actions/prepare":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"existing_prepare_apply","completion_truth":"synchronous_http_response","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementPrepareRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementPrepareResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"review_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)$"},"expected_review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["reply","hide","unhide"]},"reply_draft":{"type":"string","minLength":1,"maxLength":2000},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["workspace_id","review_id","expected_review_version","action","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"prepared":{"type":"object","properties":{"prepare_token":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expires_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)))$"},"binding":{"type":"object","properties":{"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key"]}},"required":["prepare_token","expires_at","binding"]}},"required":["contract_version","prepared"]}},"/community-engagement-api/actions/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"terminal provider receipt","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementStatusRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementActionStatusSchemaResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"action_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":["workspace_id","action_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"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)$"},"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_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)))$"},"updated_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)))$"},"terminal_at":{"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","workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key","status","attempt_count","provider_evidence","created_at","updated_at","terminal_at"]},"receipt":{"anyOf":[{"type":"object","properties":{"action_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)$"},"status":{"type":"string","enum":["succeeded","attention","failed"]},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"terminal_at":{"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"}]},"attention_reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["action_id","status","provider_evidence","terminal_at","attention_reason"]},{"type":"null"}]}},"required":["contract_version","action","receipt"]}},"/community-engagement-api/capabilities":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementCapabilityRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementCapabilityResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"social_account_ids":{"minItems":1,"maxItems":50,"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)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","threads","youtube"]}}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"data":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"workspace_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)$"},"social_account_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"supported_actions":{"type":"array","items":{"type":"string","enum":["reply","hide","unhide","create_comment"]}},"unsupported_actions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"lane_mode":{"type":"string","enum":["off","canary","on"]},"eligible_now":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","social_account_id","platform","supported_actions","unsupported_actions","lane_mode","eligible_now","reason"]}}},"required":["contract_version","data"]}},"/community-engagement-api/comments/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal provider receipt","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200,202],"request_schema_ref":"community-engagement.CommunityEngagementDirectCommentCreateRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementDirectCommentCreateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"social_account_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)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_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":["kind","social_post_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_comment_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":["kind","social_comment_id"],"additionalProperties":false}]},"message":{"type":"string","minLength":1,"maxLength":2000},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["workspace_id","social_account_id","target","message","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"replayed":{"type":"boolean"},"action":{"type":"object","properties":{"action_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)$"},"workspace_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)$"},"social_account_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)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_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":["kind","social_post_id"]},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_post_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)$"},"social_comment_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":["kind","social_post_id","social_comment_id"]}]},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["queued","executing","succeeded","attention","failed"]},"poll_after_ms":{"type":"integer","minimum":0,"maximum":300000}},"required":["action_id","workspace_id","social_account_id","target","content_sha256","idempotency_key","status","poll_after_ms"]}},"required":["contract_version","replayed","action"]}},"/community-engagement-api/comments/outcome":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"domain delivery resolution","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementOutcomeRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementOutcomeResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"action_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":["workspace_id","action_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action_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)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"execution_stage":{"type":"string","enum":["execute","verify"]},"verification_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"verification_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"delivery_outcome":{"type":"string","enum":["confirmed","recovered","not_attempted","unknown"]},"follow_up_required":{"type":"boolean"},"resolution":{"anyOf":[{"type":"object","properties":{"action_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)$"},"workspace_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":["confirmed_delivery","confirmed_replacement"]},"replacement_action_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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":["action_id","workspace_id","kind","replacement_action_id","evidence","created_by","created_at"]},{"type":"null"}]}},"required":["contract_version","action_id","status","execution_stage","verification_count","verification_evidence","delivery_outcome","follow_up_required","resolution"]}},"/community-engagement-api/comments/reconcile":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"domain delivery resolution","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementReconcileRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementOutcomeResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"action_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)$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"replacement_action_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":["workspace_id","action_id","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action_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)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"execution_stage":{"type":"string","enum":["execute","verify"]},"verification_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"verification_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"delivery_outcome":{"type":"string","enum":["confirmed","recovered","not_attempted","unknown"]},"follow_up_required":{"type":"boolean"},"resolution":{"anyOf":[{"type":"object","properties":{"action_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)$"},"workspace_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":["confirmed_delivery","confirmed_replacement"]},"replacement_action_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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":["action_id","workspace_id","kind","replacement_action_id","evidence","created_by","created_at"]},{"type":"null"}]}},"required":["contract_version","action_id","status","execution_stage","verification_count","verification_evidence","delivery_outcome","follow_up_required","resolution"]}},"/community-engagement-api/comments/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"terminal provider receipt","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementDirectCommentStatusRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementDirectCommentStatusResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"action_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":["workspace_id","action_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"type":"object","properties":{"action_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)$"},"workspace_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)$"},"social_account_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)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_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":["kind","social_post_id"]},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_post_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)$"},"social_comment_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":["kind","social_post_id","social_comment_id"]}]},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"created_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)))$"},"updated_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":["action_id","workspace_id","social_account_id","target","content_sha256","idempotency_key","status","attempt_count","created_at","updated_at"]},"receipt":{"anyOf":[{"type":"object","properties":{"action_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)$"},"status":{"type":"string","enum":["succeeded","attention","failed"]},"provider_terminal":{"type":"boolean"},"provider_comment_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"terminal_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)))$"},"attention_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["action_id","status","provider_terminal","provider_comment_id","terminal_at","attention_reason"]},{"type":"null"}]}},"required":["contract_version","action","receipt"]}},"/community-engagement-api/operations/summary":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementOperationalSummaryRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementOperationalSummaryResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"summary":{"type":"object","properties":{"lane_mode":{"type":"string","enum":["off","canary","on"]},"backlog":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"response_time_seconds":{"type":"object","properties":{"median":{"anyOf":[{"type":"number"},{"type":"null"}]},"p95":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["median","p95"]},"action_statuses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"provider_rate":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"partial_failure_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"known_common_dependencies":{"type":"array","items":{"type":"string"}}},"required":["lane_mode","backlog","response_time_seconds","action_statuses","provider_rate","partial_failure_count","known_common_dependencies"]}},"required":["contract_version","summary"]}},"/community-engagement-api/review-queue/query":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementQueueRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementQueueResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"filters":{"type":"object","properties":{"actionable":{"type":"boolean"},"unanswered":{"type":"boolean"},"priorities":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"integer","minimum":1,"maximum":5}},"languages":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":35}},"social_account_ids":{"minItems":1,"maxItems":50,"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)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","threads","youtube"]}},"max_age_hours":{"type":"integer","minimum":1,"maximum":8760},"dispositions":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["open","ready","dismissed","no_reply"]}}},"additionalProperties":false},"cursor":{"type":"string","minLength":16,"maxLength":4096},"page_size":{"type":"integer","minimum":1,"maximum":100}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"cursor_contract_version":{"type":"string","const":"community-engagement-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"review":{"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)$"},"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"audience_persona_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"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)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"]},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"updated_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":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","review_version","language","audience_persona_hint","confidence","provenance","priority","recommended_action","reply_draft","disposition","assignee_user_id","created_at","updated_at"]},"current_action":{"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)$"},"action":{"type":"string","enum":["reply","hide","unhide"]},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"attention_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_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)))$"},"terminal_at":{"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","action","status","attention_reason","updated_at","terminal_at"]},{"type":"null"}]},"post":{"type":"object","properties":{"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["provider_post_id","permalink"]},"comment":{"type":"object","properties":{"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_state":{"type":"string","minLength":1,"maxLength":80},"provider_created_at":{"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"}]},"source_permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["provider_comment_id","parent_social_comment_id","body","provider_state","provider_created_at","source_permalink"]},"thread_context":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"social_comment_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)$"},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_state":{"type":"string","minLength":1,"maxLength":80},"observed_at":{"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"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["social_comment_id","provider_comment_id","parent_social_comment_id","body","provider_state","observed_at","permalink"]}},"thread_context_truncated":{"type":"boolean"},"coverage":{"type":"object","properties":{"status":{"type":"string","enum":["complete","partial","stale","missing","unsupported","deferred","unknown","paused"]},"last_success_at":{"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"}]},"next_check_at":{"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"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"source":{"type":"string","const":"social-evidence-coverage/v1"}},"required":["status","last_success_at","next_check_at","reason","source"]},"source_links":{"maxItems":3,"type":"array","items":{"type":"string","format":"uri"}}},"required":["review","current_action","post","comment","thread_context","thread_context_truncated","coverage","source_links"]}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"]}},"/community-engagement-api/reviews/submit":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:engage","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"success_statuses":[200],"request_schema_ref":"community-engagement.CommunityEngagementReviewSubmitRequestSchema","response_schema_ref":"community-engagement.CommunityEngagementReviewSubmitResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"language":{"type":"string","minLength":2,"maxLength":35},"audience_persona_hint":{"type":"string","minLength":1,"maxLength":280},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"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)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"],"additionalProperties":false},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"type":"string","minLength":1,"maxLength":2000},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_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)$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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":["workspace_id","social_account_id","social_post_id","social_comment_id","confidence","provenance","priority","recommended_action","disposition","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"review":{"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)$"},"workspace_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)$"},"social_account_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)$"},"social_post_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)$"},"social_comment_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)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"audience_persona_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"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)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"]},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"updated_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":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","review_version","language","audience_persona_hint","confidence","provenance","priority","recommended_action","reply_draft","disposition","assignee_user_id","created_at","updated_at"]}},"required":["contract_version","review"]}},"/identity-api/agent-auth/config":{"method":"POST","interface":"protocol","accepted_credentials":["anonymous"],"cli_callable":false,"mutates":false,"risk_class":"service_operation","confirmation_mode":"none","completion_truth":"not_agent_callable","delegated_capability":"oauth-bootstrap","authorization":{"public":true,"human_jwt":false,"delegated_oauth":false,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"bootstrap:/identity-api/agent-auth/config:request","response_schema_ref":"bootstrap:/identity-api/agent-auth/config:response","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string","minLength":1},"client_name":{"type":"string","minLength":1},"redirect_uri":{"type":"string","const":"http://127.0.0.1:8789/oauth/callback"},"authorization_endpoint":{"type":"string","format":"uri"},"token_endpoint":{"type":"string","format":"uri"},"scopes":{"type":"string","minLength":1}},"required":["client_id","client_name","redirect_uri","authorization_endpoint","token_endpoint","scopes"]}},"/identity-api/agent-auth/request":{"method":"POST","interface":"protocol","accepted_credentials":["delegated_oauth"],"cli_callable":false,"mutates":false,"risk_class":"service_operation","confirmation_mode":"none","completion_truth":"not_agent_callable","delegated_capability":"oauth-bootstrap","authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"bootstrap:/identity-api/agent-auth/request:request","response_schema_ref":"bootstrap:/identity-api/agent-auth/request:response","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_name":{"type":"string","minLength":1,"maxLength":80},"device_name":{"type":"string","minLength":1,"maxLength":120},"callback_uri":{"anyOf":[{"type":"string","const":"http://127.0.0.1:8789/grant/callback"},{"type":"string","maxLength":2048,"format":"uri","pattern":"^https:\\/\\/.*"}]},"callback_state":{"type":"string","minLength":32,"maxLength":256}},"required":["client_name","device_name","callback_uri","callback_state"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_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)$"},"approval_url":{"type":"string","format":"uri"},"expires_in":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["request_id","approval_url","expires_in"]}},"/identity-api/agent-auth/revoke-current":{"method":"POST","interface":"protocol","accepted_credentials":["delegated_oauth"],"cli_callable":false,"mutates":false,"risk_class":"service_operation","confirmation_mode":"none","completion_truth":"not_agent_callable","delegated_capability":"oauth-bootstrap","authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"bootstrap:/identity-api/agent-auth/revoke-current:request","response_schema_ref":"bootstrap:/identity-api/agent-auth/revoke-current:response","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]}},"/identity-api/agent-auth/session":{"method":"POST","interface":"protocol","accepted_credentials":["delegated_oauth"],"cli_callable":false,"mutates":false,"risk_class":"service_operation","confirmation_mode":"none","completion_truth":"not_agent_callable","delegated_capability":"oauth-bootstrap","authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"bootstrap:/identity-api/agent-auth/session:request","response_schema_ref":"bootstrap:/identity-api/agent-auth/session:response","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"grant_status":{"type":"string","enum":["active","missing"]}},"required":["grant_status"]}},"/identity-api/agent/organization-context":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-agent-context.OrganizationAgentContextRequest","response_schema_ref":"organization-agent-context.OrganizationAgentContextResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_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)$"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"organization-agent-context/v1"},"organizations":{"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":200},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["active","deletion_pending","deleted"]},"workspaces":{"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":200},"role":{"anyOf":[{"type":"string","enum":["owner","editor","reviewer","viewer"]},{"type":"null"}]},"channels":{"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)$"},"organization_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)$"},"workspace_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)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"status":{"type":"string","enum":["setup_incomplete","attached","action_required","disconnected"]}},"required":["id","organization_id","workspace_id","platform","status"]}}},"required":["id","name","role","channels"]}}},"required":["id","name","role","status","workspaces"]}}},"required":["contract_version","organizations"]}},"/identity-api/api-keys/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:manage_api_keys","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.ApiKeysCreate","response_schema_ref":"identity-api.ApiKeysCreateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"lifetime_days":{"default":365,"description":"Days until the key expires (1-365, default 365). A key created by a delegated agent never lives longer than 30 days.","type":"integer","minimum":1,"maximum":365},"capabilities":{"description":"What the key may do. Defaults to operate, publish and engage for a signed-in user. A delegated agent can only grant what its own authorization holds (never key management).","minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"description":"Limit the key to these Workspaces. Omit it for every Workspace the user can access. A limited key must name its Workspace (workspace_id) on routes that would otherwise use the active Workspace, and cannot call organization-wide reads.","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)$"}},"scopes":{"description":"Deprecated alias of capabilities. It is honoured exactly; an empty list is ignored.","maxItems":3,"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely. The secret is shown once: a retry that finds the key already created answers 409 IDEMPOTENT_REPLAY (details.existing_key names it) instead of showing it again. Revoke that key and create a new one with a new idempotency_key.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["name"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"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"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_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)))$"},"expires_at":{"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"}]},"last_used_at":{"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"}]},"revoked_at":{"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"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"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"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"secret":{"type":"string","minLength":1}},"required":["apiKey","secret"]}},"/identity-api/api-keys/extend":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:manage_api_keys","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.ApiKeysExtend","response_schema_ref":"identity-api.ApiKeysExtendResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"expires_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)))$","description":"Requested new absolute expiry. The longest lifetime is 365 days from now, or 30 days for a key created by a delegated agent. A signed-in person extending their own key is granted that longest lifetime when they ask for a later time (up to 3,650 days from now); in every other case a later time is refused with API_KEY_LIFETIME_EXCEEDS_CAP. The response carries the expiry actually applied."}},"required":["id","expires_at"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"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"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_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)))$"},"expires_at":{"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"}]},"last_used_at":{"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"}]},"revoked_at":{"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"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"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"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"idempotent":{"type":"boolean"}},"required":["apiKey","idempotent"]}},"/identity-api/api-keys/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:manage_api_keys","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.ApiKeysList","response_schema_ref":"identity-api.ApiKeysListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_revoked":{"default":false,"type":"boolean"},"include_authority":{"default":false,"description":"Also return each key's capabilities, Workspace limit (null = every Workspace) and the delegated grant that created it.","type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKeys":{"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"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_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)))$"},"expires_at":{"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"}]},"last_used_at":{"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"}]},"revoked_at":{"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"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"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"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]}}},"required":["apiKeys"]}},"/identity-api/api-keys/renew":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:manage_api_keys","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"success_statuses":[201],"request_schema_ref":"identity-api.ApiKeysRenew","response_schema_ref":"identity-api.ApiKeysRenewResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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","minLength":1,"maxLength":80},"lifetime_days":{"default":365,"description":"Days until the successor expires (1-365, default 365; 30 at most for a key created by a delegated agent). The successor keeps the predecessor's capabilities and Workspace limit.","type":"integer","minimum":1,"maximum":365},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely. The new secret is shown once: a retry that finds the successor already created answers 409 IDEMPOTENT_REPLAY (details.existing_key names it). Revoke it and renew again with a new idempotency_key.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"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"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_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)))$"},"expires_at":{"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"}]},"last_used_at":{"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"}]},"revoked_at":{"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"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"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"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"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"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"secret":{"type":"string","minLength":1}},"required":["apiKey","secret"]}},"/identity-api/api-keys/revoke":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:manage_api_keys","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.ApiKeysRevoke","response_schema_ref":"identity-api.ApiKeysRevokeResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"already_revoked":{"type":"boolean"}},"required":["ok","already_revoked"]}},"/identity-api/billing/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.BillingStatusBody","response_schema_ref":"identity-api.BillingStatusResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"billing_account_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)$"},"plan_key":{"type":"string","enum":["free","founding_pro"]},"plan_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payment_state":{"type":"string","minLength":1,"maxLength":64},"entitlement_source":{"type":"string","enum":["default","stripe","internal_test","reconciliation","manual"]},"has_stripe_customer":{"type":"boolean"},"checkout_enabled":{"type":"boolean"},"cycle":{"type":"object","properties":{"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reset_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":["period_start","period_end","reset_at"]},"quota":{"type":"object","properties":{"successful_destination_publishes":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","reserved","consumed","remaining"]},"pending_scheduled_posts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]},"connected_social_accounts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]}},"required":["successful_destination_publishes","pending_scheduled_posts","connected_social_accounts"]},"history_days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["billing_account_id","plan_key","plan_version","payment_state","entitlement_source","has_stripe_customer","checkout_enabled","cycle","quota","history_days","capabilities"]}},"/identity-api/commercial-access/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.CommercialAccessStatusBody","response_schema_ref":"identity-api.CommercialAccessStatusResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"billing_account_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)$"},"plan_key":{"type":"string","enum":["free","founding_pro"]},"plan_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payment_state":{"type":"string","minLength":1,"maxLength":64},"entitlement_source":{"type":"string","enum":["default","stripe","internal_test","reconciliation","manual"]},"has_stripe_customer":{"type":"boolean"},"cycle":{"type":"object","properties":{"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reset_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":["period_start","period_end","reset_at"]},"quota":{"type":"object","properties":{"successful_destination_publishes":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","reserved","consumed","remaining"]},"pending_scheduled_posts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]},"connected_social_accounts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]}},"required":["successful_destination_publishes","pending_scheduled_posts","connected_social_accounts"]},"history_days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"actor_user_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)$"},"workspace_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)$"},"billing_account_kind":{"type":"string","const":"personal"},"commercial_access_mode":{"type":"string","enum":["off","shadow","enforce"]}},"required":["billing_account_id","plan_key","plan_version","payment_state","entitlement_source","has_stripe_customer","cycle","quota","history_days","capabilities","actor_user_id","workspace_id","billing_account_kind","commercial_access_mode"]}},"/identity-api/feedback/submit":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.FeedbackSubmit","response_schema_ref":"identity-api.FeedbackSubmitResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","enum":["bug","feature","general"]},"message":{"type":"string","minLength":1,"maxLength":4000},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely: a retry returns the original result instead of acting twice.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["type","message"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"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)$"},"created_at":{"type":"string"}},"required":["ok","id","created_at"]}},"/identity-api/member/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"member-list.MemberListRequestSchema","response_schema_ref":"member-list.MemberListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"user_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":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"role":{"type":"string","enum":["owner","editor","reviewer","viewer"]},"joined_at":{"type":"string"}},"required":["user_id","email","role","joined_at"]}},"pending_invites":{"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)$"},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"expires_at":{"type":"string"}},"required":["id","email","expires_at"]}}},"required":["members","pending_invites"]}},"/identity-api/organization/channels/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-connections.OrganizationChannelsListBody","response_schema_ref":"organization-connections.OrganizationChannelsListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_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":["organization_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channels":{"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)$"},"organization_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)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"resource_type":{"type":"string","minLength":1},"provider_resource_id":{"type":"string","minLength":1},"home_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"attachment_state":{"type":"string","enum":["setup_incomplete","attached","action_required","disconnected"]},"legacy_review_state":{"type":"string","enum":["not_required","workspace_duplicate_required","completed"]},"transition_state":{"type":"string","enum":["stable","moving","disconnecting"]},"operation_revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"account_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":["id","organization_id","platform","resource_type","provider_resource_id","home_workspace_id","attachment_state","legacy_review_state","transition_state","operation_revision","account_ids"]}}},"required":["channels"]}},"/identity-api/organization/channels/move/preview":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-connections.OrganizationChannelMovePreviewBody","response_schema_ref":"organization-connections.OrganizationChannelMovePreviewResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_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)$"},"channel_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)$"},"target_workspace_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":["organization_id","channel_id","target_workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channel_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)$"},"source_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"target_workspace_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)$"},"operation_revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"can_move":{"type":"boolean"},"blockers":{"maxItems":50,"type":"array","items":{"type":"string"}},"dependency_hash":{"type":"string","minLength":1}},"required":["channel_id","source_workspace_id","target_workspace_id","operation_revision","can_move","blockers","dependency_hash"]}},"/identity-api/organization/connections/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-connections.OrganizationConnectionsListBody","response_schema_ref":"organization-connections.OrganizationConnectionsListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_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":["organization_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connections":{"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)$"},"organization_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)$"},"provider":{"type":"string","enum":["meta","instagram","threads","google_youtube","x"]},"provider_principal":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["active","action_required","unlinked"]},"provider_revoke_state":{"type":"string","enum":["not_requested","pending","succeeded","failed","unknown"]},"granted_scopes":{"type":"array","items":{"type":"string"}},"source":{"type":"string","enum":["oauth_v1","legacy_imported"]},"authorized_at":{"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"}]},"last_discovered_at":{"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","organization_id","provider","provider_principal","state","provider_revoke_state","granted_scopes","source","authorized_at","last_discovered_at"]}}},"required":["connections"]}},"/identity-api/organization/connections/review":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-connections.OrganizationConnectionReviewBody","response_schema_ref":"organization-connections.OrganizationConnectionReviewResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_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)$"},"operation_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":["organization_id","operation_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operation_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)$"},"organization_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)$"},"provider":{"type":"string","enum":["meta","instagram","threads","google_youtube","x"]},"status":{"type":"string","enum":["review_required","confirming","partially_confirmed","confirmed","failed","expired"]},"resources":{"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)$"},"resource_type":{"type":"string","minLength":1},"provider_resource_id":{"type":"string","minLength":1},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_username":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_tasks":{"type":"array","items":{"type":"string"}},"provider_permissions":{"type":"array","items":{"type":"string"}},"capability_facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"discovery_status":{"type":"string","enum":["discovered","action_required","unavailable","unknown"]},"selection_state":{"type":"string","enum":["unselected","selected","attached","superseded"]}},"required":["id","resource_type","provider_resource_id","display_name","display_username","provider_tasks","provider_permissions","capability_facts","discovery_status","selection_state"]}}},"required":["operation_id","organization_id","provider","status","resources"]}},"/identity-api/organization/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"organization-connections.OrganizationSummaryListBody","response_schema_ref":"organization-connections.OrganizationSummaryListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organizations":{"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},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["active","deletion_pending","deleted"]},"workspace_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":["id","name","role","status","workspace_ids"]}}},"required":["organizations"]}},"/identity-api/user/inbox/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.InboxListRequestSchema","response_schema_ref":"identity-api.InboxListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kind":{"type":"string","minLength":1,"maxLength":64},"unread_only":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":50}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"workspace_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"},"title":{"type":"string"},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"link_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"payload":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"}},"required":["id","workspace_id","kind","title","body","link_url","payload","read_at","created_at"]}}},"required":["notifications"]}},"/identity-api/user/notifications/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.NotificationsGet","response_schema_ref":"identity-api.NotificationsResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prefs":{"type":"object","properties":{"email_post_failed":{"type":"boolean"}},"required":["email_post_failed"]}},"required":["prefs"]}},"/identity-api/user/notifications/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.NotificationsUpdate","response_schema_ref":"identity-api.NotificationsResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email_post_failed":{"type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prefs":{"type":"object","properties":{"email_post_failed":{"type":"boolean"}},"required":["email_post_failed"]}},"required":["prefs"]}},"/identity-api/user/profile/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.UserProfileGetBody","response_schema_ref":"user-profile.UserProfileGetResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"get"},"profile":{"anyOf":[{"type":"object","properties":{"user_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)$"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_preview_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"avatar_preview_expires_at":{"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))$"},{"type":"null"}]},"theme":{"anyOf":[{"type":"string","enum":["light","dark","system"]},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletion_scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"hard_delete_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["user_id","display_name","timezone","avatar_url","theme","created_at","updated_at","deletion_scheduled_at","hard_delete_at"]},{"type":"null"}]}},"required":["action","profile"]}},"/identity-api/user/profile/sign-avatar-url":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.UserProfileSignAvatarUrl","response_schema_ref":"user-profile.UserProfileSignAvatarResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":256},"content_type":{"type":"string","pattern":"^image\\/(png|jpeg|jpg|gif|webp)$"},"byte_size":{"description":"Exact avatar size in bytes (max 5 MiB); signed into the upload URL","type":"integer","minimum":1,"maximum":5242880}},"required":["filename","content_type"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"sign-avatar-url"},"path":{"type":"string"},"signed_url":{"type":"string","format":"uri"},"token":{"type":"string"}},"required":["action","path","signed_url"]}},"/identity-api/user/profile/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.UserProfileUpdate","response_schema_ref":"user-profile.UserProfileUpdateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"display_name":{"type":"string","minLength":0,"maxLength":120},"timezone":{"type":"string","minLength":1,"maxLength":64},"avatar_url":{"type":"string","minLength":0,"maxLength":2048},"theme":{"type":"string","enum":["light","dark","system"]},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"update"},"profile":{"type":"object","properties":{"user_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)$"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_preview_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"avatar_preview_expires_at":{"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))$"},{"type":"null"}]},"theme":{"anyOf":[{"type":"string","enum":["light","dark","system"]},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletion_scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"hard_delete_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["user_id","display_name","timezone","avatar_url","theme","created_at","updated_at","deletion_scheduled_at","hard_delete_at"]}},"required":["action","profile"]}},"/identity-api/user/social-accounts/clear-block":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"identity-api.SocialAccountsClearBlock","response_schema_ref":"identity-api.SocialAccountsClearBlockResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_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":["account_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]}},"/identity-api/user/social-accounts/disconnect":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"identity-api.SocialAccountsDisconnect","response_schema_ref":"identity-api.SocialAccountsDisconnectResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_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":["account_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]}},"/identity-api/user/social-accounts/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.SocialAccountsList","response_schema_ref":"identity-api.SocialAccountsListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"include_authorization_grant":{"type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accounts":{"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)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","tiktok","linkedin","youtube","x"]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["valid","expiring_soon","expired","disconnected"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"follower_count":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"post_count":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"auto_sync_enabled":{"type":"boolean"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform_user_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"instagram_login_mode":{"anyOf":[{"type":"string","enum":["instagram_login","facebook_login"]},{"type":"null"}]},"facebook_page_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"blocked_until":{"anyOf":[{"type":"string"},{"type":"null"}]},"block_reason":{"anyOf":[{"type":"string","enum":["transient","account_block","auth_invalid","permanent"]},{"type":"null"}]},"block_subcode":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"block_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"last_block_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"health_state":{"type":"string","enum":["ready","action_required","temporarily_unavailable","publishing_restricted","disconnected","unknown"]},"health_message":{"type":"string","minLength":1,"maxLength":500},"health_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"authorization_grant":{"oneOf":[{"type":"object","properties":{"granted_permissions":{"type":"array","items":{"type":"string","minLength":1}},"inventory_source":{"type":"string","enum":["oauth_token_response","provider_token_debug","provider_permissions_endpoint"]},"inventory_exact":{"type":"boolean","const":true},"observed_at":{"type":"string","minLength":1},"provider_api_version":{"type":"string","minLength":1,"maxLength":40},"oauth_provider":{"type":"string","enum":["instagram","threads","meta","google"]},"oauth_subject_id":{"type":"string","minLength":1}},"required":["granted_permissions","inventory_source","inventory_exact","observed_at","provider_api_version","oauth_provider","oauth_subject_id"]},{"type":"object","properties":{"granted_permissions":{"minItems":0,"maxItems":0,"type":"array","items":{"not":{}}},"inventory_source":{"type":"string","const":"unavailable"},"inventory_exact":{"type":"boolean","const":false},"observed_at":{"type":"null"},"provider_api_version":{"type":"null"},"oauth_provider":{"anyOf":[{"type":"string","enum":["instagram","threads","meta","google"]},{"type":"null"}]},"oauth_subject_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["granted_permissions","inventory_source","inventory_exact","observed_at","provider_api_version","oauth_provider","oauth_subject_id"]}]},"current_capability_snapshot_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"capability_facts":{"type":"array","items":{"type":"object","properties":{"capability":{"type":"string","enum":["can_publish_text","can_publish_image","can_publish_video","can_publish_reel","can_publish_carousel","can_publish_first_comment","can_publish_topic_tag","can_publish_link","can_upload_video","can_set_title","can_set_description","can_set_thumbnail","can_set_privacy_status","can_publish_story","can_invite_collaborators","can_tag_products","can_publish_trial_reel","can_publish_partnership","can_delete_media","can_publish_reply","can_quote_post","can_repost","can_publish_poll","can_publish_gif","can_publish_text_attachment","can_publish_ghost_post","can_tag_location","can_crossshare_to_instagram","can_auto_publish_text","can_delete_post","can_publish_multi_image","can_target_post","can_backdate_post","can_manage_native_schedule","can_update_video","can_delete_video","can_set_brand_partner"]},"observed_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"availability":{"type":"string","enum":["available","unavailable","unknown","documented_ambiguous"]},"reason_code":{"type":"string","pattern":"^[a-z0-9_]+$"},"observed_at":{"type":"string"},"valid_until":{"type":"string"},"provider_api_version":{"type":"string","minLength":1,"maxLength":40},"required_permissions":{"type":"array","items":{"type":"string","minLength":1}},"granted_permissions":{"type":"array","items":{"type":"string","minLength":1}},"account_eligibility":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["capability","observed_allowed","availability","reason_code","observed_at","valid_until","provider_api_version","required_permissions","granted_permissions","account_eligibility"]}}},"required":["id","platform","handle","status","expires_at","created_at","health_state","health_message","health_observed_at","current_capability_snapshot_id","capability_facts"]}}},"required":["accounts"]}},"/identity-api/user/social-accounts/set-auto-sync":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"identity-api.SocialAccountsSetAutoSync","response_schema_ref":"identity-api.SocialAccountsSetAutoSyncResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_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)$"},"enabled":{"type":"boolean"}},"required":["account_id","enabled"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"enabled":{"type":"boolean"}},"required":["ok","enabled"]}},"/identity-api/workspace/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"identity-api.WorkspaceCreate","response_schema_ref":"identity-api.WorkspaceCreateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"organization_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)$"},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely: a retry returns the original result instead of acting twice.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["name"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace":{"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)$"},"organization_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)$"},"slug":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string"}},"required":["id","organization_id","slug","name","created_at"]}},"required":["workspace"]}},"/identity-api/workspace/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"workspace-list.WorkspaceListRequestSchema","response_schema_ref":"workspace-list.WorkspaceListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"active_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"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)$"},"slug":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["owner","editor","reviewer","viewer"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","slug","name","role"]}}},"required":["active_workspace_id","workspaces"]}},"/identity-api/workspace/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"identity-api.WorkspaceUpdate","response_schema_ref":"identity-api.WorkspaceUpdateResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":120},"slug":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace":{"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)$"},"slug":{"type":"string"},"name":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","slug","name"]}},"required":["workspace"]}},"/jobs-api/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"jobs-api.JobsGet","response_schema_ref":"jobs-api.JobsGetResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"job_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":["job_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"status":{"type":"string"},"job_type":{"type":"string"},"result_data":{"$ref":"#/$defs/__schema0"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","status","job_type","result_data","error_message","created_at","updated_at"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}},"/jobs-api/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"success_statuses":[200],"request_schema_ref":"jobs-api.JobsList","response_schema_ref":"jobs-api.JobsListResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Page size, 1 to 100. Sending limit or cursor switches this route to cursor paging and adds next_cursor to the answer."},"cursor":{"type":"string","minLength":1,"maxLength":512,"description":"Opaque cursor: the next_cursor of the previous page, unchanged. Omit it for the first page. The same filters must be sent with every page."}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jobs":{"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)$"},"user_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"},"status":{"type":"string"},"payload":{"$ref":"#/$defs/__schema0"},"scheduled_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"progress":{"anyOf":[{"type":"integer","minimum":0,"maximum":100},{"type":"null"}]},"progress_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","user_id","kind","status","payload","scheduled_for","schedule_timezone","progress","progress_message","created_at","updated_at"]}},"next_cursor":{"description":"Present only when the request sent limit or cursor. Null on the last page.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["jobs"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}},"/oauth-api/instagram/init":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.InstagramInit","response_schema_ref":"oauth-instagram-init.OAuthInstagramInitResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_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)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]}},"/oauth-api/instagram/refresh":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.InstagramRefresh","response_schema_ref":"oauth-instagram-refresh.OAuthInstagramRefreshResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_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)$"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"refreshed":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["ok","refreshed","expires_at"]}},"/oauth-api/meta/init":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.MetaInit","response_schema_ref":"oauth-meta-init.OAuthMetaInitResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_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)$"},"expected_platform_user_id":{"type":"string","minLength":1},"connection_intent":{"type":"string","enum":["facebook","instagram_via_facebook"]},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]}},"/oauth-api/meta/refresh":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.MetaRefresh","response_schema_ref":"oauth-api.MetaRefreshResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_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":["social_account_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"capability_verified":{"type":"boolean","const":true}},"required":["ok","capability_verified"]}},"/oauth-api/threads/check":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"oauth-api.ThreadsCheck","response_schema_ref":"oauth-threads-check.OAuthThreadsCheckResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"check"},"workspace_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":["action"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connected":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"scope":{"anyOf":[{"type":"string"},{"type":"null"}]},"can_refresh":{"type":"boolean"},"last_refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["connected","expires_at","scope","can_refresh","last_refreshed_at"]}},"/oauth-api/threads/init":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.ThreadsInit","response_schema_ref":"oauth-threads-init.OAuthThreadsInitResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_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)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]}},"/oauth-api/threads/refresh":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.ThreadsRefresh","response_schema_ref":"oauth-threads-refresh.OAuthThreadsRefreshResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_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)$"}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"refreshed":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["ok","refreshed","expires_at"]}},"/oauth-api/youtube/init":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.YouTubeInit","response_schema_ref":"oauth-api.YouTubeInitResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_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)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]}},"/oauth-api/youtube/refresh":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"oauth-api.YouTubeRefresh","response_schema_ref":"oauth-api.YouTubeRefreshResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_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":["social_account_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"expires_at":{"type":"string"},"capability_verified":{"type":"boolean","const":true}},"required":["ok","expires_at","capability_verified"]}},"/studio-api/projects/account-defaults/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectAccountDefaultsGetBody","response_schema_ref":"studio-api.ProjectAccountDefaultsResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accounts":{"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"workspace_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)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80},"resolution_source":{"type":"string","enum":["project_default","workspace_default","connected_account"]}},"required":["social_account_id","workspace_id","platform","platform_user_id","username","facebook_page_name","enabled","language","region","timezone","resolution_source"]}}},"required":["project_id","defaults_version","accounts"]}},"/studio-api/projects/account-defaults/replace":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectAccountDefaultsSetBody","response_schema_ref":"studio-api.ProjectAccountDefaultsReplaceResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"expected_defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"overrides":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80}},"required":["social_account_id","enabled","language","region","timezone"],"additionalProperties":false}}},"required":["project_id","expected_defaults_version","idempotency_key","overrides"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accounts":{"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"workspace_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)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80},"resolution_source":{"type":"string","enum":["project_default","workspace_default","connected_account"]}},"required":["social_account_id","workspace_id","platform","platform_user_id","username","facebook_page_name","enabled","language","region","timezone","resolution_source"]}},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["project_id","defaults_version","accounts","receipt_id","applied","deduped"]}},"/studio-api/projects/accounts/link":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAccountLinkBody","response_schema_ref":"project-v1.ProjectAccountLinkMutationResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"social_account_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)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","social_account_id","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"social_account_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)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]},{"type":"null"}]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]}},"/studio-api/projects/accounts/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAccountLinksListBody","response_schema_ref":"project-v1.ProjectAccountLinksListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"cursor":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"project_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)$"},"links":{"type":"array","items":{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"social_account_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)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]}},"next_cursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{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":["contract_version","project_id","links","next_cursor"]}},"/studio-api/projects/accounts/unlink":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAccountUnlinkBody","response_schema_ref":"project-v1.ProjectAccountLinkMutationResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"social_account_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)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","social_account_id","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"social_account_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)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]},{"type":"null"}]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]}},"/studio-api/projects/archive":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsArchiveBody","response_schema_ref":"studio-api.ProjectsArchiveResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"expected_lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["id","expected_lifecycle_version","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"},"held_schedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["project","receipt_id","applied","deduped","held_schedule_count"]}},"/studio-api/projects/assets/link":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAssetLinkBody","response_schema_ref":"project-v1.ProjectAssetLinkMutationResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","asset_id","relationship","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]},{"type":"null"}]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]}},"/studio-api/projects/assets/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAssetLinksListBody","response_schema_ref":"project-v1.ProjectAssetLinksListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"cursor":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"project_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)$"},"links":{"type":"array","items":{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]}},"next_cursor":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["contract_version","project_id","links","next_cursor"]}},"/studio-api/projects/assets/unlink":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectAssetUnlinkBody","response_schema_ref":"project-v1.ProjectAssetLinkMutationResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","asset_id","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_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)$"},"project_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)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]},{"type":"null"}]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]}},"/studio-api/projects/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200,201],"request_schema_ref":"studio-api.ProjectsCreateBody","response_schema_ref":"studio-api.ProjectsCreateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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":200},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","name"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"deduped":{"type":"boolean"}},"required":["project"]}},"/studio-api/projects/export/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"accepted_asynchronous_poll_export_status","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[202],"request_schema_ref":"project-v1.ProjectExportCreateBody","response_schema_ref":"project-v1.ProjectExportCreateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"export_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)$"},"job_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)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"deduped":{"type":"boolean"}},"required":["contract_version","export_id","job_id","status","deduped"]}},"/studio-api/projects/export/status":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectExportStatusBody","response_schema_ref":"project-v1.ProjectExportStatusResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"export_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":["project_id","export_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"export_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)$"},"project_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)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"object_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"object_size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"download_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"download_expires_at":{"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"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_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)))$"},"completed_at":{"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":["contract_version","export_id","project_id","status","object_sha256","object_size","download_url","download_expires_at","error_message","created_at","completed_at"]}},"/studio-api/projects/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsGetBody","response_schema_ref":"studio-api.ProjectsGetResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"required":["project"]}},"/studio-api/projects/lifecycle/history":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectLifecycleHistoryBody","response_schema_ref":"studio-api.ProjectLifecycleHistoryResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"workspace_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)$"},"project_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)$"},"action":{"type":"string","enum":["archived","unarchived"]},"previous_state":{"type":"string","enum":["active","archived"]},"new_state":{"type":"string","enum":["active","archived"]},"previous_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"new_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"actor_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"actor_kind":{"type":"string","enum":["jwt","api_key","delegated_ai"]},"actor_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"actor_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"occurred_at":{"type":"string"}},"required":["id","workspace_id","project_id","action","previous_state","new_state","previous_version","new_version","actor_user_id","actor_kind","actor_api_key_id","actor_delegated_grant_id","occurred_at"]}}},"required":["events"]}},"/studio-api/projects/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsListBody","response_schema_ref":"studio-api.ProjectsListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Page size, 1 to 100. Sending limit or cursor switches this route to cursor paging and adds next_cursor to the answer."},"cursor":{"type":"string","minLength":1,"maxLength":512,"description":"Opaque cursor: the next_cursor of the previous page, unchanged. Omit it for the first page. The same filters must be sent with every page."},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projects":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"active_project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"next_cursor":{"description":"Present only when the request sent limit or cursor. Null on the last page.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["projects","active_project_id"]}},"/studio-api/projects/profile/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectProfileGetBody","response_schema_ref":"project-v1.ProjectProfileGetResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"profile":{"anyOf":[{"type":"object","properties":{"project_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)$"},"workspace_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)$"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string"},{"type":"null"}]},"color_palette":{"type":"array","items":{"type":"string"}},"goals":{"type":"array","items":{"type":"string"}},"no_go_topics":{"type":"array","items":{"type":"string"}},"language_primary":{"type":"string"},"positioning":{"anyOf":[{"type":"string"},{"type":"null"}]},"usp":{"anyOf":[{"type":"string"},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"type":"array","items":{"type":"string"}},"north_star_metric":{"anyOf":[{"type":"string"},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updated_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_kind":{"type":"string","enum":["jwt","api_key","delegated_ai","migration"]},"updated_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"updated_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":["project_id","workspace_id","tagline","description","voice","target_audience","color_palette","goals","no_go_topics","language_primary","positioning","usp","visual_identity","forbidden_claims","north_star_metric","posting_cadence","app_store_url_ios","app_store_url_android","app_metadata","profile_version","updated_by","updated_by_kind","updated_by_api_key_id","updated_by_delegated_grant_id","created_at","updated_at"]},{"type":"null"}]}},"required":["contract_version","profile"]}},"/studio-api/projects/profile/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"project-v1.ProjectProfileUpdateBody","response_schema_ref":"project-v1.ProjectProfileUpdateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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)$"},"expected_profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"patch":{"type":"object","properties":{"tagline":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"voice":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"color_palette":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":64}},"goals":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":160}},"no_go_topics":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":160}},"language_primary":{"type":"string","minLength":2,"maxLength":35},"positioning":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"usp":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":240}},"north_star_metric":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"required":["project_id","expected_profile_version","idempotency_key","patch"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"profile":{"type":"object","properties":{"project_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)$"},"workspace_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)$"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string"},{"type":"null"}]},"color_palette":{"type":"array","items":{"type":"string"}},"goals":{"type":"array","items":{"type":"string"}},"no_go_topics":{"type":"array","items":{"type":"string"}},"language_primary":{"type":"string"},"positioning":{"anyOf":[{"type":"string"},{"type":"null"}]},"usp":{"anyOf":[{"type":"string"},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"type":"array","items":{"type":"string"}},"north_star_metric":{"anyOf":[{"type":"string"},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updated_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_kind":{"type":"string","enum":["jwt","api_key","delegated_ai","migration"]},"updated_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_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)))$"},"updated_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":["project_id","workspace_id","tagline","description","voice","target_audience","color_palette","goals","no_go_topics","language_primary","positioning","usp","visual_identity","forbidden_claims","north_star_metric","posting_cadence","app_store_url_ios","app_store_url_android","app_metadata","profile_version","updated_by","updated_by_kind","updated_by_api_key_id","updated_by_delegated_grant_id","created_at","updated_at"]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","profile","receipt_id","applied","deduped"]}},"/studio-api/projects/set-active":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsSetActiveBody","response_schema_ref":"studio-api.ProjectsSetActiveResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_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":["project_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"active_project_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":["ok","active_project_id"]}},"/studio-api/projects/unarchive":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsUnarchiveBody","response_schema_ref":"studio-api.ProjectsUnarchiveResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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)$"},"expected_lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["id","expected_lifecycle_version","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"receipt_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)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"},"resumed_schedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"needs_reschedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["project","receipt_id","applied","deduped","resumed_schedule_count","needs_reschedule_count"]}},"/studio-api/projects/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"routine_write","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"success_statuses":[200],"request_schema_ref":"studio-api.ProjectsUpdateBody","response_schema_ref":"studio-api.ProjectsUpdateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/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","minLength":1,"maxLength":200},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id","name"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"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)$"},"workspace_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":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"required":["project"]}},"/studio-api/publication-attentions/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"studio-api.PublicationAttentionsListBody","response_schema_ref":"studio-api.PublicationAttentionsListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"status":{"type":"string","enum":["open","resolved"]},"scheduled_post_id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"offset":{"default":0,"type":"integer","minimum":0,"maximum":10000}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"attentions":{"maxItems":200,"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)$"},"workspace_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)$"},"scheduled_post_id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"publication_attempt_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"account_label":{"type":"string"},"status":{"type":"string","enum":["open","resolved"]},"cause":{"type":"string","enum":["terminal_failure","missing_evidence","delete_failed","stuck_dispatch"]},"reason_code":{"type":"string","enum":["publication_failed","delivery_evidence_pending","provider_delete_needs_review","delivery_delayed"]},"message":{"type":"string","minLength":1,"maxLength":500},"actionability":{"type":"string","enum":["user_actionable","vic_handling","resolved"]},"available_actions":{"maxItems":1,"type":"array","items":{"type":"string","enum":["retry","delete"]}},"opened_at":{"type":"string"},"first_observed_at":{"type":"string"},"last_observed_at":{"type":"string"},"resolved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","workspace_id","scheduled_post_id","publication_attempt_id","social_account_id","platform","account_label","status","cause","reason_code","message","actionability","available_actions","opened_at","first_observed_at","last_observed_at","resolved_at","created_at","updated_at"]}},"next_offset":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"returned_count":{"type":"integer","minimum":0,"maximum":200},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attentions","next_offset","returned_count","total"]}},"/studio-api/scheduled-posts/bulk-create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[201,422],"request_schema_ref":"scheduled-posts.ScheduledPostsBulkCreateBody","response_schema_ref":"scheduled-posts.ScheduledPostsBulkCreateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"targets":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_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)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"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"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["social_account_id","provider_payload","scheduled_at","idempotency_key"],"additionalProperties":false}}},"required":["workspace_id","targets"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"successes":{"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["social_account_id","post"]}},"failures":{"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"code":{"type":"string"},"message":{"type":"string"}},"required":["social_account_id","code","message"]}}},"required":["batch_id","successes","failures"]}},"/studio-api/scheduled-posts/cancel":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsCancelBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/scheduled-posts/create":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200,201],"request_schema_ref":"scheduled-posts.ScheduledPostsCreateBody","response_schema_ref":"scheduled-posts.ScheduledPostCreateResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_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)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_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)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"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"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","social_account_id","provider_payload","scheduled_at","idempotency_key"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]},"deduped":{"type":"boolean"}},"required":["post","deduped"]}},"/studio-api/scheduled-posts/create-image-url":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200,201],"request_schema_ref":"scheduled-posts.ScheduledPostsCreateImageUrlBody","response_schema_ref":"scheduled-posts.ScheduledPostImageUrlResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_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)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":0,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_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)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"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"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"source_url":{"type":"string","maxLength":2048,"format":"uri"},"wait_seconds":{"default":35,"type":"integer","minimum":0,"maximum":35}},"required":["workspace_id","social_account_id","provider_payload","scheduled_at","idempotency_key","source_url"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]},"deduped":{"type":"boolean"},"import_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)$"},"media_preparation":{"type":"string","enum":["pending","ready","failed"]},"completion":{"type":"string","enum":["pending","terminal"]}},"required":["post","deduped","import_id","media_preparation","completion"]}},"/studio-api/scheduled-posts/delete":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsDeleteBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/scheduled-posts/eligibility":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsEligibilityBody","response_schema_ref":"scheduled-posts.ScheduledPostsEligibilityResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"include_quota":{"type":"boolean"},"targets":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"draft":{"type":"object","properties":{"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"scheduled_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)))$"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"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":["scheduled_at","display_timezone"],"additionalProperties":false}},"required":["social_account_id","media","provider_payload"],"additionalProperties":false}}},"required":["workspace_id","targets"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"destinations":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_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)$"},"platform":{"anyOf":[{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},{"type":"null"}]},"status":{"type":"string","enum":["eligible","ineligible","unknown"]},"reason_code":{"type":"string","enum":["eligible","account_not_found","account_disconnected","account_action_required","account_temporarily_unavailable","account_publishing_restricted","account_readiness_unknown","account_sponsorship_required","organization_channel_disconnected","provider_authorization_revoke_pending","organization_channel_not_primary","organization_channel_transition","organization_new_work_blocked","content_incompatible","schedule_incompatible","schedule_check_unavailable","capability_unavailable","capability_unknown"]},"message":{"type":"string","minLength":1,"maxLength":500},"required_capabilities":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"required":["social_account_id","platform","status","reason_code","message","required_capabilities"]}},"quota":{"type":"object","properties":{"status":{"type":"string","enum":["available","insufficient","unknown","not_enforced"]},"requested_destinations":{"type":"integer","exclusiveMinimum":0,"maximum":50},"remaining_publishes":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"remaining_pending_posts":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"period_start":{"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"}]},"period_end":{"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"}]},"checked_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)))$"},"reserved":{"type":"boolean","const":false}},"required":["status","requested_destinations","remaining_publishes","remaining_pending_posts","period_start","period_end","checked_at","reserved"]}},"required":["destinations"]}},"/studio-api/scheduled-posts/get":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsGetBody","response_schema_ref":"scheduled-posts.ScheduledPostDetailResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at"]},"delivery":{"type":"object","properties":{"stage":{"type":"string","enum":["scheduled","preparing","delivering","reconciling","cancelling","terminal"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["stage","message"]},"actions":{"minItems":5,"maxItems":5,"type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["edit","publish_now","retry","cancel","delete"]},"allowed":{"type":"boolean"},"reason_code":{"type":"string","enum":["allowed","terminal_state","provider_preparation_started","delivery_started","not_scheduled","not_failed","retry_evidence_missing","destination_disconnected","expiry_passed","cancellation_in_progress","delete_in_progress","not_published"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["action","allowed","reason_code","message"]}},"attempts":{"maxItems":200,"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)$"},"operation":{"type":"string","enum":["publish","delete"]},"attempt_number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"dispatched_at":{"type":"string"}},"required":["id","operation","attempt_number","dispatched_at"]}},"outcomes":{"maxItems":200,"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)$"},"publication_attempt_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"operation":{"type":"string","enum":["publish","delete"]},"status":{"type":"string","enum":["published","failed","deleted"]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"message":{"type":"string","minLength":1,"maxLength":500},"observed_at":{"type":"string"},"terminal_suboperation":{"type":"object","properties":{"kind":{"type":"string","const":"instagram_first_comment"},"status":{"type":"string","enum":["succeeded","failed","attention"]},"external_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}]}},"required":["kind","status","external_id"]}},"required":["id","publication_attempt_id","operation","status","provider_post_id","permalink","message","observed_at"]}}},"required":["post","delivery","actions","attempts","outcomes"]}},"/studio-api/scheduled-posts/list":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsListBody","response_schema_ref":"scheduled-posts.ScheduledPostsListResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"project_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)$"},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"scheduled_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"scheduled_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"object","properties":{"scheduled_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)))$"},"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["scheduled_at","id"],"additionalProperties":false}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"next_cursor":{"anyOf":[{"type":"object","properties":{"scheduled_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)))$"},"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["scheduled_at","id"]},{"type":"null"}]},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["posts","next_cursor","returned_count"]}},"/studio-api/scheduled-posts/publish-now":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsPublishNowBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/scheduled-posts/retry":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsRetryBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"scheduled_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":["id","expected_version"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/scheduled-posts/update":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"terminal publication outcome","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsUpdateBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"patch":{"type":"object","properties":{"caption":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"scheduled_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)))$"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"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"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"additionalProperties":false},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false}]}},"required":["id","expected_version","patch"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/scheduled-posts/withdraw-delete":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":true,"risk_class":"provider_content_write","confirmation_mode":"none","completion_truth":"audited withdrawal; provider content retained","delegated_capability":"agent:publish","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"success_statuses":[200],"request_schema_ref":"scheduled-posts.ScheduledPostsCancelBody","response_schema_ref":"scheduled-posts.ScheduledPostResponseSchema","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_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)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"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))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]}},"/studio-api/x/usage":{"method":"POST","interface":"product","accepted_credentials":["user_session","delegated_oauth","personal_access_token"],"cli_callable":true,"mutates":false,"risk_class":"read_only","confirmation_mode":"none","completion_truth":"synchronous_http_response","delegated_capability":"agent:operate","authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"success_statuses":[200],"request_schema_ref":"x-usage.XUsageBody","response_schema_ref":"x-usage.XUsageResponse","request_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"text":{"type":"string","maxLength":4096}},"required":["workspace_id"],"additionalProperties":false},"response_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_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)$"},"plan":{"type":"string","enum":["free","founding_pro"]},"allowance":{"type":"string","enum":["one_time","monthly"]},"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"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"}]},"limit":{"anyOf":[{"type":"number","const":10},{"type":"number","const":100}]},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991},"costs":{"type":"object","properties":{"text":{"type":"number","const":1},"with_url":{"type":"number","const":10}},"required":["text","with_url"]},"draft_credits":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10}]}},"required":["workspace_id","plan","allowance","period_start","period_end","limit","reserved","consumed","remaining","costs"]}}}}